:root {
    --terracotta: #C86446;
    --charcoal: #2B2B2B;
    --cream: #FDFBF7;
    --gold: #D4AF37;
    
    --font-heading: 'Martel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-heading);
}

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

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--cream);
    font-weight: 700;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--charcoal);
}

h2.section-title.light-text {
    color: var(--cream);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
    color: rgba(253, 251, 247, 0.8);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
}

.navbar.scrolled .logo, .navbar.scrolled .nav-links a {
    color: var(--charcoal);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--cream);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--cream);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span {
    background-color: var(--charcoal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background-color: #a84b30;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 100, 70, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--terracotta);
    color: var(--terracotta);
}

.btn-outline:hover {
    background-color: var(--terracotta);
    color: var(--cream);
}

/* Hero Section (Parallax) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: translateZ(-1px) scale(1);
    will-change: transform;
}

.hero-bg {
    background-image: linear-gradient(rgba(43, 43, 43, 0.7), rgba(43, 43, 43, 0.5)), url('hero-bg.png');
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Story Section */
.story-section {
    padding: 8rem 0;
    background-color: var(--cream);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.story-quote blockquote {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--terracotta);
    line-height: 1.3;
    border-left: 4px solid var(--gold);
    padding-left: 2rem;
    font-style: italic;
}

/* Collection Section */
.collection-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--charcoal);
}

.stone-bg {
    /* Subtle stone texture overlay or simply dark bg with noise */
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.3;
}

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

.product-card {
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.product-image-container {
    width: 100%;
    height: 350px;
    background-color: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.2rem;
    color: var(--charcoal);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.add-to-cart {
    width: 100%;
}

/* Impact Section */
.impact-section {
    padding: 8rem 0;
    background-color: #f7f2e8; /* slightly darker cream */
    text-align: center;
}

.impact-content {
    max-width: 800px;
    margin: 0 auto;
}

.impact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem;
}

.impact-icon svg {
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

.impact-content h3 {
    font-size: 1.8rem;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.impact-content p {
    font-size: 1.15rem;
    color: #555;
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: var(--cream);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.tagline {
    font-style: italic;
    color: rgba(253, 251, 247, 0.7);
}

.footer-info {
    text-align: right;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: rgba(253, 251, 247, 0.8);
}

.social-links {
    margin: 1.5rem 0;
}

.social-link {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--gold);
}

.badges .badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 30px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(253, 251, 247, 0.1);
    font-size: 0.9rem;
    color: rgba(253, 251, 247, 0.5);
}

/* Animations & Fade-ins */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .story-quote blockquote {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--cream);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--cream);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }
}
