:root {
    --primary: #E3AF5B;
    --secondary: #151515;
    --text-light: #333333;
    --text-dark: #f5f5f5;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --card-light: #ffffff;
    --card-dark: #252525;
    --border-light: #e0e0e0;
    --border-dark: #444444;
}

.light-theme {
    --text-color: var(--text-light);
    --bg-color: var(--bg-light);
    --card-bg: var(--card-light);
    --border-color: var(--border-light);
}

.dark-theme {
    --text-color: var(--text-dark);
    --bg-color: var(--bg-dark);
    --card-bg: var(--card-dark);
    --border-color: var(--border-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: 'Work Sans', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", serif !important;
  color: var(--text-color);
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: -0.4px;
}

a {
    color: var(--primary);
    text-decoration: none;
}
.text-color {    color: var(--text-color) !important;}
.text-golden {    color: var(--primary);}
.background-color {    background-color: var(--bg-color);}
.bg-gray {    background-color: var(--card-bg);}

/* Header Styles */
header {
    background-color: var(--secondary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #E3AF5B;
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #151515;
}

.dark-theme .error-title {
    color: #f5f5f5;
}

.error-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.home-button {
    display: inline-block;
    background-color: #E3AF5B;
    color: #151515;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 40px;
}

.home-button:hover {
    background-color: #d39a45;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.theme-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.language-selector {
    position: relative;
}

.language-btn {
    background: none;
    border: 1px solid var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--secondary);
    border-radius: 4px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
    min-width: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.language-options.show {
    display: flex;
}

.language-option {
    background: none;
    border: none;
    color: white;
    text-align: left;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.language-option:hover {
    background-color: rgba(227, 175, 91, 0.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(21, 21, 21, 0.8), rgba(21, 21, 21, 0.8)), url('https://images.unsplash.com/photo-1589391886645-d51941baf7fb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80') no-repeat center center/cover;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--secondary);
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    .icon {
        width: 20px;
        
    }
} 

.btn:hover {
    color: #fff;
    background-color: #d39a45;
    transform: translateY(-2px);
    &:hover svg {
            fill: var(--text-dark);
    transition: all 0.3s;
        }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Attorneys */
.attorneys {
    background-color: var(--card-bg);
}

.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.attorney-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.attorney-image {
    height: 300px;
    overflow: hidden;
}

.attorney-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.attorney-card:hover .attorney-image img {
    transform: scale(1.1);
}

.attorney-info {
    padding: 20px;
    text-align: center;
}

.attorney-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-details i {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--primary);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--secondary);
        transition: all 0.3s;
        padding: 30px;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
}