/* spice-tea.css - Elegant Design */

:root {
    --bg: #fffdf9;
    --ink: #2b2b2b;
    --muted: #6b6b6b;
    --cinnamon: #b86b35;
    --cinnamon-dark: #8f5227;
    --sand: #f4e7d6;
    --card: #ffffff;
    --border: #eae3da;
    --success: #2f9e44;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: var(--cinnamon-dark);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--cinnamon);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 9999;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0 20px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    font-weight: 700;
    text-decoration: none;
    color: var(--cinnamon-dark);
    letter-spacing: .3px;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
}

.nav-links a.active {
    color: var(--cinnamon);
}

/* General dropdown for desktop */
.nav-links li.dropdown {
    position: relative;
}

.nav-links li.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    /* desktop default */
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 10;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background: #f7f3f0;
}

.nav-links li.dropdown .dropdown-menu.show {
    display: block;
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        /* so it stays in the same box */
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        /* indent to show hierarchy */
        background: none;
    }

    /* Toggle dropdown via JS class */
    .dropdown-menu.show {
        display: block;
    }

    /* Optional: hide desktop hover behavior */
    /* .nav-links li.dropdown:hover .dropdown-menu {
        display: none;
    } */

    /* .nav-links li.dropdown-menu:hover .dropdown-menu.show {
        display: block;
    } */
}

/* Hamburger button for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 64px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 100%;
        padding: 10px 40px;
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}



/* Product Intro */
.product-intro {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--card) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.product-name {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--cinnamon-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Layout */
.main-content {
    padding: 3rem 0 5rem;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Product Image */
.product-image {
    margin-bottom: 2.5rem;
}

.image-frame {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.5rem;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.6s ease;
}

.image-frame:hover img {
    transform: scale(1.02);
}

/* Ingredients Section */
/* .ingredients-section {
    margin-bottom: 2.5rem;
}

.ingredients-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ingredient-item {
    display: flex;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ingredient-item:hover {
    border-color: var(--cinnamon);
    transform: translateX(5px);
}

.ingredient-item.animate-in {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ingredient-name {
    font-weight: 400;
    color: var(--ink);
}

.ingredient-amount {
    font-weight: 500;
    color: var(--cinnamon);
} */
/* Ingredients Section - Updated with larger images */
.ingredients-section {
    margin-bottom: 2.5rem;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.ingredient-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 1/1;
    /* Makes it square */
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ingredient-card:hover {
    border-color: var(--cinnamon);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(184, 107, 53, 0.1);
}

.ingredient-icon {
    width: 70px;
    /* Increased from 50px */
    height: 70px;
    /* Increased from 50px */
    margin-bottom: 1rem;
    /* Increased from 0.75rem */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ingredient-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.85) sepia(0.2);
    transition: all 0.4s ease;
}

.ingredient-card:hover .ingredient-icon img {
    transform: scale(1.15);
    filter: brightness(1) sepia(0.3);
}

.ingredient-name {
    font-weight: 500;
    color: var(--ink);
    font-size: 0.95rem;
    /* Slightly larger text */
    line-height: 1.3;
    margin-top: 0.5rem;
}

/* Optional: Add a subtle background pattern to cards */
.ingredient-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(244, 231, 214, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.ingredient-icon,
.ingredient-name {
    position: relative;
    z-index: 1;
}

/* Remove old ingredient item styles */
.ingredient-item,
.ingredients-list {
    display: none;
}

/* Story Section */
.story-section {
    margin-bottom: 3rem;
}

.story-content {
    font-size: 1.05rem;
    line-height: 1.7;
}

.story-content p {
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.story-content strong {
    color: var(--cinnamon-dark);
    font-weight: 500;
}

/* Brewing Section */
.brewing-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.brewing-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--sand);
    color: var(--cinnamon-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--cinnamon-dark);
}

.step-content p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Wholesale Section */
.wholesale-section {
    padding: 2rem;
    background-color: var(--sand);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.wholesale-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wholesale-content h3 i {
    color: var(--cinnamon);
}

.wholesale-content p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    gap: 0.75rem;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--cinnamon);
    color: white;
}

.btn-primary:hover {
    background-color: var(--cinnamon-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--cinnamon);
    border-color: var(--cinnamon);
}

.btn-outline:hover {
    background-color: var(--cinnamon);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--card);
    color: var(--cinnamon);
    border: 1px solid var(--border);
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: var(--cinnamon);
    color: white;
    border-color: var(--cinnamon);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .product-name {
        font-size: 2.5rem;
    }

    .product-subtitle {
        font-size: 1.1rem;
    }

    .main-content {
        padding: 2rem 0 3rem;
    }

    .brewing-section,
    .wholesale-section {
        padding: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .product-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}


/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: #fff;
    margin-top: 40px;
    font-size: 0.95rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
    gap: 40px;
    padding: 28px 20px;
    max-width: 1200px;
    margin: auto;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    text-decoration: none;
    color: var(--ink);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cinnamon);
}

.footer__meta p {
    margin: .2rem 0;
    color: var(--muted);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 14px;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-social {
    margin-top: 10px;
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    stroke: #555;
    /* Modern dark grey */
    stroke-width: 1.6;
    fill: none;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.social-icon:hover svg {
    stroke: var(--cinnamon);
    transform: scale(1.12);
}


/* Responsive Adjustments */
@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    #contact {
        padding: 3rem 1.5rem;
    }

    #contact h2 {
        font-size: 1.6rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }

    .contact-form button {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #contact {
        padding: 2rem 1rem;
    }

    #contact h2 {
        font-size: 1.4rem;
    }

    .contact-form {
        gap: 12px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .contact-form button {
        padding: 10px;
        font-size: 0.9rem;
    }
}