:root {
    /* Color Palette */
    --color-primary: #5A8CAE;
    /* Soft Sky Blue */
    --color-primary-dark: #446C89;
    --color-secondary: #CAA170;
    /* Warm Earthy Tan */
    --color-secondary-dark: #A88358;
    --color-accent: #E8F0F5;
    /* Very light blue */

    --color-text-main: #2C3539;
    --color-text-muted: #6B7280;

    --color-bg-main: #FAFAFA;
    /* Crisp off-white */
    --color-bg-alt: #F4F1E1;
    /* Soft cream/ivory */
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mt-small {
    margin-top: 1.5rem;
}

.mt-large {
    margin-top: 3rem;
}

.bg-light {
    background-color: var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(90, 140, 174, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 140, 174, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary-dark);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-text {
    color: var(--color-text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-normal);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.navbar.scrolled .nav-links a:not(.btn) {
    color: var(--color-text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    position: absolute;
    transition: var(--transition-normal);
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: var(--color-text-main);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('hero_sourdough.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hero .btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-text-main);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-with-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 1rem;
}

.link-with-arrow:hover {
    color: var(--color-primary-dark);
    transform: translateX(5px);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 4px solid var(--color-secondary);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Offerings Section */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrap {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0.8;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bg-tan {
    background-color: #F1DEC9;
}

.bg-orange {
    background-color: #FCE0C5;
}

.bg-green {
    background-color: #D1E2C4;
}

.bg-brown {
    background-color: #E6D5C3;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.product-info .price {
    color: var(--color-secondary-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.product-info .unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.product-info .desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Goats Section */
.goats-section {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.goats-section .section-title {
    color: var(--color-accent);
}

.goats-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.goats-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.goats-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.goat-circle {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: rotateSlowly 20s linear infinite;
}

@keyframes rotateSlowly {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    margin-top: 1rem;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.footer-links ul,
.footer-social ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-social a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations Tools */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp var(--transition-slow) forwards;
}

.view-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.view-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.style-delay-1 {
    transition-delay: 0.1s;
}

.style-delay-2 {
    transition-delay: 0.2s;
}

.style-delay-3 {
    transition-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {

    .about-grid,
    .goats-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-normal);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a:not(.btn) {
        color: var(--color-text-main);
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .mobile-menu-btn.active span {
        background-color: var(--color-text-main);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero {
        background-attachment: scroll;
    }
}