/* CSS Variables */
:root {
    --color-primary: #8B4513;
    --color-primary-light: #A0522D;
    --color-accent: #D2691E;
    --color-text: #2C1810;
    --color-text-light: #6B5D54;
    --color-bg: #FAF8F5;
    --color-white: #FFFFFF;
    --color-success: #228B22;
    --gradient-primary: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    --gradient-text: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    --font-heading: 'Crimson Text', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.12);
    --shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    background: var(--color-bg);
    position: relative;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 20%;
    z-index: 0;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.15);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg,
            rgba(44, 24, 16, 0.6) 0%,
            rgba(139, 69, 19, 0.4) 40%,
            rgba(210, 105, 30, 0.3) 70%,
            transparent 100%),
        linear-gradient(to bottom,
            transparent 0%,
            transparent 40%,
            rgba(44, 24, 16, 0.3) 70%,
            rgba(44, 24, 16, 0.7) 100%);
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

/* Logo Wrapper */
.logo-wrapper {
    margin-bottom: 3rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.2);
}

.logo-image {
    filter: drop-shadow(0 2px 4px rgba(139, 69, 19, 0.2));
    border-radius: 8px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin: 0;
}

/* Hero Text */
.hero-text {
    color: white;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-small {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.title-large {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 1rem 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(44, 24, 16, 0.8),
        0 8px 32px rgba(44, 24, 16, 0.6);
}

.accent {
    color: #FFD700;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(44, 24, 16, 0.8);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(44, 24, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.3);
}

/* Main Content */
.main-content {
    background: 
        radial-gradient(circle at 20% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(210, 105, 30, 0.06) 0%,
            rgba(139, 69, 19, 0.04) 30%,
            var(--color-bg) 60%,
            var(--color-bg) 100%);
    position: relative;
    z-index: 2;
    margin-top: -80px;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    box-shadow: 0 -20px 60px rgba(44, 24, 16, 0.1);
    padding-top: 120px;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem;
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease 0.5s both;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(44, 24, 16, 0.18);
    background: rgba(255, 255, 255, 1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: sepia(0.3);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2rem;
    box-shadow: 0 6px 25px rgba(44, 24, 16, 0.25);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.5); }
}

/* Promise Section */
.promise-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(210, 105, 30, 0.03) 100%);
    border-radius: 30px;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease 0.7s both;
}

.promise-section h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.promise-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease 0.9s both;
}

.contact-section h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
}

.contact-item svg {
    color: var(--color-primary);
}

.contact-item a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
    animation: fadeIn 0.8s ease 1.4s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 69, 19, 0.08);
    border-radius: 50%;
    color: var(--color-primary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-text p {
    margin-bottom: 0.5rem;
}

.contact a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact a:hover {
    text-decoration: underline;
}

.address {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 400;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-background {
        bottom: 25%;
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .logo {
        padding: 0.75rem 1.5rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .title-large {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
        padding: 1.25rem 1.5rem;
    }
    
    .main-content {
        margin-top: -80px;
        clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
        padding-top: 100px;
    }
    
    .container {
        padding: 1.5rem 1.5rem 1.5rem;
    }
    
    .features-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 55vh;
        min-height: 450px;
    }
    
    .hero-background {
        bottom: 30%;
        clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .title-small {
        font-size: 0.875rem;
    }
    
    .title-large {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .main-content {
        margin-top: -60px;
        clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
        padding-top: 80px;
    }
    
    .container {
        padding: 1rem 1rem 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .promise-section {
        padding: 2rem 1.5rem;
    }
    
    .promise-section h3 {
        font-size: 1.5rem;
    }
    
    .promise-section p {
        font-size: 1rem;
    }
}