/* 
 * Golden Leaves - Premium Luxury Tea Storefront
 * Style.css: Dark Header & Centered Logo Design System
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* Design Tokens & Variables */
:root {
    --color-bg-dark: #070708;       /* Deep obsidian black */
    --color-bg-card: #0f0f11;       /* Dark charcoal for dark cards */
    --color-bg-light-section: #FAF8F5; /* Off-white luxury cream */
    --color-bg-white: #ffffff;
    
    --color-gold: #c5a059;          /* Premium luxury gold */
    --color-gold-light: #dfc491;    /* Bright champagne gold */
    --color-gold-dark: #977435;     /* Deep bronze gold */
    --color-gold-hover: #e8d0a7;    /* Light gold for hover */
    
    --color-text-white: #ffffff;
    --color-text-dark: #1c1c1e;     /* Luxury charcoal for light sections */
    --color-text-muted-light: #9a9a9f; /* Muted text for dark backgrounds */
    --color-text-muted-dark: #6e6e73;  /* Muted text for light backgrounds */
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --border-gold: 1px solid rgba(197, 160, 89, 0.15);
    --border-gold-focus: 1px solid rgba(197, 160, 89, 0.4);
    --border-light: 1px solid rgba(197, 160, 89, 0.12);
    
    --gold-gradient: linear-gradient(135deg, #977435 0%, #c5a059 50%, #dfc491 100%);
    --card-shadow-dark: 0 15px 40px rgba(0, 0, 0, 0.5);
    --card-shadow-light: 0 10px 30px rgba(197, 160, 89, 0.05);
    --nav-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    
    /* Rounded corners token to avoid blocky shapes */
    --radius-soft: 8px;
    --radius-medium: 16px;
    --radius-large: 24px;
    --radius-round: 50px;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Global Hyperlinks Override to prevent ugly browser default blue/purple */
a, a:visited {
    text-decoration: none;
    color: var(--color-gold);
    transition: var(--transition-fast);
}

a:hover, a:focus, a:active {
    color: var(--color-gold-light);
}

/* Styling specifically for inline text links */
p a, p a:visited, 
.blog-post-body a, .blog-post-body a:visited, 
.faq-content-inner a, .faq-content-inner a:visited, 
.footer-bottom a, .footer-bottom a:visited {
    color: var(--color-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 1px;
}

p a:hover, .blog-post-body a:hover, .faq-content-inner a:hover, .footer-bottom a:hover {
    color: var(--color-gold-light);
    border-bottom-color: var(--color-gold-light);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
}

p {
    font-size: 0.95rem;
    font-weight: 300;
}

strong {
    color: var(--color-gold);
    font-weight: 500;
}

/* Section Spacing & Layout */
.section {
    padding: 120px 0;
    position: relative;
}

/* Alternate light and dark themes */
.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
}

.section-dark p {
    color: var(--color-text-muted-light);
}

.section-light {
    background-color: var(--color-bg-light-section);
    color: var(--color-text-dark);
}

.section-light p {
    color: var(--color-text-muted-dark);
}

.section-light h2, .section-light h3, .section-light h4 {
    color: var(--color-text-dark);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-header .divider {
    height: 1px;
    width: 80px;
    background: var(--gold-gradient);
    margin: 20px auto;
}

.section-header p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    border-radius: var(--radius-round);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--color-bg-dark);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.25);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.45);
    color: var(--color-bg-dark);
}

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

.btn-outline-gold:hover {
    background: var(--gold-gradient);
    color: var(--color-bg-dark);
    font-weight: 600;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
}

