@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --font-sans: 'Poppins', sans-serif;
    --font-serif: 'PT Serif', serif;
    --c-dark-green: #386641;
    --c-green: #6A994E;
    --c-light-green: #A7C957;
    --c-red: #BC4749;
    --c-light-beige: #F2E8CF;
    --c-text: #2c3e50;
}

body {
    font-family: var(--font-serif);
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-light-beige);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(242, 232, 207, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(56, 102, 65, 0.1);
    z-index: 1000;
    padding: clamp(0.8rem, 2vw, 1.2rem) 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 0.8rem);
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateY(-1px);
}

.nav-brand .logo {
    height: clamp(35px, 4vw, 45px);
    width: auto;
    filter: none;
    transition: filter 0.3s ease;
}

.nav-brand .brand-name {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--c-dark-green);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-menu a {
    text-decoration: none;
    color: var(--c-dark-green);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu a:hover {
    color: var(--c-dark-green);
}

.nav-menu a:hover::before {
    transform: scaleX(1);
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--c-dark-green);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -30px;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/img/placeholder_intro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 102, 65, 0.6), rgba(188, 71, 73, 0.4));
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--c-light-beige);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(242, 232, 207, 0.9);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(2rem, 4vw, 2.5rem);
    background: var(--c-red);
    color: var(--c-light-beige);
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.1rem);
    letter-spacing: 0.02em;
    box-shadow: 0 10px 30px rgba(188, 71, 73, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(242, 232, 207, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(188, 71, 73, 0.3);
    background: #A03438;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 15px rgba(188, 71, 73, 0.2);
}

.product-showcase {
    position: relative;
    text-align: center;
}

.main-product-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* About Owner Section */
.about-owner {
    padding: clamp(60px, 8vw, 120px) 0;
    background: var(--c-light-beige);
    position: relative;
    overflow: hidden;
}


.about-content {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 2fr;
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.owner-photo {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 4px solid var(--c-green);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s ease;
}

.owner-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

.owner-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--c-dark-green);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.owner-intro {
    font-size: 1.2rem;
    color: var(--c-text);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.owner-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--c-text);
    margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.8;
    font-weight: 400;
}

.owner-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(56, 102, 65, 0.1);
}

.owner-signature p {
    font-style: italic;
    color: var(--c-red);
    font-weight: 500;
}

/* Products Section */
.products {
    padding: clamp(60px, 8vw, 120px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #F2E8CF 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--c-dark-green);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-header p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--c-text);
    line-height: 1.6;
    font-weight: 400;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.product-card {
    background: #fff;
    border: 1px solid rgba(56, 102, 65, 0.1);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(56, 102, 65, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(167, 201, 87, 0.2), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    transform-origin: center;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(56, 102, 65, 0.15);
    border-color: rgba(56, 102, 65, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    border: none;
    margin-bottom: 1.5rem;
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

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

.product-card-content {
    flex-grow: 1;
}

.product-card h3 {
    font-size: 1.4rem;
    color: var(--c-dark-green);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.product-card p {
    color: var(--c-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 50px;
}

.nutrition-table {
    width: 100%;
    margin-top: 1.5rem;
    border-collapse: collapse;
    font-family: var(--font-sans);
}

.nutrition-table td {
    padding: 0.5rem 0.2rem;
    border-bottom: 1px solid rgba(56, 102, 65, 0.1);
    font-size: 0.9rem;
    color: var(--c-text);
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}

.nutrition-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--c-dark-green);
}

/* Order Buttons */
.order-buttons {
    display: flex;
    margin-top: 1.5rem;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(56, 102, 65, 0.15);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.order-btn {
    flex: 1;
    padding: 0.8rem 0.5rem;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
}

.order-btn.wolt {
    background-color: #009DE0; /* Wolt Blue */
}

.order-btn.liferando {
    background-color: #FF8000; /* Liferando Orange */
}

.order-btn:hover {
    transform: scale(1.05);
    z-index: 2;
    filter: brightness(1.1);
}

.order-btn:first-child {
    border-right: 1px solid rgba(255,255,255,0.2);
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.product-features span {
    background: var(--c-light-beige);
    color: var(--c-dark-green);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

/* Instagram Section */
.instagram-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--c-green);
    color: var(--c-light-beige);
    text-align: center;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2.5rem;
    background: var(--c-red);
    color: var(--c-light-beige);
    text-decoration: none;
    border-radius: 50px;
    border: none;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.2rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.instagram-button:hover {
    background: #A03438;
    border-color: transparent;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.instagram-icon {
    fill: var(--c-light-beige);
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.instagram-button:hover .instagram-icon {
    transform: rotate(-15deg) scale(1.1);
}

/* Footer */
.footer {
    background: var(--c-dark-green);
    color: var(--c-light-beige);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1) opacity(0.8);
}

.footer-brand p {
    color: rgba(242, 232, 207, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    color: var(--c-light-beige);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.footer-column a {
    color: rgba(242, 232, 207, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-family: var(--font-sans);
    font-weight: 500;
}

.footer-column a:hover {
    color: var(--c-light-beige);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(242, 232, 207, 0.1);
}

.footer-bottom p {
    color: rgba(242, 232, 207, 0.5);
    font-size: 0.8rem;
    font-family: var(--font-sans);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(56, 102, 65, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-menu.mobile-open {
        transform: translateX(0);
    }

    .nav-menu a {
        color: var(--c-light-beige);
        text-decoration: none;
        font-size: 2rem;
        font-family: var(--font-sans);
        font-weight: 600;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
    }

    .nav-menu a:hover,
    .nav-menu a:focus {
        background: rgba(242, 232, 207, 0.1);
        transform: scale(1.05);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
    
    .nav-brand .logo {
        height: 35px;
    }
    
    .nav-brand .brand-name {
        font-size: 1.2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
        padding-top: 80px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .owner-image {
        margin: 0 auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-owner,
    .products,
    .instagram-section {
        padding: 60px 0;
    }
    
    .instagram-handle {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Placeholder for images */
.main-product-image,
.owner-photo,
.product-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
}

.main-product-image::after,
.owner-photo::after,
.product-image::after {
    content: "Image Placeholder";
    font-size: 1rem;
}