:root {
    --bg-color: #0b1120;
    --bg-secondary: #1a202c;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    /* Lighter for better contrast */
    --accent-color: #D4AF37;
    /* Metallic Gold */
    --accent-hover: #AA8C2C;
    --glass-bg: rgba(22, 30, 46, 0.6);
    /* Slightly more opaque for readability */
    --glass-border: rgba(212, 175, 55, 0.2);
    /* Gold tint on border */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language Switcher Desktop */
.lang-switch {
    display: flex;
    gap: 5px;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
    margin-left: 10px;
}

.lang-switch a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.lang-switch a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu .mobile-link {
    font-size: 2rem;
    margin: 20px 0;
    font-family: var(--font-heading);
}

.mobile-lang {
    margin-top: 30px;
    font-size: 1.2rem;
    color: white;
}

.mobile-lang a {
    margin: 0 10px;
    color: var(--text-secondary);
}

.mobile-lang a.active {
    color: var(--accent-color);
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lighter gradient to let more image show through */
    background: linear-gradient(to bottom, rgba(11, 17, 32, 0.0), rgba(11, 17, 32, 0.6));
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-content p {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.6s;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #0f172a;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-left: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
}

.section-header p {
    color: var(--text-secondary);
}

/* Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Services */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
}

/* Philosophy */
.dark-section {
    background-color: #0b1120;
    /* Slightly darker */
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.philosophy-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check-icon {
    color: var(--accent-color);
    min-width: 24px;
    margin-top: 4px;
}

.philosophy-text h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.philosophy-text p {
    color: var(--text-secondary);
}

/* Team */
.team-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-image {
    flex: 1 1 300px;
}

.team-image img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-info {
    flex: 2 1 300px;
}

.team-info h3 {
    font-size: 2rem;
    color: var(--accent-color);
}

.team-info .role {
    display: block;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.team-info p {
    margin-bottom: 15px;
    color: #cbd5e1;
}

.signature {
    font-family: var(--font-heading);
    color: var(--accent-color) !important;
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 20px;
}

/* Contact */
/* Contact */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-info {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--accent-color);
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.download-item {
    margin-top: 20px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 6px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: #0f172a;
}

.contact-extra {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.membership-badge {
    margin-top: 20px;
    max-width: 600px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

/* Footer */
footer {
    background-color: #020617;
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-extra {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--glass-border);
        padding-top: 30px;
        width: 100%;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        /* Stack buttons on small screens if needed, or keeping inline-block but wrapping */
    }

    .hero-buttons .btn {
        margin: 10px;
    }
}

/* Christmas Gift Overlay */
#gift-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
}

.gift-part {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: #8e0000;
    /* Deep Christmas Red */
    background-image: radial-gradient(circle at center, #a30000 0%, #7a0000 100%);
    z-index: 2;
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gift-top {
    top: 0;
    transform-origin: top;
    border-bottom: 2px solid #5a0000;
}

.gift-bottom {
    bottom: 0;
    transform-origin: bottom;
}

/* Ribbon */
.gift-ribbon-vertical {
    position: absolute;
    width: 60px;
    height: 100%;
    background: #D4AF37;
    /* Gold */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
}

.gift-ribbon-horizontal {
    position: absolute;
    height: 60px;
    width: 100%;
    background: #D4AF37;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
    top: 100%;
    /* Position at bottom of top part */
    transform: translateY(-50%);
}

.gift-bottom .gift-ribbon-horizontal {
    top: 0;
    /* Position at top of bottom part */
}

/* Bow / Tag */
.gift-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    background: #fff;
    padding: 20px 40px;
    border-radius: 8px;
    border: 4px solid #D4AF37;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease;
}

.gift-tag h2 {
    color: #8e0000;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0;
}

.gift-tag p {
    color: #555;
    font-size: 0.9rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Open Specifics */
#gift-overlay.open .gift-top {
    transform: translateY(-100%);
}

#gift-overlay.open .gift-bottom {
    transform: translateY(100%);
}

#gift-overlay.open .gift-tag {
    opacity: 0;
    pointer-events: none;
}

/* Hide when done */
#gift-overlay.hidden {
    display: none;
}