/* Force dark text color on gold buttons (overriding visited link states and defaults) */
.btn-gold, a.btn-gold, a.btn-gold:visited, a.btn-gold:hover, a.btn-gold:active, a.btn-gold:focus,
.buy-now-btn, a.buy-now-btn, a.buy-now-btn:visited, a.buy-now-btn:hover, a.buy-now-btn:active, a.buy-now-btn:focus,
.btn-nav-shop, a.btn-nav-shop, a.btn-nav-shop:visited, a.btn-nav-shop:hover, a.btn-nav-shop:active, a.btn-nav-shop:focus,
#modalBuyBtn, a#modalBuyBtn, a#modalBuyBtn:visited, a#modalBuyBtn:hover, a#modalBuyBtn:active, a#modalBuyBtn:focus {
    color: #000000 !important;
}

.btn-text {
    background: transparent;
    color: var(--color-gold);
    padding: 8px 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    border: none;
    cursor: pointer;
}

.btn-text::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background: var(--color-gold);
    bottom: 0;
    left: 0;
    transition: var(--transition-smooth);
}

.btn-text:hover::after {
    width: 100%;
}

.btn-text:hover {
    color: var(--color-gold-light);
}

/* Premium Split Navigation Bar (Logo Centered - Dark background above fold) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 7, 8, 0.9); /* Dark background as requested */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.12);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(7, 7, 8, 0.96);
    box-shadow: var(--nav-shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo centered layout inspired by xtnta.art */
/* Centered logo layout inspired by xtnta.art */
.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: -35px 25px -45px 25px; /* Overlap vertically to fit nicely */
    z-index: 1002;
    cursor: pointer;
    mix-blend-mode: screen; /* mix-blend-screen to make black background transparent */
    width: 170px;
    height: 150px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), margin 0.5s cubic-bezier(0.16, 1, 0.3, 1), width 0.5s cubic-bezier(0.16, 1, 0.3, 1), height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled .logo-link {
    width: 130px;
    height: 110px;
    margin: -20px 25px -30px 25px;
}

/* Centered logo mouseover scale effect from xtnta.art */
.logo-link:hover {
    transform: scale(1.25); /* hover:scale-125 */
}

/* Nav links split (flex-grow: 1 pushes them to sides of the logo) */
.nav-links {
    display: flex;
    gap: 45px;
    align-items: center;
    flex-grow: 1;
}

.nav-links-left {
    justify-content: flex-end;
}

.nav-links-right {
    justify-content: flex-start;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted-light); /* Light text for dark header */
    padding: 6px 0;
    transition: var(--transition-fast);
}

/* Removed Underlines Hover Effect as Requested */
.nav-links a::after {
    display: none;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-gold-light);
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1001;
}

.lang-switch {
    font-size: 0.8rem;
    color: var(--color-text-muted-light);
    letter-spacing: 1px;
    font-weight: 500;
}

.lang-switch a {
    padding: 2px 4px;
    transition: var(--transition-fast);
    color: var(--color-text-muted-light);
}

.lang-switch a.active {
    color: var(--color-gold-light);
    font-weight: 600;
    border-bottom: 1px solid var(--color-gold);
}

.lang-switch a:hover:not(.active) {
    color: var(--color-text-white);
}

/* Mobile Shop Button */
.btn-nav-shop {
    background: var(--gold-gradient);
    color: var(--color-bg-dark);
    padding: 8px 20px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    border-radius: var(--radius-round);
    transition: var(--transition-fast);
}

.btn-nav-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
    color: var(--color-bg-dark);
}

/* Hamburger for Mobile */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px; /* Increased tap area to 44px equivalent */
    position: relative;
    z-index: 1001;
    display: none; /* Block on mobile via query */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-white);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* Transform hamburger into a premium close X icon on active */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile sliding drawer menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--color-bg-dark);
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: var(--transition-smooth);
    padding: 50px;
    border-left: 1px solid rgba(197, 160, 89, 0.15);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-overlay a {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-white);
    transition: var(--transition-fast);
}

.mobile-menu-overlay a:hover {
    color: var(--color-gold);
}

