/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --orange-deep:   #C85A00;
    --orange:        #E8720A;
    --orange-light:  #F4A542;
    --orange-pale:   #FDF0E0;
    --cream:         #FDF8F2;
    --brown-dark:    #3D1800;
    --brown-mid:     #7A3A00;
    --green-grove:   #5A7A2A;
    --text:          #2C1A00;
    --text-muted:    #7A5A3A;
    --border:        #E8D0B0;
    --white:         #FFFFFF;
    --shadow:        0 2px 12px rgba(60,25,0,0.10);
    --shadow-lg:     0 6px 32px rgba(60,25,0,0.15);
    --radius:        10px;
    --radius-lg:     18px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

/* ── Header ── */
header {
    background: var(--brown-dark);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem 0.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-icon {
    font-size: 1.6rem;
    line-height: 1;
    vertical-align: middle;
    margin-right: 0.3rem;
}

.header-inner h1 {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--orange-light);
    display: flex;
    align-items: center;
}

/* ── Navigation ── */
nav {
    background: var(--brown-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
}

nav ul {
    list-style: none;
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 0;
}

nav ul li a {
    display: block;
    padding: 0.7rem 1.4rem;
    color: #D0B090;
    text-decoration: none;
    font-size: 0.88rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.03em;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

nav ul li a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

nav ul li a.active {
    color: var(--orange-light);
    border-bottom-color: var(--orange-light);
}

nav ul li a.tab-special {
    color: var(--orange-light);
    font-weight: 600;
}

nav ul li a.tab-special.active {
    color: var(--white);
    background: var(--orange-deep);
    border-bottom-color: var(--orange);
}

/* ── Tab content visibility ── */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Hero (home) ── */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/orange-landing.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61,24,0,0.72) 0%, rgba(200,90,0,0.55) 60%, rgba(244,165,66,0.35) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    max-width: 660px;
    padding: 3rem 2rem;
}

.hero-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.8rem;
    opacity: 0.92;
}

/* ── Page hero (inner tabs) ── */
.page-hero {
    text-align: center;
    padding: 3.5rem 2rem 2.5rem;
    background: linear-gradient(180deg, var(--brown-dark) 0%, #5A2000 100%);
    color: var(--white);
}

.page-hero h2 {
    font-size: 2rem;
    color: var(--orange-light);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-style: italic;
    color: #C0A080;
    font-size: 1rem;
}

.page-hero--location {
    background: linear-gradient(180deg, #1A3A20 0%, #2E5A30 100%);
}

.page-hero--location h2 { color: #90D060; }
.page-hero--location p  { color: #A0C880; }

/* ── Button ── */
.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: var(--white);
    color: var(--orange-deep);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.btn:hover { background: var(--orange-pale); transform: translateY(-2px); }

/* ── Section inner ── */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ── Intro cards (home) ── */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.intro-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.intro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.intro-icon {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.intro-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--orange-deep);
}

.intro-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ── Highlight band ── */
.highlight-band {
    background: var(--orange-pale);
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
}

.highlight-band blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--brown-mid);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    line-height: 1.8;
}

.highlight-band blockquote::before { content: '\201C'; font-size: 3rem; color: var(--orange-light); line-height: 0; vertical-align: -0.6em; margin-right: 0.1em; }
.highlight-band blockquote::after  { content: '\201D'; font-size: 3rem; color: var(--orange-light); line-height: 0; vertical-align: -0.6em; margin-left: 0.1em; }

/* ── Carousel ── */
.carousel {
    position: relative;
    flex: 0 0 45%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--brown-dark);
    border-radius: var(--radius);
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(61,24,0,0.55);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    width: 32px;
    height: 44px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
    z-index: 10;
}

.carousel-btn:hover { background: rgba(61,24,0,0.85); }
.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
    background: var(--white);
    transform: scale(1.25);
}


