@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@600;700;800;900&display=swap');

:root {
    --bg-primary: #050505;
    --bg-secondary: #0f0f0f;
    --accent-gold: #d4af37;
    --accent-gold-dark: #a18324;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.15);
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Lexend', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --z-header: 1000;
    --z-modal: 2000;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Section Shared */
.section {
    padding: clamp(60px, 10vw, 100px) 5%;
}

.section-title {
    font-size: clamp(2rem, 7vw, 3rem);
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* Header Navbar */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-header);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 15px 5%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Footer structure */
.footer {
    padding: 80px 5% 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    pointer-events: none; /* Let clicks pass through to canvas if needed */
}

.hero-content > * {
    pointer-events: auto; /* Buttons still clickable */
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent-gold);
    font-style: italic;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0; left: 100%;
        width: 100%; height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    .nav-links.active {
        left: 0;
    }
    .mobile-nav-toggle {
        display: block;
        z-index: 1000;
    }
    .hero-section {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 5vh;
        background: linear-gradient(180deg, rgba(5,5,5,0.4) 0%, rgba(5,5,5,1) 90%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80') center/cover;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content p {
        text-align: center;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta a {
        width: 100%;
        text-align: center;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.service-card {
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}
.service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}
.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Process Section */
.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}
@media (max-width: 768px) {
    .process-timeline::before {
        display: none;
    }
}
.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    background: var(--bg-primary);
    transition: var(--transition-smooth);
}
.process-step:hover .step-number {
    background: var(--accent-gold);
    color: var(--bg-primary);
}
.process-step h3 {
    margin-bottom: 10px;
}
.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Portfolio Preview */
.portfolio-preview {
    background: var(--bg-secondary);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}
.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}
.portfolio-overlay span {
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.portfolio-overlay h3 {
    margin-top: 5px;
}

/* Testimonials */
.testimonials {
    text-align: center;
}
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 12px;
}
.quote-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    opacity: 0.5;
}
.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}
.testimonial-author h4 {
    color: var(--accent-gold);
}
.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-banner {
    text-align: center;
    padding: 100px 5%;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cta-banner h2 {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* WhatsApp Float & Contact Widget */
.fixed-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-modal);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.contact-card {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--accent-gold);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 250px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: var(--font-body);
}
.contact-card h4 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}
.contact-card p {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}
.fixed-contact-widget:hover .contact-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.whatsapp-float {
    width: 60px; height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(37,211,102,0.3);
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
