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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #5A5A4A;
    background-color: #FAF9F6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

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

.header {
    background-color: #F5F3EF;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.nav-brand h1 {
    color: #8B7355;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #5A5A4A;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8B7355;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.3rem;
}

.nav-toggle-line {
    width: 25px;
    height: 3px;
    background-color: #8B7355;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.cart-link {
    background-color: #D4C5B0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 70vh;
    padding: 4rem 0;
    background: linear-gradient(135deg, #F5F3EF 0%, #E8E2D5 100%);
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3rem;
    color: #8B7355;
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #6B6B5D;
}

.cta-button {
    background-color: #8B7355;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #73614A;
}

.hero-image {
    flex: 1;
    height: 400px;
    position: relative;
}

.nature-pattern {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20 Q30 10 40 20 T60 20" stroke="%23A4B494" stroke-width="2" fill="none"/><path d="M10 40 Q20 30 30 40 T50 40" stroke="%23A4B494" stroke-width="2" fill="none"/><path d="M30 60 Q40 50 50 60 T70 60" stroke="%23A4B494" stroke-width="2" fill="none"/></svg>') repeat;
    opacity: 0.3;
    border-radius: 10px;
}

.brand-vision {
    padding: 4rem 0;
    background-color: #F9F7F4;
}

.brand-vision h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #8B7355;
    margin-bottom: 3rem;
    font-weight: 300;
}

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

.vision-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vision-item h4 {
    color: #8B7355;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.product-categories {
    padding: 4rem 0;
}

.product-categories h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #8B7355;
    margin-bottom: 3rem;
    font-weight: 300;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.category-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #E8E2D5;
}

.category-card h4 {
    font-size: 1.5rem;
    color: #8B7355;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    padding: 0 1rem;
    color: #6B6B5D;
    margin-bottom: 1.5rem;
}

.category-link {
    display: block;
    background-color: #D4C5B0;
    color: #5A5A4A;
    text-decoration: none;
    text-align: center;
    padding: 1rem;
    margin: 1rem;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.category-link:hover {
    background-color: #C4B5A0;
}

.search-section {
    padding: 3rem 0;
    background-color: #F5F3EF;
    border-top: 1px solid #E8E1D8;
    border-bottom: 1px solid #E8E1D8;
}

.search-bar {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.1);
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    color: #5A5A4A;
    background: transparent;
    outline: none;
}

.search-bar input::placeholder {
    color: #B5A693;
}

.search-bar button {
    background-color: #8B7355;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #7A6449;
}

.search-results {
    max-width: 800px;
    margin: 2rem auto 0;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.15);
    overflow: hidden;
}

.search-results.hidden {
    display: none;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #F5F3EF;
    border-bottom: 1px solid #E8E1D8;
}

.search-results-header h3 {
    color: #8B7355;
    font-size: 1.25rem;
    margin: 0;
}

.search-results-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8B7355;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results-content {
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #F0F0F0;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background-color: #F9F8F6;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.search-result-info h4 {
    color: #5A5A4A;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.search-result-info p {
    color: #8B7355;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.search-result-price {
    color: #8B7355;
    font-weight: bold;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #8B7355;
}

.footer {
    background-color: #8B7355;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .category-card img {
        height: 200px;
    }
    
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .search-bar {
        max-width: 500px;
    }
    
    .search-results {
        max-width: 700px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #F5F3EF;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 2rem;
        font-size: 1rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #E8E1D8;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu a:hover {
        background-color: #E8E1D8;
    }
    
    .cart-link {
        background-color: #8B7355;
        color: white !important;
        border-radius: 25px;
        margin: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-image {
        order: -1;
        height: 200px;
    }
    
    .nature-pattern {
        height: 100%;
    }
    
    .brand-vision {
        padding: 2rem 0;
    }
    
    .brand-vision h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-item {
        text-align: center;
        padding: 1.5rem;
    }
    
    .vision-item h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .product-categories {
        padding: 2rem 0;
    }
    
    .product-categories h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-card {
        margin: 0;
    }
    
    .category-card img {
        height: 250px;
    }
    
    .category-card h4 {
        font-size: 1.2rem;
        margin: 1rem 0 0.5rem;
    }
    
    .category-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .category-link {
        margin: 1rem 0 0;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .search-section {
        padding: 2rem 0;
    }
    
    .search-bar {
        margin: 0 1rem;
        max-width: none;
        border-radius: 25px;
    }
    
    .search-bar input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-bar input::placeholder {
        font-size: 0.9rem;
    }
    
    .search-bar button {
        padding: 0.8rem 1rem;
    }
    
    .search-bar button svg {
        width: 18px;
        height: 18px;
    }
    
    .search-results {
        margin: 1.5rem 1rem 0;
        border-radius: 10px;
    }
    
    .search-results-header {
        padding: 1rem;
    }
    
    .search-results-header h3 {
        font-size: 1.1rem;
    }
    
    .search-results-content {
        padding: 0.5rem;
        max-height: 300px;
    }
    
    .search-result-item {
        flex-direction: row;
        align-items: center;
        padding: 0.8rem;
        text-align: left;
    }
    
    .search-result-image {
        width: 50px;
        height: 50px;
        margin: 0 0.8rem 0 0;
        flex-shrink: 0;
    }
    
    .search-result-info h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .search-result-info p {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .no-results {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .nav-menu {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.4rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-image {
        height: 150px;
    }
    
    .brand-vision h3,
    .product-categories h3 {
        font-size: 1.3rem;
    }
    
    .vision-item {
        padding: 1rem;
    }
    
    .vision-item h4 {
        font-size: 1rem;
    }
    
    .category-card img {
        height: 200px;
    }
    
    .category-card h4 {
        font-size: 1.1rem;
    }
    
    .search-bar {
        margin: 0 0.5rem;
        border-radius: 20px;
    }
    
    .search-bar input {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .search-bar button {
        padding: 0.7rem 0.8rem;
    }
    
    .search-bar button svg {
        width: 16px;
        height: 16px;
    }
    
    .search-results {
        margin: 1rem 0.5rem 0;
    }
    
    .search-results-header {
        padding: 0.8rem;
    }
    
    .search-results-header h3 {
        font-size: 1rem;
    }
    
    .search-result-item {
        padding: 0.6rem;
    }
    
    .search-result-image {
        width: 45px;
        height: 45px;
        margin-right: 0.6rem;
    }
    
    .search-result-info h4 {
        font-size: 0.85rem;
    }
    
    .search-result-info p {
        font-size: 0.75rem;
    }
}