/* Dark atmospheric Hero Section (re-darkened above fold) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: #030304;
    overflow: hidden;
    padding-top: 80px;
}

/* Moody luxury tea photo */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/tea_intro.png'); 
    background-size: cover;
    background-position: center;
    filter: brightness(0.25) contrast(1.05); /* Darkened for mystery and contrast */
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(7, 7, 8, 0.95) 90%),
                linear-gradient(to bottom, transparent 60%, rgba(7, 7, 8, 1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-left: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 30px;
    color: var(--color-text-white);
}

.hero h1 span {
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 400;
    display: block;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    max-width: 580px;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted-light);
}

.scroll-indicator span {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold) 50%, transparent 100%);
    background-size: 100% 200%;
    animation: scrollLine 2s infinite ease-in-out;
}

/* Philosophy segment (light cream) */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.philosophy-text h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.philosophy-text p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.philosophy-image {
    position: relative;
    padding: 15px;
}

.philosophy-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border-top: 1px solid var(--color-gold);
    border-left: 1px solid var(--color-gold);
    z-index: 1;
}

.philosophy-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border-bottom: 1px solid var(--color-gold);
    border-right: 1px solid var(--color-gold);
    z-index: 1;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-medium);
    filter: grayscale(10%) contrast(1.05) brightness(0.95);
    transition: var(--transition-smooth);
}

.philosophy-image:hover img {
    filter: grayscale(0%) contrast(1.02) brightness(1);
    transform: scale(1.02);
}

/* Products Collection Grid (Dark Obsidian) */
.products-wrapper {
    margin-top: 30px;
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.15);
    color: var(--color-text-muted-light);
    padding: 10px 25px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: var(--font-body);
    border-radius: var(--radius-round);
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--color-gold);
    color: var(--color-text-white);
    background: rgba(197, 160, 89, 0.05);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--color-bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--gold-glow), var(--card-shadow-dark);
}

.product-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold-gradient);
    color: var(--color-bg-dark);
    font-size: 0.68rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    z-index: 10;
    border-radius: var(--radius-soft);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 1.1 / 1;
    overflow: hidden;
    background-color: #0c0c0e;
    border-bottom: 1px solid rgba(197, 160, 89, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.6));
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08) translateY(-5px);
}

.product-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 8, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    gap: 15px;
    padding: 20px;
}

.product-card:hover .product-img-overlay {
    opacity: 1;
}

.overlay-details-btn {
    border: 1px solid var(--color-gold);
    color: var(--color-gold-light);
    background: transparent;
    padding: 10px 24px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: var(--font-body);
    border-radius: var(--radius-round);
    transition: var(--transition-fast);
}

.overlay-details-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.product-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-brand {
    font-size: 0.75rem;
    font-family: var(--font-body);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-type {
    font-size: 0.75rem;
    font-family: var(--font-body);
    color: var(--color-text-muted-light);
}

.product-details h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    line-height: 1.2;
    transition: var(--transition-fast);
}

.product-card:hover .product-details h3 {
    color: var(--color-gold-light);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted-light);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(197, 160, 89, 0.05);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text-white);
}

.buy-now-btn {
    background: var(--gold-gradient);
    color: var(--color-bg-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-soft);
    cursor: pointer;
    transition: var(--transition-fast);
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

/* Light-Themed FAQ Accordion Panel */
.faq-wrapper {
    margin-top: 50px;
}

.faq-item {
    background-color: var(--color-bg-white);
    border: var(--border-light);
    margin-bottom: 20px;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--card-shadow-light);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(197, 160, 89, 0.4);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 25px 35px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.faq-trigger h3 {
    font-size: 1.35rem;
    font-weight: 400;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin: 0;
    transition: var(--transition-fast);
}

.faq-item.active .faq-trigger h3, .faq-trigger:hover h3 {
    color: var(--color-gold-dark);
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-gold);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content-inner {
    padding: 0 35px 30px;
}

.faq-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-muted-dark);
}

