﻿:root {
    --primary: #f97316;
    --primary-hover: #ea580c;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background-color: var(--dark); color: var(--light); line-height: 1.6; overflow-x: hidden; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 span, h2 span { color: var(--primary); }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.btn-primary { background-color: var(--primary); color: #fff; box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 15px 30px rgba(249, 115, 22, 0.4); }
.btn-outline { background-color: transparent; border-color: var(--light); color: var(--light); }
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-block { display: block; width: 100%; }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: var(--transition); }
.header.scrolled { background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 15px 0; border-bottom: 1px solid var(--glass-border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: 1px; }
.logo span { color: var(--primary); }
.nav { display: flex; gap: 32px; }
.nav-link { font-weight: 500; font-size: 1.05rem; position: relative; transition: var(--transition); }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--primary); transition: var(--transition); }
.nav-link:hover::after { width: 100%; }
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.menu-toggle span { width: 30px; height: 3px; background-color: var(--light); transition: var(--transition); border-radius: 3px; }

.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; padding-top: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('assets/hero_painting_interior_1773479680060.png') no-repeat center center/cover; z-index: -2; }
.hero-bg::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 100%); z-index: -1; }
.hero-content { max-width: 650px; }
.badge { display: inline-block; padding: 6px 16px; background: rgba(249, 115, 22, 0.2); border: 1px solid rgba(249, 115, 22, 0.5); color: var(--primary); border-radius: 30px; font-size: 0.9rem; font-weight: 600; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.hero h1 { font-size: 4rem; margin-bottom: 24px; }
.hero p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; }

section { padding: 100px 0; }
@media (max-width: 768px) {
    section { padding: 60px 0; }
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 30px; }
.service-card { background: var(--dark-lighter); border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-border); transition: var(--transition); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); border-color: rgba(249, 115, 22, 0.3); }
.service-img { height: 240px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-content { padding: 30px; }
.service-content h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-content p { color: var(--text-muted); }

.about { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 100%); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-content > p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }
.features-list { list-style: none; }
.features-list li { display: flex; gap: 16px; margin-bottom: 24px; }
.feature-icon { width: 32px; height: 32px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; flex-shrink: 0; }
.feature-text h4 { font-size: 1.2rem; margin-bottom: 6px; }
.feature-text p { color: var(--text-muted); font-size: 0.95rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); padding: 30px; border-radius: 20px; text-align: center; backdrop-filter: blur(10px); }
.stat-card h3 { font-size: 3rem; color: var(--primary); margin-bottom: 8px; }
.stat-card p { font-weight: 500; }

.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-info > p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }
.contact-methods { display: flex; flex-direction: column; gap: 24px; }
.method { display: flex; align-items: center; gap: 16px; }
.method-icon { width: 50px; height: 50px; background: var(--dark-lighter); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 1px solid var(--glass-border); }
.method p { font-size: 1.1rem; font-weight: 500; }
.contact-form { background: var(--dark-lighter); padding: 40px; border-radius: 20px; border: 1px solid var(--glass-border); }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 16px 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 10px; color: var(--light); font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: rgba(255, 255, 255, 0.08); }
.form-terms { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; text-align: center; }

.footer { background: #0b1120; padding: 80px 0 30px; border-top: 1px solid var(--glass-border); }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col .logo { margin-bottom: 20px; }
.footer-col p { color: var(--text-muted); max-width: 300px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 24px; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 12px; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); transform: translateX(5px); }
.footer-bottom { text-align: center; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-container, .contact-container { grid-template-columns: 1fr; }
    .about-stats { order: -1; }
}

@media (max-width: 768px) {
    .header .btn-primary { display: none; }
    .header .nav { 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        border-top: 1px solid var(--glass-border);
        border-bottom: 1px solid var(--glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out, opacity 0.4s ease-in-out;
        opacity: 0;
        pointer-events: none;
    }
    .header .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        pointer-events: all;
    }
    .menu-toggle { display: flex; z-index: 1001; position: relative; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .hero h1 { font-size: 2.5rem; }
    .footer-container { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { text-align: center; width: 100%; }
}

/* Principles Cards Stack */
.principles { background-color: var(--dark); overflow: visible; padding-bottom: 250px; }
.section-header { position: relative; z-index: 5; }
.cards-stack { position: relative; max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; margin-top: 50px; }
.stack-card {
    background-color: #121212;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 60px 40px;
    display: flex;
    gap: 40px;
    position: sticky;
    top: 120px;
    transform-origin: center top;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.8);
    transition: transform 0.1s linear, filter 0.1s linear;
}
.stack-card:nth-child(1) { top: 120px; z-index: 10; }
.stack-card:nth-child(2) { top: 140px; z-index: 11; background-color: #151515; }
.stack-card:nth-child(3) { top: 160px; z-index: 12; background-color: #181818; }
.stack-card:nth-child(4) { top: 180px; z-index: 13; background-color: #1b1b1b; }
.card-number { font-size: 3.5rem; font-weight: 800; color: #fff; width: 60px; flex-shrink: 0; line-height: 1.1; letter-spacing: -1px; }
.card-content h3 { font-size: 2rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); }
.card-content p { color: #888; font-size: 1.1rem; line-height: 1.6; font-weight: 400; }

@media (max-width: 768px) {
    .stack-card { flex-direction: column; gap: 20px; padding: 30px; top: 90px; }
    .card-number { font-size: 2.5rem; width: auto; }
    .card-content h3 { font-size: 1.5rem; }
}

/* Portfolio Slider */
.portfolio { background: linear-gradient(180deg, var(--dark-lighter) 0%, var(--dark) 100%); }
.comparison-slider { position: relative; width: 100%; max-width: 900px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); aspect-ratio: 16/9; }
.comparison-images { position: relative; width: 100%; height: 100%; }
.comparison-images img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-before-wrapper { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; border-right: 2px solid #fff; pointer-events: none; }
.comparison-images img.img-before { width: 900px; max-width: none; }

.slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; transform: translateX(-50%); pointer-events: none; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.slider-handle::after { content: ''; position: absolute; width: 40px; height: 40px; background: var(--primary); border: 3px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.slider-arrow { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; position: absolute; z-index: 11; }
.slider-arrow.left { border-right: 8px solid #fff; left: -12px; }
.slider-arrow.right { border-left: 8px solid #fff; right: -12px; }

.slider-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; z-index: 20; cursor: ew-resize; margin: 0; }
.slider-labels span { position: absolute; top: 20px; padding: 8px 18px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); color: #fff; border-radius: 20px; font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; z-index: 5; pointer-events: none; }
.label-before { left: 20px; }
.label-after { right: 20px; }

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}
.floating-wa-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    color: white;
}
@media (max-width: 768px) {
    .floating-wa-btn { bottom: 20px; left: 20px; padding: 12px 24px; font-size: 0.85rem; }
    .comparison-images img.img-before { width: 100%; max-width: none; }
}

/* Button Animation Styles */
.contact-form button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-height: 56px; 
}

.loading-btn {
    background-color: rgba(255, 107, 0, 0.1) !important;
    border-color: var(--primary) !important;
    color: transparent !important;
    pointer-events: none;
    cursor: wait;
}

.loading-btn::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 107, 0, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

.success-btn {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3) !important;
    color: white !important;
}

.error-btn {
    background-color: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.checkmark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: white;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #10b981;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: white;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 30px #10b981; }
}
