/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary: #0a192f;
    /* Deep Navy */
    --secondary: #c5a059;
    /* Gold */
    --accent: #112240;
    /* Lighter Navy */
    --text-light: #ccd6f6;
    --text-dark: #333333;
    --background: #ffffff;
    --off-white: #f4f4f4;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background: var(--primary);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.navbar--hidden {
    transform: translateY(-100%);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--secondary);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid var(--secondary);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--secondary);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--off-white);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-col {
    flex: 1 1 200px;
    max-width: 280px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Service Card */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Service Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Contact Page Specific */
.contact-grid {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 4px;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    /* Ensure vertical stacking */
    flex-direction: column;
}

.dropdown:hover .dropdown-content {
    display: flex;
    /* Using flex to ensure column direction applies */
    flex-direction: column;
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    /* Ensures links take full width */
    font-weight: 400;
    white-space: nowrap;
    /* Prevent wrapping */
}

.dropdown-content a:hover {
    background-color: var(--accent);
    color: var(--secondary);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-content {
        flex-direction: column !important;
        flex-wrap: wrap;
        gap: 1rem;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .logo {
        font-size: 1.1rem;
        line-height: 1.2;
        max-width: 100%;
        word-wrap: break-word;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }

    .nav-links {
        flex-direction: column !important;
        gap: 0.8rem;
        width: 100% !important;
        margin: 1rem 0 0 0 !important;
        align-items: center !important;
    }

    .nav-links a {
        padding: 0.5rem 0;
        font-size: 0.95rem;
        text-align: center !important;
        display: block !important;
    }

    .lang-switcher {
        justify-content: center !important;
        width: 100%;
        margin-top: 0.5rem;
    }

    .lang-dropdown-content {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .section-title {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 0;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    min-width: 140px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    overflow: visible;
    /* Changed from hidden to allow ::before to go outside */
}

/* Invisible bridge to keep hover active between button and dropdown */
.lang-dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.lang-switcher:hover .lang-dropdown-content {
    display: block;
}

.lang-option {
    display: flex !important;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem !important;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.lang-option:hover {
    background: var(--off-white);
    color: var(--primary) !important;
}

.lang-option img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* Hide Google Translate Default Elements */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
#goog-gt-tt {
    display: none !important;
}

body {
    top: 0px !important;
}