/* Journal / Blog List section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.blog-card {
    background-color: var(--color-bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: var(--gold-glow);
}

.blog-img-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: grayscale(10%) contrast(1.05) brightness(0.9);
}

.blog-card:hover img {
    transform: scale(1.04);
}

.blog-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.blog-body h3 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-body h3 {
    color: var(--color-gold-light);
}

.blog-body p {
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-muted-light);
}

/* Individual Blog Page Styling */
.blog-post-header {
    position: relative;
    padding: 180px 0 100px;
    background-color: #030304;
    overflow: hidden;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.blog-post-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.25) contrast(1.05); /* Darkened subpage hero header */
    z-index: 1;
}

.blog-post-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-post-header-content h1 {
    color: var(--color-text-white);
}

.blog-post-meta {
    color: var(--color-text-muted-light);
}

.blog-post-body p {
    color: var(--color-text-white);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-post-body h2 {
    color: var(--color-gold-light);
    font-size: 2.2rem;
    margin-top: 45px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-post-body h3 {
    color: var(--color-gold-light);
    font-size: 1.6rem;
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 30px;
    padding-left: 25px;
}

.blog-post-body li {
    margin-bottom: 10px;
    color: var(--color-text-white);
    line-height: 1.7;
    font-size: 1.02rem;
}

.blog-post-body img {
    margin: 35px 0;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-medium);
}

.blog-post-body blockquote {
    margin: 35px 0;
    padding: 20px 30px;
    border-left: 3px solid var(--color-gold);
    background: rgba(197, 160, 89, 0.05);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-gold-light);
    line-height: 1.6;
    border-top-right-radius: var(--radius-soft);
    border-bottom-right-radius: var(--radius-soft);
}

/* Modal Details Overlay */
.tea-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 8, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.tea-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--color-bg-card);
    border: var(--border-gold);
    max-width: 900px;
    width: 90%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    border-radius: var(--radius-medium);
    padding: 35px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 35px;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.tea-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--color-text-muted-light);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--color-gold-light);
}

.modal-image-wrapper {
    background-color: #0c0c0e;
    border: var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    border-radius: var(--radius-medium);
}

.modal-image-wrapper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.modal-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-brand {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.modal-details h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    line-height: 1.15;
    color: var(--color-text-white);
}

.modal-type {
    font-size: 0.9rem;
    color: var(--color-text-muted-light);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-desc {
    margin-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.meta-item {
    font-size: 0.82rem;
}

.meta-item span {
    display: block;
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    margin-bottom: 3px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-price {
    font-size: 1.6rem;
    font-family: var(--font-heading);
}

/* Footer Section */
footer {
    background-color: #040405;
    border-top: 1px solid rgba(197, 160, 89, 0.08);
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 75px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

/* Large footer logo */
.footer-brand-logo {
    height: 220px;
    width: auto;
    align-self: flex-start;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 10px rgba(197, 160, 89, 0.1));
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--color-text-muted-light);
}

.footer-col h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--color-text-muted-light);
    transition: var(--transition-fast);
    letter-spacing: 1px;
}

.footer-col a:hover {
    color: var(--color-gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(197, 160, 89, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: var(--color-gold);
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}

/* Responsive Layout styling */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .logo-link {
        width: 120px;
        height: 100px;
        margin: -15px 15px -25px 15px;
    }
    
    .logo-link:hover {
        transform: scale(1.15);
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .philosophy-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        max-height: 95vh;
    }
    
    .modal-image-wrapper {
        max-height: 180px;
        aspect-ratio: auto;
    }
    
    .modal-details h2 {
        font-size: 1.7rem;
        margin-bottom: 5px;
    }
    
    .modal-type {
        margin-bottom: 8px;
    }
    
    .modal-desc {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .modal-meta-grid {
        margin-bottom: 12px;
        padding: 8px 0;
        gap: 8px;
    }
    
    .meta-item span {
        font-size: 0.62rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
