@import "tailwindcss";

@theme {
    --color-primary-brand: #C5A059;
    --color-primary-dark: #9E7B3B;
    --color-primary-light: #F4E8C1;
    --color-secondary-brand: #0F172A;
    --color-bg-dark-slate: #1E293B;
    --color-bg-light-gray: #F8FAFC;
    --font-optima: 'Optima', Optima, Segoe, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

/* 2. DESIGN SYSTEM VARIABLES */
:root {
    --primary-color: #C5A059 !important;
    --primary-dark: #9E7B3B !important;
    --primary-light: #F4E8C1 !important;
    --secondary-color: #0F172A !important;
    --bg-dark-slate: #1E293B !important;
    --bg-light-gray: #F8FAFC !important;
    --text-primary: #0F172A !important;
    --text-secondary: #475569 !important;
    --text-muted: #64748B !important;
    --button-color: #C5A059 !important;
    --button-hover-color: #A68038 !important;
    --button-text-color: #FFFFFF !important;
    
    /* Luxury Depth & Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(197, 160, 89, 0.25);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 14px 40px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 45px rgba(197, 160, 89, 0.18);
    --shadow-gold: 0 10px 25px rgba(197, 160, 89, 0.35);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

@layer base {
    html {
        scroll-behavior: smooth;
    }
    body {
        font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        color: #0F172A !important;
        background-color: #FFFFFF !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    h1, h2, h3, h4, h5, h6,
    .section-title,
    .modal-title,
    .project-details h1 {
        font-family: 'Optima', Optima, Segoe, 'Segoe UI', Candara, sans-serif !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em !important;
    }
}

@layer components {
    /* Section Titles with Gold Accent Line */
    .section-title, section h1, section h2 {
        position: relative;
        padding-bottom: 12px;
        margin-bottom: 24px;
    }

    .section-title::after,
    #overview h1::after,
    #pricing h2::after,
    #floor-plan h2::after,
    #amenities h2::after,
    #gallery h2::after,
    #connectivity h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 65px;
        height: 3px;
        background: linear-gradient(90deg, #C5A059 0%, #D4AF37 50%, rgba(197, 160, 89, 0) 100%);
        border-radius: 3px;
    }

    .text-center.section-title::after,
    .text-center h1::after,
    .text-center h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Navbar */
    .navbar {
        background: rgba(255, 255, 255, 0.94) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(197, 160, 89, 0.18) !important;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05) !important;
        padding: 10px 0 !important;
        transition: all 0.3s ease-in-out;
    }

    .navbar-brand img {
        transition: transform 0.3s ease;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    }

    .navbar-brand:hover img {
        transform: scale(1.05);
    }

    .navbar-nav .nav-link {
        font-family: 'Plus Jakarta Sans', sans-serif !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #1E293B !important;
        padding: 8px 14px !important;
        margin: 0 2px;
        border-radius: 8px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-align: center !important;
    }

    /* Project Details & Banner Gray Patch */
    .project-details {
        background: #FFFFFF !important;
        border-radius: 16px !important;
        border: 1px solid rgba(197, 160, 89, 0.2) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
        overflow: hidden !important;
        margin-top: 15px !important;
        padding: 16px !important;
    }

    .project-details h1 {
        font-size: 22px !important;
        color: #0F172A !important;
        margin-top: 8px;
        margin-bottom: 4px;
    }

    .banner-gray-patch {
        background: rgba(248, 250, 252, 0.85) !important;
        border: 1px solid rgba(197, 160, 89, 0.2) !important;
        border-left: 4px solid #C5A059 !important;
        border-radius: 14px !important;
        padding: 14px 16px !important;
        margin: 14px 0 !important;
    }

    .banner-gray-patch ul li {
        font-size: 13px !important;
        color: #334155 !important;
        padding: 4px 0 !important;
    }

    .banner-gray-patch ul li strong {
        color: #0F172A !important;
        font-weight: 700 !important;
    }

    .price-text {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #0F172A !important;
    }

    .price-text .color-imp {
        color: #C5A059 !important;
        font-weight: 800 !important;
    }

    .price-text .price-sub-text {
        font-family: 'Playfair Display', serif !important;
        font-size: 26px !important;
        color: #C5A059 !important;
    }

   
    /* Modal Close Button Fixed Position & Styling */
    .modal-close-btn {
        position: absolute !important;
        right: 16px !important;
        top: 14px !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 9999px !important;
        background-color: rgba(255, 255, 255, 0.15) !important;
        color: #FFFFFF !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.25s ease !important;
        cursor: pointer !important;
        z-index: 999 !important;
    }

    .modal-close-btn:hover {
        background-color: #C5A059 !important;
        color: #FFFFFF !important;
        border-color: #C5A059 !important;
        transform: scale(1.08) !important;
    }

    /* Cards & Containers */
    .pricing-card, .plan-card, .card, .highlightData, .overview-data {
        border: 1px solid rgba(226, 232, 240, 0.8) !important;
        border-radius: 14px !important;
        background: #FFFFFF !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden;
    }

    .pricing-card:hover, .plan-card:hover, .card:hover, .highlightData:hover, .overview-data:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08) !important;
        border-color: rgba(197, 160, 89, 0.4) !important;
    }

    /* Footer Sections */
    .footer-section {
        background-color: #0F172A !important;
        color: #CBD5E1 !important;
        padding: 36px 0 24px !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
        border-top: 1px solid rgba(197, 160, 89, 0.25) !important;
    }

    .footer-section p,
    .footer-section .btm-foot,
    p.btm-foot {
        color: #CBD5E1 !important;
        font-size: 12.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 10px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .footer-section b,
    .footer-section strong,
    .btm-foot b,
    .btm-foot strong {
        color: #F8FAFC !important;
        font-weight: 700 !important;
    }

    .footer-section a,
    .btm-foot a {
        color: #C5A059 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: color 0.25s ease !important;
    }

    .footer-section a:hover,
    .btm-foot a:hover {
        color: #F4E8C1 !important;
        text-decoration: underline !important;
    }

    /* Footer Links Bar */
    #footer-links {
        background-color: #0B1120 !important;
        color: #94A3B8 !important;
        padding: 16px 0 !important;
        margin: 0 !important;
        font-size: 12.5px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #footer-links p {
        color: #94A3B8 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 12.5px !important;
    }

    #footer-links a,
    #footer-links span,
    #footer-links .on-rera {
        color: #D4AF37 !important;
        font-weight: 600 !important;
    }
}
