/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --color-terracotta: #C85A3C;
    --color-terracotta-dark: #A84830;
    --color-terracotta-light: #E8A88A;
    --color-sand: #F5E6D3;
    --color-sand-light: #FBF5EE;
    --color-sand-dark: #E8D5C0;
    --color-cream: #FDF8F3;
    --color-charcoal: #2C2420;
    --color-text: #3D322C;
    --color-text-light: #6B5B54;
    --color-white: #FFFFFF;
    --color-border: #E8DDD4;
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 8px 32px rgba(44, 36, 32, 0.10);
    --shadow-xl: 0 16px 48px rgba(44, 36, 32, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-charcoal);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-terracotta);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Section Headers
   ============================================ */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background: rgba(200, 90, 60, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-title--light {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.7;
}

.section-header--centered {
    text-align: center;
}

.section-header--centered .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 243, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(253, 248, 243, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.063rem;
    color: var(--color-charcoal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-terracotta);
    background: rgba(200, 90, 60, 0.06);
}

.nav-link--cta {
    background: var(--color-terracotta);
    color: var(--color-white) !important;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--color-terracotta-dark);
    color: var(--color-white) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-charcoal);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-terracotta);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.82) 0%,
        rgba(200, 90, 60, 0.65) 50%,
        rgba(44, 36, 32, 0.78) 100%
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 36, 32, 0.3) 0%,
        transparent 40%,
        transparent 60%,
        rgba(44, 36, 32, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    color: var(--color-white);
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-title-accent {
    color: var(--color-terracotta-light);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.188rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.03em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Products
   ============================================ */
.products {
    padding: 100px 0;
    background: var(--color-cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 100px;
}

.product-info {
    padding: 28px;
}

.product-name {
    font-size: 1.375rem;
    margin-bottom: 10px;
    color: var(--color-charcoal);
}

.product-desc {
    font-size: 0.938rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 18px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-text);
}

.product-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-terracotta);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--color-sand-light);
}

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

.about-images {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-sand-light);
}

.about-image-secondary img {
    width: 220px;
    height: 160px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 4px;
}

.about-exp-text {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
}

.about-content {
    padding: 16px 0;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.about-value {
    display: flex;
    gap: 16px;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    background: rgba(200, 90, 60, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-value-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 4px;
}

.about-value-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   Why Us
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.feature-card {
    padding: 32px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--color-terracotta-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(200, 90, 60, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-title {
    font-family: var(--font-body);
    font-size: 1.063rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 0.938rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    padding: 88px 0;
    background: linear-gradient(135deg, var(--color-charcoal) 0%, #4A3530 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 90, 60, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--color-sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(200, 90, 60, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.938rem;
    color: var(--color-white);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--color-white);
}

.contact-detail a:hover {
    color: var(--color-terracotta-light);
}

.contact-map {
    overflow: hidden;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.contact-form-title {
    font-size: 1.375rem;
    color: var(--color-charcoal);
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--color-text);
    background: var(--color-cream);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-terracotta);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(200, 90, 60, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-light);
    opacity: 0.6;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    text-align: center;
    font-size: 0.813rem;
    color: var(--color-text-light);
    margin-top: 12px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(22, 101, 52, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success h4 {
    font-size: 1.25rem;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.938rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-white);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
    color: var(--color-terracotta-light);
}

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--color-terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Mobile Menu
   ============================================ */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 248, 243, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-link--cta {
        margin-left: 0;
        text-align: center;
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-image-secondary {
        right: 16px;
        bottom: -24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-divider {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-image-main img {
        height: 280px;
    }

    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }

    .about-experience-badge {
        top: auto;
        right: auto;
        margin-top: 16px;
        display: inline-block;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
