/* 1. Global Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #FDF7E4;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #3E2723;
}


.main, .footer {
    width: 80%;
    margin: 0 auto 15px auto;  
    border-radius: 12px;
    overflow: hidden;
    
}

.header {
    height: 400px;
    width: 80%;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.header img {
    height: 100%;
    width: 100%;
}

/* 4. Navigation */
#nav {
    width: 80%;
    margin: 20px auto;
    height: 65px;
    background: #A79277;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

#nav a {
    font-size: 16px;
    color: #3E2723;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

/* underline hover animation */
#nav a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: white;
    position: absolute;
    left: 0;
    bottom: -4px;
    transition: 0.3s;
}

#nav a:hover {
    color: white;
}

#nav a:hover::after {
    width: 100%;
}
/* 5. Main / Iframe Styling */
.main {
    height: 800px;
    background-color: #FFFFFF;
}

/* 6. Home Page Styling (Inside Iframe) */
.home {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Use min-height so the page grows if you add more cards */
    min-height: 100vh; 
    padding: 40px 0;
    text-align: center;
}

.home h1 { 
    font-size: 3rem; /* Reduced slightly for better proportions */
    color: #A79277; 
    margin-bottom: 20px;
}

h1 {
    text-align: center;
}
/* Container for the 6 cards */
.product {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: stretch; /* This ensures cards in the same row take equal height */
    gap: 25px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual Card */
.card {
    background: #FFFFFF;
    width: 320px;
    display: flex;
    flex-direction: column; /* Allows internal content to align */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* --- IMAGE ZOOM EFFECT --- */
.img-box {
    width: 100%;
    height: 280px;         /* Standardized height */
    overflow: hidden;
}

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

/* Zoom image on hover */
.card:hover .img-box img {
    transform: scale(1.1);
}

/* --- TEXT & BUTTONS --- */
.card-details {
    padding: 20px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-name {
    color: #3E2723;        /* Your Brown */
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-price {
    color: #A79277;        /* Your Tan */
    font-weight: bold;
    margin-bottom: 15px;
}

.buy-btn {
    background: linear-gradient(135deg, #3E2723, #5D4037); /* Your Gradient */
    color: white;
    border: none;
    padding: 10px 0;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.buy-btn:hover {
    background: #A79277;   /* Change to Tan on hover */
    transform: translateY(-2px);
}
/* Layout Container */
.about-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

/* Side-by-Side Flexbox */
.about-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* Yellow Accent Title */
.story-title {
    text-align: left;
    font-size: 22px;
    position: relative;
    padding-left: 15px;
    margin-bottom: 20px;
    color: #3E2723;
}

.story-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #603a05; /* The Yellow Bar */
}

.about-text { flex: 2; }
.about-text p { margin-bottom: 15px; line-height: 1.6; }

/* Founder Card */
.about-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-card img {
    width: 100%; /* Important: changed from 15% to fit card */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.about-card h3 { font-size: 18px; margin-bottom: 5px; }
.about-card .role { font-size: 14px; color: #666; }

/* Map and Form Sections */
.map-section, .inquiry-section { flex: 1; }

.map-wrapper {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Form Styling */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.inquiry-form input, .inquiry-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DDD;
    border-radius: 4px;
    background: #FAFAFA;
}

.inquiry-form textarea { height: 100px; resize: none; }

.send-btn {
    background: #011C11 !important; /* Match the dark green from the image */
    color: white;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.divider {
    border: 0;
    border-top: 1px solid #E0E0E0;
    margin-bottom: 40px;
}



/* 8. Footer */
.footer {
    height: 70px;
    background-color: #A79277;
    display: flex;
    align-items: center;
    justify-content: center;
}