/* ── Quality page ── */
.quality-block {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.quality-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quality-text h3 { font-size: 1.3rem; color: var(--orange-deep); margin-bottom: 0.8rem; }
.quality-text p  { margin-bottom: 0.9rem; color: var(--text-muted); }

.quality-stat-block {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.stat {
    background: var(--brown-dark);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.2rem;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--orange-light);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.75rem;
    color: #B0906A;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.05em;
}

.divider { border: none; border-top: 2px solid var(--border); margin: 0 0 2rem; }

.section-title { font-size: 1.25rem; color: var(--brown-dark); margin-bottom: 1.2rem; }

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.compare-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.compare-card--winner {
    border-color: var(--orange);
    border-width: 2px;
    position: relative;
}

.compare-card h4 { font-size: 1rem; color: var(--orange-deep); margin-bottom: 0.75rem; }
.compare-card ul { padding-left: 1.1rem; }
.compare-card li { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.3rem; }

.badge {
    display: inline-block;
    margin-top: 1rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.72rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* ── Varieties page ── */
.variety-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }

.variety-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.variety-card--featured {
    border-color: var(--orange);
    border-width: 2px;
    position: relative;
}

.variety-badge {
    background: var(--orange);
    color: var(--white);
    font-size: 0.72rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1.2rem;
    display: inline-block;
}

.variety-header {
    padding: 1.2rem 1.6rem 0.6rem;
    border-bottom: 1px solid var(--border);
    background: var(--orange-pale);
}

.variety-season {
    font-size: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange-deep);
    font-weight: 600;
}

.variety-header h3 { font-size: 1.2rem; margin: 0.2rem 0; color: var(--brown-dark); }
.variety-subtitle { font-style: italic; font-size: 0.9rem; color: var(--text-muted); }

.variety-body { padding: 1.4rem 1.6rem; }
.variety-body p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 0.8rem; }

.variety-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }

.tag {
    background: var(--orange-pale);
    border: 1px solid var(--border);
    color: var(--brown-mid);
    font-size: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
}

/* ── Season bar ── */
.season-bar-wrap { margin-top: 1rem; }

.season-bar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 1.2rem;
    box-shadow: var(--shadow);
}

.season-months {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    margin-bottom: 1rem;
    padding-left: 120px;
    gap: 0;
}

.season-months span {
    text-align: center;
    font-size: 0.72rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    font-weight: 600;
}

.season-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
    gap: 0.8rem;
}

.season-label {
    font-size: 0.78rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-muted);
    width: 120px;
    flex-shrink: 0;
    text-align: right;
}

.season-track {
    flex: 1;
    height: 18px;
    background: #F0E4D0;
    border-radius: 9px;
    position: relative;
    overflow: hidden;
}

.season-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--orange);
    border-radius: 9px;
    opacity: 0.85;
}

.season-fill--gold  { background: var(--orange-deep); opacity: 1; }
.season-track--gold { background: #F8E8C8; }

/* ── Location page ── */
.location-intro {
    font-size: 1.05rem;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

.location-intro em { color: var(--green-grove); font-weight: 600; }

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--green-grove);
    margin-bottom: 0.5rem;
}

.map-label {
    background: var(--green-grove);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
}

.map-container iframe { display: block; }

.map-caption {
    font-size: 0.73rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-muted);
    text-align: right;
    padding: 0.4rem 0.8rem 0;
    margin-bottom: 2rem;
}

.location-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.fact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--green-grove);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.fact-card h4 {
    font-size: 0.95rem;
    color: var(--green-grove);
    margin-bottom: 0.6rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.fact-card p { font-size: 0.88rem; color: var(--text-muted); }
.fact-card em { color: var(--green-grove); font-style: normal; font-weight: 600; }

/* ── Footer ── */
footer {
    background: var(--brown-dark);
    color: #A09080;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
}

footer strong { color: var(--orange-light); }
.footer-sub { font-style: italic; margin-top: 0.3rem; color: #705040; font-size: 0.78rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .header-inner { padding: 0.75rem 1rem 0.5rem; }
    .header-inner h1 { font-size: 1.2rem; }
    .tagline { display: none; }

    nav ul { padding: 0 0.5rem; overflow-x: auto; flex-wrap: nowrap; }
    nav ul li a { padding: 0.6rem 0.85rem; font-size: 0.82rem; white-space: nowrap; }

    .hero-content h2 { font-size: 1.8rem; }

    .quality-block { flex-direction: column; }
    .carousel { flex: none; width: 100%; }
    .quality-stat-block { flex-wrap: wrap; }
    .stat { flex: 1 1 100px; }

    .season-months { padding-left: 90px; }
    .season-label  { width: 90px; font-size: 0.7rem; }

    .section-inner { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
    .hero-content h2 { font-size: 1.5rem; }
    .compare-grid    { grid-template-columns: 1fr; }
    .location-facts  { grid-template-columns: 1fr; }
}
