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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #3c2f26;
    overflow-x: hidden;
    background: #f6f0e8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #4f3b2c;
    font-weight: 700;
}

/* Header Styles */
.header {
    position: relative;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/header_background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 20px;
}

.nav-logo h1 {
    font-size: 1.5rem;
    color: #4f3b2c;
    font-weight: 700;
}

.inline-hero-buttons {
    padding: 10px 0;
    margin: 0;
}

.inline-hero-buttons .hero-buttons-inner {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.cta-button.text-button {
    background: none;
    color: #4f3b2c;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: none;
    border: 1px solid #4f3b2c;
    font-size: 0.95rem;
}

.cta-button.text-button:hover {
    background: #f1e6d9;
    color: #4f3b2c;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #4f3b2c;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: start;
    align-items: center;
    transition: left 0.3s ease;
    padding-top: 2rem;
}

.nav-menu.active {
    left: 0;
}

.nav-link {
    display: block;
    padding: 1rem 2rem;
    color: #4f3b2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6b513c;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem 20px;
}

.hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: #d8c5a2;
    color: #3b2c1e;
    padding: 14px 26px;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(105, 85, 55, 0.25);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 24px auto 0;
}

.hero-buttons-inner {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    max-width: 100%;
    flex-wrap: wrap;
}

.stacked-buttons .hero-buttons-inner {
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 640px) {
    .hero-buttons {
        margin: 20px auto;
    }
    .hero-buttons-inner {
        flex-direction: column;
        gap: 12px;
    }
}

.hero-buttons .cta-button {
    display: inline-block;
    width: auto;
    margin: 0 auto;
}

.cta-button:hover {
    background: #c7b08a;
    color: #2d2217;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(105, 85, 55, 0.25);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f4ed;
}

.about-content {
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4d4035;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #4f3b2c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: #4d4035;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #f6f0e8;
}

.product-group {
    margin-top: 3rem;
}

.product-group-title {
    font-size: 2rem;
    color: #4f3b2c;
    margin-bottom: 1.75rem;
    letter-spacing: 0.5px;
    text-align: left;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-top: 1rem;
}

.product-card {
    background: linear-gradient(145deg, #fffefb, #f3eadf);
    border: 1px solid #e4d6c7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.product-image {
    height: 220px;
    background-color: #f1e6d9;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 8px;
    border-bottom: 1px solid #e4d6c7;
}

.product-content {
    padding: 1.1rem 1.25rem 1.25rem;
}

.product-content h3 {
    color: #4f3b2c;
    font-size: 1.2rem;
    line-height: 1.4;
}

.price-note {
    margin: 0 0 2.5rem;
    color: #6b513c;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.3px;
}

.price {
    font-weight: 600;
    color: #6b513c;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    space-y: 1rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item strong {
    color: #2c5530;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item span {
    color: #666;
}

.social-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    align-items: flex-start;
}

.facebook-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 18px;
    background: #1877f2;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 50%;
    max-width: 240px;
    justify-content: center;
}

.facebook-cta img {
    height: 28px;
    width: 28px;
}

.facebook-cta:hover {
    background: #0f5dc6;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 93, 198, 0.28);
}

.messenger-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 18px;
    background: #b497d6;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(180, 151, 214, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 50%;
    max-width: 240px;
    justify-content: center;
}

.messenger-cta img {
    height: 28px;
    width: 28px;
}

.messenger-cta:hover {
    background: #9a7cc2;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(154, 124, 194, 0.32);
}


.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group select {
    background-color: #fff;
    cursor: pointer;
}

.form-note {
    margin: 0 0 0.75rem;
    color: #666;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a7c59;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #4f3b2c;
}

.checkbox-grid input[type="checkbox"] {
    accent-color: #4a7c59;
    width: 18px;
    height: 18px;
}

.checkbox-section {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fdfaf6;
}

.checkbox-section h4 {
    margin: 0 0 0.5rem;
    color: #4f3b2c;
    font-size: 1rem;
    font-weight: 700;
}

.interest-list {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.interest-row {
    display: grid;
    grid-template-columns: 1fr 140px;
    align-items: center;
    gap: 1rem;
    padding: 10px 12px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}

.interest-row:nth-child(even) {
    background: #faf2e9;
}

.interest-row:last-child {
    border-bottom: none;
}

.interest-name {
    font-size: 0.95rem;
    color: #4f3b2c;
}

.qty-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #fff;
}

.qty-select:focus {
    outline: none;
    border-color: #4a7c59;
}

@media (max-width: 640px) {
    .interest-row {
        grid-template-columns: 1fr;
    }

    .qty-select {
        width: 100%;
    }
}

.submit-button {
    background: #4a7c59;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: #2c5530;
}

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #b8c5ba;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b8c5ba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
    color: #b8c5ba;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        height: auto;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
        padding-top: 0;
        width: auto;
    }
    
    .nav-link {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .header {
        background-size: cover;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Animation for smooth scrolling and interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 .about-features .feature,
 .product-list li {
    animation: fadeInUp 0.6s ease forwards;
}

.about-features .feature:nth-child(2) {
    animation-delay: 0.1s;
}

.about-features .feature:nth-child(3) {
    animation-delay: 0.2s;
}

.about-features .feature:nth-child(4) {
    animation-delay: 0.3s;
}

/* Loading and performance optimizations */
.header {
    will-change: transform;
}

.nav {
    will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.cta-button:focus,
.submit-button:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-title,
    .hero-subtitle {
        text-shadow: 2px 2px 0px #000;
    }
}
