/* style.css */

:root {
    --primary-color: #1b4332; /* Deep forest green */
    --primary-light: #2d6a4f;
    --primary-dark: #0f2818;
    --accent-color: #c46c27; /* Warm terracotta - organic & unexpected */
    --secondary-accent: #b8860b; /* Earthy gold */
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --earth-brown: #5d4037;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --radius: 12px;
}

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

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Sohne:wght@400;600&display=swap');

body {
    font-family: 'Sohne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fafaf8;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(250, 250, 248, 0.98);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.08);
    backdrop-filter: blur(8px);
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(196, 108, 39, 0.2);
}

.nav-btn:hover {
    background-color: #d17a33;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 108, 39, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(196, 108, 39, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 134, 11, 0.08) 0%, transparent 50%);
    z-index: 2;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 40, 24, 0.85) 0%, rgba(27, 67, 50, 0.85) 35%, rgba(45, 106, 79, 0.8) 70%, rgba(61, 126, 95, 0.8) 100%);
    z-index: 1;
    mix-blend-mode: multiply;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 40, 24, 0.3) 0%, rgba(27, 67, 50, 0.5) 50%, rgba(15, 40, 24, 0.4) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 2rem;
    max-width: 700px;
    animation: heroFadeIn 1s ease-out 0.2s both;
}

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

.hero-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.85;
    color: var(--secondary-accent);
    font-family: 'Sohne', sans-serif;
    animation: slideIn 0.8s ease-out 0.4s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: heroFadeIn 1s ease-out 0.6s both;
    letter-spacing: -1px;
}

#hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
    animation: heroFadeIn 1s ease-out 0.8s both;
    line-height: 1.7;
}

/* The Magic Button */
.pulse-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Cormorant Garamond', serif;
    box-shadow: 0 8px 25px rgba(196, 108, 39, 0.3);
    animation: organicGrow 2.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    border: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.pulse-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.pulse-button:hover::before {
    left: 100%;
}

.pulse-button:hover {
    background-color: #d17a33;
    box-shadow: 0 12px 35px rgba(196, 108, 39, 0.45);
    transform: translateY(-2px);
}

.pulse-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(196, 108, 39, 0.3);
}

.cta-helper {
    font-size: 0.85rem;
    margin-top: 0.8rem;
    opacity: 0.85;
    font-weight: 400;
    animation: heroFadeIn 1s ease-out 1s both;
}

@keyframes organicGrow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(196, 108, 39, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(196, 108, 39, 0.4);
    }
}

/* Services */
.services {
    padding: var(--spacing-lg) 5%;
    background: linear-gradient(180deg, #fafaf8 0%, #f5f5f1 100%);
    text-align: center;
}

h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 2.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f7f3 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-left: 4px solid var(--accent-color);
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(196, 108, 39, 0.08) 0%, transparent 70%);
    transition: right 0.6s ease;
}

.service-card:hover {
    box-shadow: 0 12px 30px rgba(27, 67, 50, 0.15);
    transform: translateY(-6px);
    border-left-color: var(--secondary-accent);
}

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

.service-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.15rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.service-card-title::after {
    content: "▼";
    font-size: 0.7rem;
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: 0.8rem;
    flex-shrink: 0;
}

.service-card.expanded .service-card-title::after {
    transform: rotate(180deg);
}

.service-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 400;
    color: var(--text-dark);
    opacity: 0;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.service-card.expanded .service-description {
    max-height: 250px;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(196, 108, 39, 0.2);
    opacity: 1;
}

/* Why Us */
.features {
    padding: var(--spacing-lg) 5%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(196, 108, 39, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.features h2 {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: 2.8rem;
}

.features ul {
    list-style: none;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features li {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    animation: slideIn 0.6s ease-out both;
}

.features li:nth-child(1) { animation-delay: 0.2s; }
.features li:nth-child(2) { animation-delay: 0.3s; }
.features li:nth-child(3) { animation-delay: 0.4s; }
.features li:nth-child(4) { animation-delay: 0.5s; }

.features li::before {
    content: "◆";
    color: var(--secondary-accent);
    margin-right: 1.2rem;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Floating Action Button (FAB) */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d17a33 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 25px rgba(196, 108, 39, 0.35);
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    animation: fabPulse 3s ease-in-out infinite;
}

.fab:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(196, 108, 39, 0.45);
}

.fab:active {
    transform: scale(0.95);
}

@keyframes fabPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(196, 108, 39, 0.35);
    }
    50% {
        box-shadow: 0 12px 35px rgba(196, 108, 39, 0.5);
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    color: #a0a0a0;
    text-align: center;
    padding: 3.5rem 1rem;
    border-top: 1px solid rgba(196, 108, 39, 0.15);
}

footer h3 {
    color: var(--accent-color);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

footer p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.copyright {
    font-size: 0.8rem;
    margin-top: 2rem;
    color: #666;
    letter-spacing: 0.5px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero {
        height: 90vh;
    }

    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .pulse-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    #hero-subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .fab {
        width: 55px;
        height: 55px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }

    footer {
        padding: 2.5rem 1rem;
    }
}
