/* Base Styles */
:root {
    --background: #f8f1ef;
    --text: #1a1a1a;
    --accent: #37d671;
    --whatsapp: #25D366;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: white;
    padding: 2rem;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-menu {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav a:hover {
    background: var(--background);
}

/* Hero Section */
.hero {
    position: relative;
    /* min-height: 100vh; */
    padding: 6rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero/hero-main.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
}

.handmade {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 0.5rem 0;
}

.hero p {
    color: #666;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Categories */
.categories {
    display: flex;
    gap: 1rem;
    padding: 1rem 5%;
    overflow-x: auto;
    scrollbar-width: none;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.categories::-webkit-scrollbar {
    display: none;
}

.category {
    background: var(--background);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.category.active {
    background: var(--text);
    color: white;
}

/* Products Section */
.products-section {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.product-price {
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* WhatsApp Catalog Section */
.catalog-section {
    padding: 4rem 5%;
    background: white;
}

.catalog-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--background);
    border-radius: 15px;
    text-align: center;
}

.catalog-icon {
    font-size: 3rem;
    color: var(--whatsapp);
    margin-bottom: 1.5rem;
}

.catalog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--whatsapp);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.catalog-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--whatsapp);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* About Section */
.about {
    padding: 4rem 5%;
    background: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: var(--background);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: #666;
}

/* Media Queries */
@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .floating-whatsapp span {
        display: none;
    }

    .floating-whatsapp {
        width: 3.5rem;
        height: 3.5rem;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .catalog-content {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Product Info & Buttons */
.product-info {
    padding: 1.5rem;
    background: white;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.product-price {
    color: #666;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.order-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;  /* WhatsApp green */
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.order-button:hover {
    background: #22b35a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.view-catalog {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #f5f5f5;
    color: #333;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-catalog:hover {
    background: #eeeeee;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Icon styles */
.order-button i,
.view-catalog i {
    font-size: 1.1rem;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .product-buttons {
        gap: 0.5rem;
    }

    .order-button,
    .view-catalog {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}