/* Global Styles */
:root {
    --primary-color: #8B4513; /* SaddleBrown */
    --secondary-color: #D2691E; /* Chocolate */
    --accent-color: #CD853F; /* Peru */
    --light-color: #F5DEB3; /* Wheat */
    --dark-color: #5C4033; /* Dark Brown */
    --text-color: #555;
    --white: #fff;
    --black: #222;
    --gray: #f8f9fa;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-color);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    font-style: italic;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/black-linen.png');
    opacity: 0.2;
    z-index: -1;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo .tagline {
    color: var(--light-color);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--light-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1580201092675-a0a6a6cafbb1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero h2 {
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--light-color);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--gray);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-card p {
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.product-features span {
    background: var(--light-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--dark-color);
}

.product-features i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    padding-right: 30px;
}

.about-image {
    position: relative;
    height: 400px;
}

.image-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 15px solid var(--light-color);
    background: url('https://images.unsplash.com/photo-1605000797499-95e51c0b72be') center/cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-features {
    margin-top: 20px;
    list-style: none;
}

.about-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.about-features i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--gray);
    padding: 40px;
    border-radius: 10px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--gray);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-color), var(--black));
    color: var(--white);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col h3, 
.footer-col h4 {
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-col h3::after,
.footer-col h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-logo {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 20px;
    font-family: var(--font-secondary);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.footer-col ul li a i {
    margin-right: 8px;
    font-size: 12px;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

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

.copyright p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #bbb;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-image {
        height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-item i {
        margin-bottom: 10px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
}

.popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        border: 1px solid #333;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        text-align: center;
    }
    .popup button {
        margin-top: 10px;
        padding: 5px 10px;
        background: #00796b;
        color: white;
        border: none;
        cursor: pointer;
    }
