@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500&family=La+Belle+Aurore&display=swap');

:root {
    --color-soil: #3d2b1f;
    --color-leaf: #3a4d39;
    --color-leaf-light: #4f6f52;
    --color-sage: #a3b18a;
    --color-terracotta: #c07d5b;
    --color-sand: #e8dcc4;
    --color-cream: #f9f7f2;
    --color-white: #ffffff;

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    --font-hand: 'La Belle Aurore', cursive;

    --transition-soft: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-soft: 0 20px 50px rgba(61, 43, 31, 0.1);
}

/* Custom Selection */
::selection {
    background: var(--color-sage);
    color: var(--color-white);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c07d5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.5 1.5'/%3E%3Cpath d='M7.5 1.5L2 2'/%3E%3C/svg%3E"), auto;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-soil);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-soft);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url("https://www.transparenttextures.com/patterns/cream-paper.png"),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 100;
}

/* Navigation */
nav {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(249, 247, 242, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(61, 43, 31, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-leaf);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--color-terracotta);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-terracotta);
    transition: var(--transition-soft);
}

.nav-icons a {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-sand);
    padding-top: 80px;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--color-sage);
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
    border-radius: 50%;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 55%;
    padding-right: 5rem;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--color-leaf);
    opacity: 0;
    transform: translateY(30px);
    line-height: 1.1;
    letter-spacing: -1px;
    z-index: 5;
    position: relative;
}

.hero h1 span {
    display: block;
    color: var(--color-terracotta);
    font-size: 0.3em;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: var(--font-sans);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.handwritten-note {
    font-family: var(--font-hand);
    color: var(--color-terracotta);
    font-size: 1.8rem;
    position: absolute;
    top: -10px;
    right: 15%;
    transform: rotate(-10deg);
    white-space: nowrap;
    opacity: 0;
    filter: blur(5px);
}

.hero-content::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 0;
    width: 2px;
    height: 0%;
    background: var(--color-terracotta);
    opacity: 0.3;
    transition: height 2s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero.active .hero-content::before {
    height: 100%;
}

.hero p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 3.5rem;
    color: var(--color-soil);
    opacity: 0;
    transform: translateY(30px);
    font-weight: 300;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--color-terracotta);
    color: var(--color-white);
    border-radius: 65% 35% 72% 28% / 30% 65% 35% 70%;
    /* Very organic blob-like shape */
    font-weight: 500;
    transition: var(--transition-soft);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-sans);
    box-shadow: 0 10px 20px rgba(192, 125, 91, 0.2);
}

.btn:hover {
    transform: scale(1.05) rotate(1.5deg);
    background: var(--color-leaf);
    border-color: var(--color-leaf-light);
    box-shadow: 0 20px 40px rgba(58, 77, 57, 0.25);
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-cream);
    pointer-events: none;
}

.section-divider i {
    font-size: 2rem;
    color: var(--color-terracotta);
    opacity: 0.3;
    position: relative;
}

.section-divider i::before,
.section-divider i::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 1px;
    background: var(--color-terracotta);
    opacity: 0.2;
}

.section-divider i::before {
    right: 100%;
    margin-right: 2rem;
}

.section-divider i::after {
    left: 100%;
    margin-left: 2rem;
}

/* Categories Section */
.section {
    padding: 8rem 0;
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--color-leaf);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--color-terracotta);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.4rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 450px;
    border-radius: 60% 40% 70% 30% / 30% 50% 50% 70%;
    /* Wobbly organic shape */
    overflow: hidden;
    cursor: pointer;
    background: var(--color-sand);
    border: 8px solid var(--color-white);
    box-shadow: var(--shadow-soft);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-soft);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(61, 43, 31, 0.7));
    color: var(--color-white);
}

.category-overlay h3 {
    font-size: 1.8rem;
}

/* Featured Products */
.products-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.product-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-soft);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(61, 43, 31, 0.1);
}

.product-image {
    width: 100%;
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-leaf);
}

.product-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-terracotta);
}

.view-btn {
    padding: 0.8rem 1.5rem;
    background: var(--color-sand);
    color: var(--color-soil);
    border-radius: 15px 30px 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-btn:hover {
    background: var(--color-sage);
    color: var(--color-white);
}

/* About Section */
.about {
    background: var(--color-leaf);
    color: var(--color-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text {
    flex: 2;
}

.about-text h2 {
    color: var(--color-sand);
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.about-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-image {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.signature {
    font-family: var(--font-hand);
    color: var(--color-terracotta);
    font-size: 2.8rem;
    margin-top: 2rem;
    display: block;
    transform: rotate(-5deg);
}

.about-image img {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    box-shadow: 30px 30px 0 rgba(232, 220, 196, 0.1);
    transition: var(--transition-soft);
}

.about-image:hover img {
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 40px 15px 40px 15px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.review-card p {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.review-author {
    font-weight: 500;
    color: var(--color-terracotta);
}

/* Contact Section */
.contact-container {
    display: flex;
    background: var(--color-white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.contact-info {
    flex: 1;
    padding: 4rem;
    background: var(--color-sand);
}

.contact-form {
    flex: 1.5;
    padding: 4rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 10px;
    font-family: inherit;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-terracotta);
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background: var(--color-sand);
    border-top: 1px solid rgba(61, 43, 31, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-story h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-leaf);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--color-leaf);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(61, 43, 31, 0.1);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Random Leaf Accents */
.leaf-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    filter: sepia(1) saturate(0.5);
}

.leaf-1 {
    top: 15%;
    left: 8%;
    animation: float 6s infinite ease-in-out;
}

.leaf-2 {
    bottom: 15%;
    right: 42%;
    animation: float 8s infinite ease-in-out reverse;
}

.leaf-3 {
    top: 35%;
    right: 8%;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(10px, -15px) rotate(5deg);
    }

    66% {
        transform: translate(-5px, 10px) rotate(-3deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    color: var(--color-leaf);
    font-family: var(--font-serif);
    font-style: italic;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--color-leaf);
    transform-origin: top;
    animation: scrollLine 2s infinite alternate ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0.3);
    }

    100% {
        transform: scaleY(1);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        width: 100%;
        padding: 2rem;
        background: rgba(232, 220, 196, 0.9);
    }

    .categories-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    .categories-grid,
    .reviews-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }
}

/* Cart Drawer Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 43, 31, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-soft);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: var(--color-cream);
    z-index: 2001;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -15px 0 50px rgba(61, 43, 31, 0.15);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(61, 43, 31, 0.1);
}

.cart-header h3 {
    font-size: 2rem;
    color: var(--color-leaf);
    font-family: var(--font-serif);
}

#close-cart {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-soil);
    transition: var(--transition-soft);
}

#close-cart:hover {
    color: var(--color-terracotta);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
    padding-right: 1rem;
}

.cart-items::-webkit-scrollbar {
    width: 4px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--color-sand);
    border-radius: 10px;
}

.empty-cart-msg {
    text-align: center;
    padding: 5rem 0;
    color: #888;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(61, 43, 31, 0.05);
}

.cart-item-info h4 {
    font-size: 1.1rem;
    color: var(--color-leaf);
    margin-bottom: 0.3rem;
}

.cart-item-info span {
    color: var(--color-terracotta);
    font-weight: 500;
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.remove-item {
    background: var(--color-sand);
    border: none;
    color: var(--color-soil);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-soft);
}

.remove-item:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.cart-footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(61, 43, 31, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-leaf);
    font-family: var(--font-serif);
}

.checkout-btn {
    width: 100%;
    padding: 1.4rem;
    font-size: 1.1rem;
}

@media (max-width: 500px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
        padding: 2rem;
    }
}