/* 
    LUMIÈRE ÉCLAT - Premium Style System 2026
    Author: MK Web Studio
    Design: Luxury Glassmorphism / Modern Premium
*/

:root {
    /* Colors - Luxury Palette */
    --primary: #d4af37; /* Metallic Gold */
    --primary-light: #f1d279;
    --primary-dark: #aa8c2c;
    --secondary: #1a1a1a;
    --accent: #e5c08d;
    
    /* Dark Mode (Default) */
    --bg-color: #0a0a0a;
    --surface-color: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --card-bg: rgba(20, 20, 20, 0.8);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* Light Mode Overrides */
body.light-mode {
    --bg-color: #f8f9fa;
    --surface-color: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --card-bg: rgba(255, 255, 255, 0.9);
    --shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor used */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; border: none; background: none; cursor: none; }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { padding: 100px 0; }
.center { text-align: center; }

/* --- Custom Cursor --- */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
}

/* --- Loading Screen --- */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 20px;
}

.loader-logo span { color: var(--text-main); }

.loader-bar-container {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--primary);
    animation: loading 2.5s cubic-bezier(0.1, 0, 0.2, 1) forwards;
}

@keyframes loading {
    to { width: 100%; }
}

/* --- Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo .accent { color: var(--primary); }

.nav-menu { display: flex; gap: 2.5rem; }

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    position: relative;
}

.nav-link:hover, .nav-link.active { opacity: 1; color: var(--primary); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }

/* Theme Toggle */
.icon-btn { color: var(--text-main); font-size: 1.2rem; }
.sun-icon { display: none; }
body.light-mode .sun-icon { display: block; }
body.light-mode .moon-icon { display: none; }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floating 10s infinite alternate;
}

.sphere-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    right: -10%;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: 0%;
    left: -5%;
}

@keyframes floating {
    from { transform: translate(0, 0); }
    to { transform: translate(30px, 50px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btns { display: flex; gap: 1.5rem; margin-bottom: 3rem; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.btn-secondary:hover { background: var(--primary); color: #000; }

.btn-primary-sm {
    background: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: #000;
    font-size: 0.85rem;
}

/* Hero Image & Floating Cards */
.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: visible;
}

.main-img {
    border-radius: 30px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float-card 4s infinite ease-in-out;
}

.card-1 { top: 10%; left: -20%; }
.card-2 { bottom: 10%; right: -10%; animation-delay: 2s; }

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* --- Trusted By Section --- */
.trusted-by {
    background: var(--surface-color);
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.brand-slider { overflow: hidden; white-space: nowrap; }

.brand-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}

.brand-item {
    padding: 0 4rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.4;
    transition: 0.3s;
}

.brand-item:hover { opacity: 1; color: var(--primary); }

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- Common Components --- */
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* --- Glass Cards & Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-img {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img { transform: scale(1.1); }

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.service-card:hover .service-overlay { opacity: 1; }

.service-info { padding: 2rem; }
.service-info h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 1rem; }
.service-info p { color: var(--text-muted); margin-bottom: 1.5rem; }
.price-start { color: var(--primary); font-weight: 700; font-size: 1.1rem; }

/* --- Stats Section --- */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 80px 0;
    background: var(--surface-color);
    border-radius: 40px;
    margin-bottom: 50px;
}

.stat-card { text-align: center; }
.stat-card h3 { font-family: var(--font-heading); font-size: 4rem; color: var(--primary); margin-bottom: 0.5rem; }
.stat-card p { font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }

/* --- Accordion (FAQ & Why Choose) --- */
.faq-accordion, .accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item, .faq-item {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header, .faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.accordion-content, .faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content, .faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 300px;
}

.accordion-item.active, .faq-item.active {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

/* --- Portfolio --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }

.portfolio-item.tall { grid-row: span 2; }
.portfolio-item.wide { grid-column: span 2; }

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info { transform: translateY(0); opacity: 1; }

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.price-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    background: rgba(212, 175, 55, 0.03);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-card h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 1.5rem; }
.price-card .price { font-size: 3.5rem; font-weight: 800; color: var(--primary); margin-bottom: 2rem; }
.price-card .price span { font-size: 1rem; color: var(--text-muted); }

.price-card ul { margin-bottom: 2.5rem; text-align: left; }
.price-card ul li { margin-bottom: 1rem; color: var(--text-muted); }
.price-card ul li::before { content: '✦'; color: var(--primary); margin-right: 10px; }

/* --- Contact Section --- */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border-radius: 40px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
}

.contact-info {
    padding: 4rem;
    background: rgba(212, 175, 55, 0.05);
}

.info-items { margin: 3rem 0; }
.info-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.info-item .icon { font-size: 1.5rem; }

.contact-form-wrapper { padding: 4rem; }

.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

input, textarea, select {
    width: 100%;
    padding: 1.2rem;
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: rgba(255,255,255,0.05);
}

/* --- Floating Elements --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.call-btn { background: var(--primary); color: #000; }
.whatsapp-btn { background: #25d366; color: #fff; }
.top-btn { 
    background: var(--surface-color); 
    backdrop-filter: blur(10px); 
    border: 1px solid var(--glass-border);
    visibility: hidden;
    opacity: 0;
}

.top-btn.show { visibility: visible; opacity: 1; }

.float-btn:hover { transform: scale(1.1) translateY(-5px); }

/* --- Footer --- */
.footer {
    background: #000;
    padding: 100px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 10px; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Scroll Progress --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    z-index: 1001;
    width: 0%;
}

/* --- Animations --- */
.reveal-up { opacity: 0; transform: translateY(50px); transition: 1s ease; }
.reveal-fade { opacity: 0; transition: 1.5s ease; }
.reveal-zoom { opacity: 0; transform: scale(0.9); transition: 1s ease; }
.reveal-slide-left { opacity: 0; transform: translateX(-50px); transition: 1s ease; }
.reveal-slide-right { opacity: 0; transform: translateX(50px); transition: 1s ease; }

.active-reveal { opacity: 1; transform: translate(0) scale(1); }

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .hero-title { font-size: 4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-image { order: -1; }
    .card-1 { left: 0; }
    .contact-box { grid-template-columns: 1fr; }
    .stats-container { grid-template-columns: 1fr 1fr; }
    .nav-menu { display: none; } /* Mobile menu implementation in JS */
}

@media (max-width: 768px) {
    .section-title { font-size: 2.5rem; }
    .hero-title { font-size: 3rem; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}