/* WealthKart Global - Luxury Dark Theme & Seamless Animations CSS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Syne:wght@400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-black: #0B0B0B;
    --bg-card: #111111;
    --bg-card-light: #181818;
    --accent-gold: #C8A876;
    --accent-gold-hover: #E4C193;
    --text-white: #FFFFFF;
    --text-muted: #8E8E93;
    --font-heading: 'Syne', sans-serif;
    --font-editorial: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
    --border-luxury: rgba(200, 168, 118, 0.12);
}

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

html {
    scroll-behavior: initial; /* Lenis handles smooth scroll */
    background-color: var(--bg-black);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Light Theme Variables Override */
html.light-theme, body.light-theme {
    --bg-black: #F5F5F7;
    --bg-card: #FFFFFF;
    --bg-card-light: #EBEBEF;
    --accent-gold: #A38450;
    --accent-gold-hover: #8A6E3F;
    --text-white: #0F0F11;
    --text-muted: #6E6E73;
    --border-luxury: rgba(163, 132, 80, 0.18);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.9rem;
}

body.light-theme .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: scale(1.05);
}


/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-white);
}

p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Fullscreen Section Base */
.fullscreen-sec {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 4rem;
    border-bottom: 1px solid var(--border-luxury);
}

/* Custom Header (Absolute luxury overlay) */
.lux-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(11, 11, 11, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

body.light-theme .lux-header {
    background: rgba(245, 245, 247, 0.85);
    border-bottom: 1px solid rgba(15, 15, 17, 0.08);
}

/* Header Consultation Button */
.lux-header-btn {
    padding: 0.6rem 1.6rem !important;
    font-size: 0.72rem !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
    background: transparent !important;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-header-btn:hover {
    background: #FFFFFF !important;
    color: #0B0B0B !important;
    border-color: #FFFFFF !important;
}

body.light-theme .lux-header-btn {
    border-color: rgba(15, 15, 17, 0.25) !important;
    color: #0F0F11 !important;
}

body.light-theme .lux-header-btn:hover {
    background: #0F0F11 !important;
    color: #F5F5F7 !important;
    border-color: #0F0F11 !important;
}

.lux-logo {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.lux-logo img {
    height: 140px;
    margin-top: -40px;
    margin-bottom: -40px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Light Theme Header Logo Adjustment to match dark text styling */
.light-theme .lux-header .lux-logo img {
    filter: brightness(0) saturate(100%) invert(8%) sepia(8%) saturate(718%) hue-rotate(202deg) brightness(96%) contrast(95%);
}

/* Footer Absolute Contrast Styling (keeps footer white/gold/light grey as the background is always dark) */
footer, footer h4, footer a, footer p, footer li, footer span {
    transition: color 0.3s ease;
}

footer {
    background-color: #050505 !important;
}

footer p {
    color: #8E8E93 !important;
}

footer h4 {
    color: #C8A876 !important;
}

footer a.gold-hover-line {
    color: #8E8E93 !important;
}

footer a.gold-hover-line:hover {
    color: #C8A876 !important;
}

/* Desktop Navigation */
.lux-desktop-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin-right: 1.5rem;
}

.lux-desktop-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-white);
    transition: color 0.3s ease;
    position: relative;
}

.lux-desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.lux-desktop-nav a:hover::after, .lux-desktop-nav a.active::after {
    width: 100%;
}

.lux-desktop-nav a:hover, .lux-desktop-nav a.active {
    color: var(--accent-gold);
}

@media (max-width: 899px) {
    .lux-desktop-nav {
        display: none;
    }
}

@media (min-width: 900px) {
    .lux-menu-btn {
        display: none !important;
    }
}

.lux-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.lux-menu-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-white);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s ease;
}

.lux-menu-btn span:last-child {
    width: 60%;
    align-self: flex-end;
}

.lux-menu-btn:hover span:last-child {
    width: 100%;
}

/* Hero Section */
.lux-hero {
    padding: 0;
    background: var(--bg-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lux-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.lux-hero-video-bg img,
.lux-hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transform: scale(1.1);
}

.lux-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.lux-hero h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.lux-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    color: var(--text-white);
    opacity: 0.85;
}

.lux-btn-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.lux-btn {
    padding: 1.1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0;
    border: 1px solid var(--text-white);
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-btn.gold {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-black);
}

.lux-btn:hover {
    background: var(--text-white);
    color: var(--bg-black);
    transform: translateY(-3px);
}

.lux-btn.gold:hover {
    background: transparent;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* Statement Section */
.lux-statement {
    background: var(--bg-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lux-statement-title {
    font-size: clamp(4rem, 8vw, 7.5rem);
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    font-family: var(--font-heading);
}

.lux-statement-title span {
    color: var(--accent-gold);
    font-family: var(--font-editorial);
    font-style: italic;
    text-transform: none;
}

/* Horizontal Stats Bar */
.lux-stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--bg-card);
    padding: 3rem 4rem;
    border-bottom: 1px solid var(--border-luxury);
    flex-wrap: wrap;
    gap: 2rem;
}

.lux-stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lux-stat-num {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-family: var(--font-heading);
    color: var(--accent-gold);
    line-height: 1;
}

.lux-stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Section Small */
.lux-about-sec {
    padding: 6rem 4rem;
    background: var(--bg-black);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-luxury);
}

