/* style.css - Fresh Green Theme */
:root {
    --bg: #f1f8e9;
    --card: #ffffff;
    --primary: #2e7d32;
    --text: #1b5e20;
    --text-light: #388e3c;
    --border: #81c784;
    --accent: #c8e6c9;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    padding-top: 80px;
}

/* === STICKY HEADER === */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to right, #e8f5e9, #c8e6c9);
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* === LOGO LINK STYLE === */
.logo-link {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-link i {
    color: var(--primary);
}

.logo-link span {
    color: var(--primary);
}

/* === NAVIGATION MENU === */
nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 0.5rem;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 80%;
}

nav a:hover,
nav a.active {
    color: var(--primary);
    transform: translateY(-2px);
}

/* === LAYOUT & GRID === */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 1.5rem auto;
    justify-items: center;
}

.image-grid > div {
    position: relative;
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--card);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-grid > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === SECTIONS & STYLING === */
section {
    background: var(--card);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

h3 {
    color: var(--primary);
    margin: 1rem 0 0.5rem;
    font-size: 1.4rem;
}

img {
    border-radius: 10px;
    display: block;
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border: 2px solid var(--border);
    margin: 1rem 0;
}

.link-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
    display: inline-block;
    text-decoration: none;
    margin-top: 1rem;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.5);
    background: #1b5e20;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #e8f5e9;
    color: var(--text-light);
    margin-top: 3rem;
    width: 100%;
}

/* Home Section */
.home {
    background: linear-gradient(rgba(232, 245, 233, 0.9), rgba(232, 245, 233, 0.9)), url(flag.jpg) center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.home-content {
    max-width: 800px;
    padding: 2rem;
}

.home h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.home p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Card Styling */
.product-info {
    padding: 1.5rem;
    text-align: center;
}

.price {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 0.5rem;
}

/* Order Section */
.order-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.order-text {
    flex: 1;
    min-width: 300px;
}

.order-image {
    flex: 1;
    min-width: 300px;
}

.order-image img {
    max-width: 100%;
    border-radius: 12px;
}

.note {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-light);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    max-width: 100%;
    border-radius: 12px;
}

.signature {
    margin-top: 2rem;
    text-align: center;
}

.signature img {
    max-width: 200px;
}

.contact-info {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home h1 {
        font-size: 2.2rem;
    }
    
    .home p {
        font-size: 1rem;
    }
    
    nav {
        gap: 1rem;
    }
    
    .order-content, .about-content {
        flex-direction: column;
    }
    
    .about-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .link-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Product image container with overlay button */
.product-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view-details-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
}

.product-card:hover .view-details-btn {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.view-details-btn:hover {
    background: #1b5e20;
    transform: translateX(-50%) translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

/* Keep existing product card hover effect */
.image-grid > div:hover {
    transform: translateY(-5px);
}

/* Product detail page styles */
.product-detail {
    max-width: 1200px;
    padding: 2rem;
}

.product-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.product-image-large {
    flex: 1;
    min-width: 300px;
}

.product-image-large img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.product-description {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.description-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-features h3 {
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
}

/* Responsive adjustments for product detail */
@media (max-width: 768px) {
    .product-detail-content {
        flex-direction: column;
    }
    
    .product-image-large img {
        max-width: 100%;
    }
}