/* assets/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Outfit:wght@300;400;500&display=swap');

:root {
    --bg-sand: #F7F5F0;
    --sage: #AABCA6;
    --terracotta: #D99C85;
    --text-main: #4A453F;
    --text-light: #7A756F;
    --white: #FFFFFF;
    
    --radius-soft: 24px;
    --radius-blob: 40% 60% 70% 30% / 40% 50% 60% 50%;
    --radius-blob-alt: 60% 40% 30% 70% / 60% 30% 70% 40%;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-sand);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
}

h1 { font-size: clamp(3rem, 5vw, 5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); margin-bottom: 1rem; }
p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 1.5rem; }

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

/* Background Blobs */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: morph 15s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background-color: var(--sage);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background-color: var(--terracotta);
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes morph {
    0% { border-radius: var(--radius-blob); transform: translate(0, 0) scale(1); }
    100% { border-radius: var(--radius-blob-alt); transform: translate(5%, 5%) scale(1.1); }
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 10rem 0;
    position: relative;
}

.section-sm {
    padding: 6rem 0;
}

/* Header */
.site-header {
    padding: 2rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(247, 245, 240, 0.7);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--terracotta);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
}

.hero-content {
    max-width: 800px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--terracotta);
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--sage);
    z-index: -1;
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: right;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:hover {
    color: var(--white);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(217, 156, 133, 0.3);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

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

/* Cards */
.product-card, .article-card {
    display: block;
    group: item;
}

.img-wrapper {
    border-radius: var(--radius-blob);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    aspect-ratio: 4/5;
    background-color: var(--white);
    transition: var(--transition);
    animation: morph 20s ease-in-out infinite alternate;
}

.article-card .img-wrapper {
    aspect-ratio: 16/9;
}

.product-card:nth-child(even) .img-wrapper {
    animation-delay: -3s;
    animation-direction: alternate-reverse;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .img-wrapper img,
.article-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.product-card:hover .img-wrapper,
.article-card:hover .img-wrapper {
    border-radius: var(--radius-blob-alt);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--terracotta);
    margin-top: 0.5rem;
}

.date {
    font-size: 0.9rem;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-lg { margin-bottom: 4rem; }
.mb-md { margin-bottom: 2rem; }
.text-lg { font-size: 1.5rem; }

/* Content Pages */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 10rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.site-footer {
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid rgba(74, 69, 63, 0.1);
    padding-top: 3rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    font-size: 1.1rem;
}

.footer-nav a:hover {
    color: var(--terracotta);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 3rem; }
    .header-inner { flex-direction: column; gap: 1rem; }
    .footer-inner { flex-direction: column; gap: 2rem; text-align: left; }
    .text-right { text-align: left; }
    .section { padding: 6rem 0; }
}