.lux-about-sec h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.lux-about-sec p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Premium Card Grid Layouts (Services & Developers) */
.lux-section {
    padding: 8rem 4rem;
    background: var(--bg-black);
    border-bottom: 1px solid var(--border-luxury);
}

.lux-section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.lux-section-header h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
}

.lux-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.lux-card {
    background: var(--bg-card);
    border: 1px solid var(--border-luxury);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.lux-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lux-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.lux-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lux-card:hover .lux-card-image img {
    transform: scale(1.08);
}

.lux-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lux-card-tag {
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.lux-card-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.lux-card-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.lux-card-action {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.lux-card:hover .lux-card-action {
    gap: 1rem;
}

/* Contact Section */
.lux-contact-sec {
    padding: 8rem 4rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-luxury);
}

.lux-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.lux-contact-info h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.lux-contact-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.lux-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lux-contact-item {
    display: flex;
    flex-direction: column;
}

.lux-contact-label {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.lux-contact-value {
    font-size: 1.2rem;
    color: var(--text-white);
}

.lux-contact-form {
    background: var(--bg-black);
    padding: 3rem;
    border: 1px solid var(--border-luxury);
}


/* Featured Projects Section */
.lux-featured-section {
    padding: 8rem 4rem;
    background: var(--bg-black);
}

.lux-featured-header {
    margin-bottom: 5rem;
}

.lux-featured-header h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
}

.lux-projects-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
}

.lux-project-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lux-project-block.offset {
    margin-top: 8rem;
}

.lux-project-image {
    width: 100%;
    height: 65vh;
    overflow: hidden;
    position: relative;
}

.lux-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-project-block:hover .lux-project-image img {
    transform: scale(1.04);
}

.lux-project-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lux-project-info h3 {
    font-size: 2rem;
    text-transform: uppercase;
}

.lux-project-info p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Testimonials Minimal */
.lux-testimonials {
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 6rem;
}

.lux-test-wrap {
    max-width: 900px;
    text-align: center;
}

.lux-test-quote {
    font-family: var(--font-editorial);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-style: italic;
    line-height: 1.4;
    color: var(--text-white);
    margin-bottom: 3rem;
}

.lux-test-author {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
}

/* Final CTA Section */
.lux-final-cta {
    background: var(--bg-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.lux-final-cta h2 {
    font-size: clamp(3rem, 6vw, 6.2rem);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 3rem;
}

/* Magazine Gallery Section for Subpages */
.lux-gallery-section {
    padding: 8rem 4rem;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 6rem;
    align-items: center;
    min-height: 90vh;
    border-bottom: 1px solid var(--border-luxury);
}

.lux-gallery-image {
    width: 100%;
    height: 75vh;
    overflow: hidden;
    position: relative;
}

.lux-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-gallery-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lux-gallery-details h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.lux-gallery-details p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Luxury Hover Effects */
.gold-hover-line {
    position: relative;
    padding-bottom: 4px;
}

.gold-hover-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.4s ease;
}

.gold-hover-line:hover::after {
    width: 100%;
}

/* Overlay Navigation Panel (Full screen) */
.lux-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-black);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.lux-overlay-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.lux-overlay-nav {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lux-overlay-nav a {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.lux-overlay-nav a:hover,
.lux-overlay-nav a.active {
    color: var(--accent-gold);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .lux-split-sec,
    .lux-gallery-section,
    .lux-projects-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .lux-split-image,
    .lux-gallery-image {
        height: 50vh;
    }
    .lux-project-block.offset {
        margin-top: 0;
    }
    .lux-service-panel {
        grid-template-columns: 0.5fr 1fr 1fr;
    }
    .lux-service-img-preview {
        display: none;
    }
    .lux-dev-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1.2fr;
    }
    .lux-dev-image-wrap {
        height: 40vh;
    }
    .lux-dev-info {
        padding: 3rem;
    }
    .lux-header {
        padding: 1.5rem 2rem;
    }
    .fullscreen-sec {
        padding: 4rem 2rem;
    }
}

/* Light Theme Consultation Modal Overrides */
body.light-theme .modal-overlay {
    background: rgba(245, 245, 247, 0.95) !important;
}

body.light-theme .modal-content {
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 15, 17, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .modal-close {
    color: #0F0F11 !important;
}

body.light-theme .modal-close:hover {
    color: var(--accent-gold) !important;
}

body.light-theme .modal-content h3 {
    color: #0F0F11 !important;
}

body.light-theme .modal-content p {
    color: #6E6E73 !important;
}

body.light-theme .form-field input,
body.light-theme .form-field select,
body.light-theme .form-field textarea {
    color: #0F0F11 !important;
    border-bottom: 1px solid rgba(15, 15, 17, 0.15) !important;
}

body.light-theme .form-field select option {
    background: #FFFFFF !important;
    color: #0F0F11 !important;
}

body.light-theme .form-field label {
    color: #6E6E73 !important;
}

body.light-theme .form-field input:focus ~ label,
body.light-theme .form-field input:valid ~ label,
body.light-theme .form-field textarea:focus ~ label,
body.light-theme .form-field textarea:valid ~ label,
body.light-theme .form-field select:focus ~ label,
body.light-theme .form-field select:valid ~ label {
    color: var(--accent-gold) !important;
}

/* Restored Split Layout for About Page */
.lux-split-sec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 !important;
}
.lux-split-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem;
    gap: 3rem;
}
.lux-split-image {
    width: 100%;
    height: 100%;
}
.lux-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
