/* --- VARIABLES & RESET --- */
:root {
    --primary: #23344D; /* Deep Navy */
    --secondary: #365B8C; /* Royal Blue */
    --accent: #D97958; /* Terracotta */
    --highlight: #D8A94E; /* Golden Mustard */
    --bg-light: #FAF8F3; /* Warm Ivory */
    --bg-secondary: #EFE9DF; /* Soft Sand */
    --white: #FFFFFF;
    --text-main: #252A32; /* Charcoal */
    --text-muted: #77736F; /* Warm Gray */
    --border: #E7DED2; /* Soft Beige */
    --dark-bg: #17263A; /* Midnight Navy */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --shadow: 0 10px 30px rgba(35, 52, 77, 0.08);
    --transition: all 0.3s ease;
}

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

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--dark-bg); color: var(--white); }
.bg-navy { background-color: var(--primary); color: var(--white); }
.text-white { color: var(--white); }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(217, 121, 88, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 121, 88, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.full-width { width: 100%; }
.mt-2 { margin-top: 1rem; }

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50% 0 50% 50%;
    transform: rotate(-45deg);
}

.highlight { color: var(--accent); }

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

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, var(--bg-secondary), var(--bg-light));
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(54, 91, 140, 0.1);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* CSS Art Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    width: 100%;
}

.paint-swatch {
    position: absolute;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.swatch-1 {
    width: 200px;
    height: 280px;
    background: var(--primary);
    top: 20px;
    left: 50px;
    z-index: 1;
}

.swatch-2 {
    width: 180px;
    height: 240px;
    background: var(--accent);
    top: 60px;
    left: 180px;
    z-index: 2;
    opacity: 0.9;
}

.swatch-3 {
    width: 150px;
    height: 150px;
    background: var(--highlight);
    bottom: 40px;
    right: 80px;
    z-index: 3;
    border-radius: 50%;
}

.architectural-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--secondary);
    top: 50px;
    right: 20px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* --- SERVICES --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-list li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.feature-list li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
}

/* --- COLOR STUDIO --- */
.color-studio {
    background: var(--white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.color-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.swatch-card {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.navy { background: var(--primary); }
.terracotta { background: var(--accent); }
.ivory { background: var(--bg-secondary); color: var(--text-main); }
.gold { background: var(--highlight); }

/* --- PROCESS TIMELINE --- */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.2);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 4px solid var(--dark-bg);
}

.step-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* --- PROJECT SHOWCASE (CSS ONLY) --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    height: 250px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.abstract-1 {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.abstract-2 {
    background: linear-gradient(135deg, var(--bg-secondary), var(--white));
    border: 1px solid var(--border);
}

.abstract-3 {
    background: radial-gradient(circle, var(--accent), var(--highlight));
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(35, 52, 77, 0.9);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.project-card:hover .overlay {
    transform: translateY(0);
}

/* --- ARTICLE STYLES --- */
.article-container {
    max-width: 800px;
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.article-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-main);
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.faq-preview {
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--accent);
    margin: 30px 0;
}

/* --- STATS & TESTIMONIALS --- */
.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 5px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
}

/* --- FAQ ACCORDION --- */
.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
}

.accordion-header.active::after {
    content: '-';
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-body p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

/* --- CONTACT --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info h2 { margin-bottom: 20px; }
.info-item { margin-bottom: 20px; }
.info-item strong { display: block; color: var(--primary); margin-bottom: 5px; }
.contact-link { color: var(--accent); font-weight: 700; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}

/* --- FOOTER --- */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); }
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-grid, .split-layout, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-visual { display: none; }
    
    .timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .timeline::before {
        width: 2px;
        height: 100%;
        left: 25px;
        top: 0;
    }
    
    .timeline-item {
        text-align: left;
        padding-left: 70px;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .project-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 50px;
        transition: 0.3s;
    }
    
    .nav-links.active { right: 0; }
    
    .hamburger { display: block; }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
}