/* 
    Theme: Modern Industrial Atelier 
    Colors: Burgundy Wine (#542B38), Muted Berry (#873F4C), Burnished Copper (#BD7958), 
            Sandstone Beige (#D4B69A), Warm Cream (#F5F0E9), Concrete Grey (#34383C)
*/

:root {
    --primary: #542B38; /* Burgundy Wine */
    --secondary: #873F4C; /* Muted Berry */
    --accent: #BD7958; /* Burnished Copper */
    --highlight: #D4B69A; /* Sandstone Beige */
    --bg-light: #F5F0E9; /* Warm Cream */
    --bg-secondary: #E7E3DE; /* Light Concrete */
    --text-dark: #34383C; /* Deep Charcoal */
    --text-muted: #77736F; /* Stone Gray */
    --white: #FFFFFF;
    --dark-bg: #222629; /* Industrial Charcoal */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    
    --shadow: 0 10px 30px rgba(84, 43, 56, 0.08);
    --transition: all 0.3s ease;
}

* {
    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-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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 {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #a66545;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

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

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

.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);
}

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

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

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

.nav-links a:not(.btn):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 {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--highlight);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(189, 121, 88, 0.15);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.trust-indicators {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(52, 56, 60, 0.1);
    padding-top: 30px;
}

.trust-item strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
}

.trust-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.service-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(189, 121, 88, 0.2);
}

.service-card:hover::before {
    height: 100%;
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

/* Architectural Feature */
.arch-feature {
    background: var(--bg-secondary);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.visual-content {
    flex: 1;
    height: 400px;
    position: relative;
}

/* CSS Only Building Art */
.css-building-art {
    width: 100%;
    height: 100%;
    position: relative;
}

.block {
    position: absolute;
    background: var(--primary);
    opacity: 0.9;
}

.block-1 {
    width: 60%;
    height: 80%;
    bottom: 0;
    left: 10%;
    background: linear-gradient(to top, var(--primary), var(--secondary));
}

.block-2 {
    width: 30%;
    height: 50%;
    bottom: 0;
    right: 10%;
    background: var(--accent);
}

.block-3 {
    width: 20%;
    height: 30%;
    top: 20%;
    left: 20%;
    background: var(--highlight);
    opacity: 0.5;
}

.line {
    position: absolute;
    background: var(--white);
    opacity: 0.3;
}

.line-1 {
    width: 2px;
    height: 100%;
    left: 50%;
}

.line-2 {
    width: 100%;
    height: 2px;
    top: 50%;
}

/* Process Timeline */
.process {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--highlight);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-light);
    border: 4px solid var(--accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.content {
    padding: 20px 30px;
    background: var(--bg-light);
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Article Section */
.main-article {
    background: var(--bg-light);
}

.article-container {
    max-width: 900px;
    background: var(--white);
    padding: 60px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--bg-secondary);
    padding-bottom: 20px;
}

.article-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.meta-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary);
}

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

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

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

.article-content a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.faq-container {
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--accent);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Trust Section */
.trust-section {
    background: var(--primary);
    color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-card h3 {
    color: var(--highlight);
    margin-bottom: 15px;
}

.trust-card p {
    color: rgba(255,255,255,0.8);
}

/* Contact Section */
.contact {
    background: var(--dark-bg);
    color: var(--white);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    color: var(--accent);
    margin-bottom: 5px;
}

.info-item a {
    color: var(--white);
}

.info-item a:hover {
    color: var(--accent);
}

.contact-form-container {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    color: var(--text-dark);
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
footer {
    background: #171C22;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.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:hover {
    color: var(--accent);
}

.footer-map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background: var(--bg-light);
        flex-direction: column;
        width: 100%;
        padding-top: 40px;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .split-layout {
        flex-direction: column;
    }

    .visual-content {
        height: 300px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .right {
        left: 0%;
    }

    .contact-wrapper {
        flex-direction: column;
    }
    
    .article-container {
        padding: 30px 20px;
    }
}