@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-navy: #0a1628;
    --secondary-navy: #162033;
    --accent-gold: #c9a962;
    --accent-gold-light: #e0c685;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-soft: #f8f9fb;
    --glass-bg: rgba(10, 22, 40, 0.85);
    --glass-border: rgba(201, 169, 98, 0.15);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 25px 60px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--primary-navy);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== CURSOR GLOW EFFECT ===== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 6%;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.9rem 6%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-white);
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    position: relative;
    padding: 8px 0;
    opacity: 0.85;
    transition: var(--transition);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--text-white);
}

/* Nav CTA Button */
.nav-cta {
    position: absolute;
    right: 0;
    padding: 12px 28px !important;
    font-size: 0.8rem !important;
}

.nav-links {
    padding-right: 180px;
}

/* Primary CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-navy) !important;
    padding: 18px 42px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(201, 169, 98, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.4);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: blur(1px);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 98, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, transparent, var(--primary-navy));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 6%;
}

/* Hero Logo - Large Centered */
.hero-logo {
    width: 280px;
    max-width: 60%;
    height: auto;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: fadeUpScale 1.2s ease forwards 0.1s;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
}

@keyframes fadeUpScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards 0.4s;
}

.hero-content h1 span {
    display: block;
    color: var(--accent-gold);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.6s;
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.8s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: fadeUp 1s ease forwards 1s;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

/* ===== SECTIONS ===== */
section {
    padding: 120px 6%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    position: relative;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.5;
}

.section-label::before {
    right: calc(100% + 15px);
}

.section-label::after {
    left: calc(100% + 15px);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--primary-navy);
    line-height: 1.2;
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-content {
    max-width: 520px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.about-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.credentials {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.credential-item {
    text-align: center;
}

.credential-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
}

.credential-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    position: relative;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--accent-gold);
    opacity: 0.3;
    z-index: 0;
}

.about-visual img {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    box-shadow: var(--shadow-elevated);
}

/* ===== SERVICES ===== */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: var(--shadow-elevated);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.1), rgba(201, 169, 98, 0.05));
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--primary-navy);
    color: var(--text-white);
}

.contact .section-header h2 {
    color: var(--text-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 10px;
    color: var(--accent-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-text {
    padding-top: 5px;
}

.contact-item-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.contact-item-text p {
    color: var(--text-white);
    font-size: 1rem;
}

.contact-cta {
    margin-top: 2.5rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    height: 100%;
    min-height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(50%) contrast(1.1);
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* ===== FOOTER ===== */
footer {
    background: #070d17;
    color: var(--text-white);
    padding: 60px 6% 30px;
    text-align: center;
    border-top: 1px solid rgba(201, 169, 98, 0.1);
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: #475569;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        max-width: 100%;
        text-align: center;
    }

    .credentials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .nav-container {
        justify-content: flex-end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary-navy);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 3rem;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 3px;
        opacity: 1;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hero Mobile */
    .hero {
        min-height: 100svh;
        padding-top: 80px;
    }

    .hero-logo {
        width: 260px;
        max-width: 65%;
        margin-bottom: 1.5rem;
        margin-top: -40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        line-height: 1.8;
    }

    .hero-cta .btn-primary {
        padding: 16px 36px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 25px;
    }

    /* Sections Mobile */
    section {
        padding: 70px 5%;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .section-label::before,
    .section-label::after {
        width: 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* About Mobile */
    .about-grid {
        gap: 2.5rem;
    }

    .about-content h3 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    .about-visual::before {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }

    .credentials {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .credential-item .number {
        font-size: 2rem;
    }

    .credential-item .label {
        font-size: 0.7rem;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Contact Mobile */
    .contact-grid {
        gap: 2.5rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-cta {
        text-align: center;
    }

    .contact-cta .btn-primary {
        width: 100%;
    }

    .map-container {
        min-height: 280px;
        border-radius: 8px;
    }

    /* Footer Mobile */
    footer {
        padding: 50px 5% 25px;
    }

    .footer-logo {
        height: 35px;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* WhatsApp Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ===== LOADING ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--primary-navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(201, 169, 98, 0.2);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== MOBILE BOTTOM NAVIGATION (PWA) ===== */
.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--primary-navy);
        border-top: 1px solid var(--glass-border);
        padding: 8px 0;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        justify-content: space-around;
        align-items: center;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--text-muted);
        text-decoration: none;
        padding: 8px 0;
        border-radius: 12px;
        transition: var(--transition);
        flex: 1;
    }

    .mobile-nav-item i {
        font-size: 1.2rem;
    }

    .mobile-nav-item span {
        font-size: 0.65rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: var(--text-white);
    }

    .mobile-nav-item.active i {
        color: var(--accent-gold);
    }

    /* WhatsApp CTA in center */
    .mobile-nav-cta {
        background: linear-gradient(135deg, #25D366, #128C7E);
        color: white !important;
        border-radius: 50%;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        flex: 0 0 56px !important;
        margin-top: -30px;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-nav-cta i {
        font-size: 1.5rem;
        margin: 0;
    }

    .mobile-nav-cta span {
        display: none;
    }

    /* Adjust footer padding for bottom nav */
    footer {
        padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    }

    /* Hide header menu toggle when bottom nav is active */
    .menu-toggle {
        display: none !important;
    }

    /* Also hide the top nav-links completely on mobile */
    .nav-links {
        display: none !important;
    }

    /* Hide old WhatsApp float */
    .whatsapp-float {
        display: none;
    }
}