@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

:root {
    --rc-primary-bg: #F3F0E8;
    --rc-alt-bg: #DBE7D6;
    --rc-accent-light: #A8C4A1;
    --rc-green-primary: #486655;
    --rc-dark-accent: #151C16;
    --rc-text: #151C16;
    --rc-glass-bg: rgba(243, 240, 232, 0.65);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--rc-primary-bg);
    color: var(--rc-text);
    -webkit-font-smoothing: antialiased;
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
.serif-brand {
    font-family: 'Playfair Display', serif;
}

.brand-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rc-dark-accent);
}

/* Ulla Johnson Style Interactive Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    padding: 0 1.5rem;
}

/* Translucent Frosted effect on Hover or Scroll */
header:hover,
header.scrolled {
    background: rgba(243, 240, 232, 0.85);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid rgba(72, 102, 85, 0.08);
}

header.scrolled {
    height: 75px;
    /* Slimmer on scroll */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

/* Light-catching edge for the liquid effect */
header.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rc-dark-accent);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--rc-green-primary);
    transition: width 0.3s ease;
}

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

.mobile-nav-link {
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--rc-green-primary);
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--rc-green-primary);
    color: var(--rc-primary-bg);
    border: none;
}

.btn-primary:hover {
    background-color: var(--rc-dark-accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--rc-dark-accent);
    color: var(--rc-primary-bg);
    border: none;
    box-shadow: 0 4px 15px rgba(21, 28, 22, 0.2);
}

.btn-secondary:hover {
    background-color: #2a3a2e;
    color: var(--rc-primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 28, 22, 0.3);
}

.btn-whatsapp-grid {
    background-color: #128C7E;
    /* Vibrant Emerald Green for WhatsApp */
    color: white;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(18, 140, 126, 0.3);
}

.btn-whatsapp-grid:hover {
    background-color: #075E54;
    /* Darker professional green for hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 94, 84, 0.25);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(72, 102, 85, 0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(21, 28, 22, 0.08);
}

.product-card img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Sections */
.bg-alternate {
    background-color: var(--rc-alt-bg);
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

#hero-content {
    opacity: 0;
    transform: translateY(15px);
    animation: heroFadeIn 0.8s ease-out 0.2s forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Block Icons */
.icon-box {
    background: rgba(72, 102, 85, 0.1);
    padding: 12px;
    border-radius: 8px;
    color: var(--rc-green-primary);
}