/* ═══════════════════════════════════════════
   AL-NAHL ORGANIC — Main Stylesheet
   Aesthetic: Warm Luxury / Editorial Organic
   Fonts: Cormorant Garamond + DM Sans
═══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --honey:        #C8862A;
    --honey-light:  #E8A84A;
    --honey-dark:   #9A6018;
    --cream:        #FAF5EC;
    --warm-white:   #FDF9F3;
    --bark:         #2C1F0E;
    --bark-mid:     #4A3520;
    --text:         #3A2E1E;
    --text-light:   #7A6A52;
    --border:       rgba(200,134,42,0.18);

    --font-serif:   'Cormorant Garamond', Georgia, serif;
    --font-sans:    'DM Sans', sans-serif;

    --radius:       4px;
    --radius-lg:    12px;
    --shadow:       0 4px 24px rgba(44,31,14,0.10);
    --shadow-lg:    0 12px 48px rgba(44,31,14,0.18);

    --transition:   0.32s cubic-bezier(0.4,0,0.2,1);
    --max-w:        1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Utilities ── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }
.bg-warm     { background: var(--cream); }
.bg-dark     { background: var(--bark); color: #fff; }

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header.light .section-eyebrow { color: var(--honey-light); }
.section-header.light h2 { color: #fff; }

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--honey);
    margin-bottom: 0.75rem;
    display: block;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h2 em, h1 em { font-style: italic; color: var(--honey); }

.center-btn { text-align: center; margin-top: 3rem; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85em 2.2em;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-primary  { background: var(--honey); color: #fff; border-color: var(--honey); }
.btn-primary:hover { background: var(--honey-dark); border-color: var(--honey-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,134,42,0.35); }
.btn-ghost    { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline  { background: transparent; color: var(--honey-dark); border-color: var(--honey); }
.btn-outline:hover { background: var(--honey); color: #fff; }
.btn-sm       { font-size: 0.72rem; padding: 0.6em 1.5em; }
.btn-lg       { font-size: 0.95rem; padding: 1em 3em; }

/* Header styles → css/header.css */
/* Footer styles → css/footer.css */

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(44,31,14,0.72) 0%, rgba(44,31,14,0.35) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    padding-top: 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--honey-light);
    margin-bottom: 1.2rem;
    animation: fadeUp 0.8s ease both;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s 0.1s ease both;
}
.hero-title em { color: var(--honey-light); font-style: italic; }

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255,255,255,0.78);
    max-width: 480px;
    margin-bottom: 2.5rem;
    animation: fadeUp 1s 0.2s ease both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 1s 0.3s ease both;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 2;
    animation: fadeUp 1s 0.5s ease both;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease infinite;
}

.hero-dots {
    position: absolute;
    bottom: 2.5rem;
    right: clamp(1.25rem, 5vw, 3rem);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.dot.active {
    background: var(--honey);
    width: 22px;
    border-radius: 3px;
}

/* ══════════════════════════════════════
   BADGES BAR
══════════════════════════════════════ */
.badges-bar {
    background: var(--bark);
    padding: 1.5rem 0;
}
.badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 3rem;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.82);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}
.badge-icon { font-size: 1.1rem; }

/* ══════════════════════════════════════
   WHY AL-NAHL  (Split Layout)
══════════════════════════════════════ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.split-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.split-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.6s ease;
}
.split-image:hover img { transform: scale(1.03); }

.img-badge {
    position: absolute;
    bottom: 1.5rem;
    right: -1rem;
    background: var(--honey);
    color: #fff;
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    text-align: center;
    font-family: var(--font-serif);
    line-height: 1.1;
    box-shadow: var(--shadow);
}
.img-badge strong { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.img-badge span   { font-size: 2rem; font-weight: 300; }

.split-text h2 { margin-bottom: 1.5rem; }
.split-text p  { color: var(--text-light); margin-bottom: 1rem; max-width: 480px; }
.split-text .btn { margin-top: 1rem; }

/* ══════════════════════════════════════
   PRODUCTS GRID
══════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-img-wrap {
    position: relative;
    overflow: hidden;
}
.product-img-wrap img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44,31,14,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-info { padding: 1.4rem; }
.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.product-size {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.05em;
}
.product-info p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.2rem; }

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-price {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--honey-dark);
}

/* ══════════════════════════════════════
   BEST SELLERS
══════════════════════════════════════ */
.bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bestseller-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--warm-white);
    transition: all var(--transition);
}
.bestseller-card:hover {
    border-color: var(--honey-light);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.bestseller-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.bestseller-img img { width: 100%; height: 100%; object-fit: cover; }

.bestseller-info h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.bestseller-info p { font-size: 0.78rem; color: var(--text-light); }

/* ══════════════════════════════════════
   PROCESS STEPS
══════════════════════════════════════ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 80px;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 1px;
    background: linear-gradient(to right, var(--honey), var(--honey-dark), var(--honey));
    opacity: 0.4;
}

.process-step { text-align: center; }

.process-img {
    position: relative;
    margin: 0 auto 1.5rem;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(200,134,42,0.3);
}
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.step-num {
    position: absolute;
    top: 0; right: 0;
    background: var(--honey);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.process-step h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.process-step p { color: rgba(255,255,255,0.65); font-size: 0.9rem; max-width: 260px; margin: 0 auto; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem 1.8rem;
    position: relative;
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }

.quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--honey-light);
    opacity: 0.4;
    position: absolute;
    top: 0.5rem;
    left: 1.2rem;
}

.testimonial-card p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-top: 1.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.testimonial-author img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--honey-light);
}
.testimonial-author strong { font-size: 0.88rem; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item summary {
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    padding: 1.3rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bark);
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--honey);
    transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--honey-dark); }
.faq-item p {
    padding: 0 0 1.4rem;
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 580px;
    line-height: 1.75;
}

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 10vw, 9rem) 0;
    text-align: center;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--bark) 0%, var(--bark-mid) 100%);
}
.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(200,134,42,0.18) 0%, transparent 60%),
                      radial-gradient(circle at 70% 50%, rgba(200,134,42,0.12) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
}
.cta-content h2 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.2rem;
}
.cta-content p {
    color: rgba(255,255,255,0.7);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50%       { transform: scaleY(0.5); opacity: 0.2; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .products-grid,
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .split-image img { aspect-ratio: 16/9; }
    .img-badge { right: 1rem; }

    .process-steps { grid-template-columns: 1fr; gap: 2rem; }
    .process-steps::before { display: none; }

    /* footer responsive → css/footer.css */
}

@media (max-width: 768px) {
    /* header responsive → css/header.css */

    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

    .products-grid,
    .bestsellers-grid,
    .testimonials-grid { grid-template-columns: 1fr; }

    /* footer responsive → css/footer.css */
}

@media (max-width: 480px) {
    .badges-grid { gap: 0.75rem 1.5rem; }
    .hero-btns   { flex-direction: column; }
    .hero-btns .btn { text-align: center; }
}