/* ==========================================================================
   HOME PAGE STYLES
   ========================================================================== */

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background-image: url('../assets/images/tea_hero_background_1772622718492.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(44, 76, 59, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* --- Intro Section --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.intro-text h2 {
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.link-arrow {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.link-arrow:hover {
    gap: 1rem;
    color: var(--accent);
}

.intro-image img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s ease;
}

.intro-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Featured Collection --- */
.featured-collection {
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.product-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    display: block;
}

.card-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 4px;
    background-color: #eee;
    margin-bottom: 1.5rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.bg-sage {
    background-color: #b2bca6;
}

.bg-charcoal {
    background-color: #3b3c3c;
}

.placeholder-art {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 76, 59, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-overlay span {
    color: #fff;
    border: 1px solid #fff;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.product-card:hover .card-overlay span {
    transform: translateY(0);
}

.card-info {
    text-align: center;
}

.card-info h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.card-info p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.card-info .price {
    font-weight: 600;
    color: var(--primary);
}

/* --- Philosophy Parallax --- */
.philosophy-section {
    padding: 8rem 2rem;
    text-align: center;
    background-color: var(--primary);
    color: var(--text-light);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-content h2 {
    color: var(--accent);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
}

.philosophy-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 300;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--text-light);
    font-size: 2rem;
}

.footer-brand p {
    color: #aaa;
}

.footer-links h4 {
    color: var(--text-light);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a {
    color: #aaa;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links ul a:hover {
    color: var(--accent);
}

.footer-newsletter p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #555;
    background: transparent;
    color: #fff;
    border-radius: 4px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #777;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}