/* ════════════════════════════════════════
   RESET
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Warm sunlit palette — Anatolian steppe at golden hour */
    --bg:      #F5EFE4;   /* warm cream, the base */
    --bg-2:    #EDE4D3;   /* slightly deeper cream */
    --bg-3:    #E4D8C1;   /* soft wheat tone */

    /* Brand accents */
    --blue:    #8FB4C7;   /* dusty sky blue */
    --blue-d:  #6B98AE;   /* deeper sky for hover */
    --brown:   #A67B5B;   /* warm soil / leather */
    --brown-d: #7D5A3F;   /* deeper brown, text emphasis */
    --yellow:  #E8C36E;   /* soft wheat yellow */
    --yellow-s:#F0D998;   /* softer yellow for card gradients */

    /* Text — warm brown scale */
    --hi:    #2B241C;
    --mid:   rgba(43, 36, 28, 0.65);
    --lo:    rgba(43, 36, 28, 0.35);
    --warm:  #FFFDF7;

    /* Structure */
    --rule:  rgba(43, 36, 28, 0.12);
    --card:  rgba(255, 253, 247, 0.6);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--hi);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; }

/* ════════════════════════════════════════
   NAVBAR  —  transparent → frosted on scroll
════════════════════════════════════════ */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 3rem;
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(245, 239, 228, 0.97);
    border-bottom-color: var(--rule);
}

.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }

.logo-pill {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--warm);
    display: flex; align-items: center; justify-content: center;
    padding: 3px;
    flex-shrink: 0;
}

.logo-img { height: 27px; width: auto; }

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--hi);
    letter-spacing: -0.2px;
}

.nav-menu { display: flex; list-style: none; gap: 0.1rem; }

.nav-link {
    color: var(--mid);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.87rem;
    padding: 0.42rem 0.8rem;
    border-radius: 6px;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active { color: var(--hi); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--hi); border-radius: 2px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ════════════════════════════════════════
   HERO  —  bottom-anchored, editorial
════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 3rem 5rem;
    position: relative;
    overflow: hidden;
}

/* Giant ghost number — decorative, top-right */
.hero::before {
    content: '35';
    position: absolute;
    top: 6%;
    right: -0.04em;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20rem, 32vw, 38rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(43, 36, 28, 0.08);
    user-select: none;
    pointer-events: none;
    z-index: 1; /* sits above .hero-photo (z-index:0), below .hero-body (z-index:2) */
}

/* Photo column — right 40% on desktop */
.hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image:
        linear-gradient(to right, var(--bg) 0%, transparent 30%),
        url('images/wheat-field-1.jpg');
    background-size: 100% 100%, cover;
    background-position: 0 0, center;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-photo {
        width: 100%;
        opacity: 0.2;
        background-image: url('images/wheat-field-1.jpg');
        background-size: cover;
        background-position: center;
    }
}

/* Soft blue sky haze from bottom-left */
.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(143, 180, 199, 0.25) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Kicker — top left, below navbar (~4.4rem tall) */
.hero-kicker {
    position: absolute;
    top: 5.5rem;
    left: 3rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mid);
    font-weight: 500;
    z-index: 1;
}

.k-dot { color: var(--yellow); font-size: 1rem; line-height: 0.5; }

/* Vertical stats — top right, below navbar */
.hero-stats {
    position: absolute;
    top: 5.5rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    z-index: 1;
}

.hstat { text-align: right; padding: 0.9rem 0; }
.hstat-n { display: block; font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--hi); line-height: 1; }
.hstat-n sup { font-size: 0.55em; vertical-align: super; }
.hstat-l { display: block; font-size: 0.62rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mid); margin-top: 0.1rem; }
.hstat-sep { width: 20px; height: 1px; background: var(--rule); align-self: flex-end; }

/* Hero body */
.hero-body { position: relative; z-index: 2; }

.hero-title {
    display: flex;
    flex-direction: column;
    font-size: clamp(4.5rem, 10vw, 9rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -4px;
    margin-bottom: 3rem;
}

.ht-line { display: block; color: var(--hi); }
.accent  { color: var(--blue); }
.gold-dot { color: var(--yellow); }

.hero-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}

.hero-desc {
    font-size: 0.94rem;
    color: var(--mid);
    line-height: 1.78;
    max-width: 380px;
}

.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--blue);
    color: var(--warm);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.82rem 1.65rem;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.1px;
    transition: all 0.24s;
}

.btn-cta:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(166, 123, 91, 0.18); }

.arrow-up { font-size: 0.95em; }

.btn-text {
    color: var(--mid);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--rule);
    transition: color 0.2s, border-color 0.2s;
}

.btn-text:hover { color: var(--hi); border-color: var(--hi); }

/* ════════════════════════════════════════
   LAYOUT HELPERS
════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }

.tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 0.55rem;
}

.tag-teal { color: var(--blue); }

.sec-head { margin-bottom: 3rem; }
.sec-head h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--hi);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-top: 0.25rem;
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.about-section {
    padding: 9rem 0;
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('erkunt_field.png');
    background-size: cover;
    background-position: center;
    opacity: 0.13;
    pointer-events: none;
}
.about-grid { position: relative; z-index: 1; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

/* Photo card */
.about-card {
    border-radius: 20px;
    height: 480px;
    background: var(--blue-d);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Gradient overlay + diagonal stripe — stacked in one pseudo-element */
.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(140deg, rgba(143,180,199,0.35) 0%, rgba(232,195,110,0.25) 100%),
        repeating-linear-gradient(
            -48deg,
            transparent,
            transparent 22px,
            rgba(255,255,255,0.03) 22px,
            rgba(255,255,255,0.03) 23px
        );
}

.about-logo { height: 185px; width: auto; position: relative; z-index: 1; }

.about-year-tag {
    position: absolute;
    bottom: 1.4rem;
    right: 1.4rem;
    background: rgba(43, 36, 28, 0.6);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 0.8rem 1.1rem;
    text-align: right;
}

.ayt-n { display: block; font-family: 'Poppins', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--warm); line-height: 1; }
.ayt-l { display: block; font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 0.1rem; }

.about-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: var(--hi); letter-spacing: -0.6px; line-height: 1.15; margin-bottom: 1.2rem; margin-top: 0.25rem; }
.about-copy p  { color: var(--mid); font-size: 0.95rem; line-height: 1.82; margin-bottom: 1rem; }

.check-list { list-style: none; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; color: var(--hi); font-size: 0.92rem; }
.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 17px; height: 17px;
    border-radius: 50%;
    background-color: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%232B241C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 68%;
    background-position: center;
    background-repeat: no-repeat;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.91rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(143, 180, 199, 0.3);
    padding-bottom: 2px;
    transition: gap 0.2s, border-color 0.2s;
}

.link-arrow:hover { gap: 0.65rem; border-color: var(--blue); }

/* ════════════════════════════════════════
   SERVICES  —  editorial table
════════════════════════════════════════ */
.services-section { padding: 0 0 9rem; background: var(--bg-3); }

/* Soil texture band — full-width, fades to section bg at top and bottom */
.svc-photo-band {
    height: 180px;
    background-image:
        linear-gradient(to bottom, var(--bg-3) 0%, transparent 40%),
        linear-gradient(to top,    var(--bg-3) 0%, transparent 40%),
        url('images/soil-close.jpg');
    background-size: 100% 100%, 100% 100%, cover;
    background-position: 0 0, 0 100%, center;
    margin-bottom: 4rem;
}

.svc-list { border-top: 1px solid var(--rule); }

.svc-row {
    display: grid;
    grid-template-columns: 72px 240px 1fr 36px;
    align-items: center;
    gap: 2.5rem;
    padding: 2.2rem 0;
    border-bottom: 1px solid var(--rule);
    transition: padding 0.22s, background 0.22s;
}

.svc-row:hover {
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 -1rem;
}

.svc-n { font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px; color: var(--brown); }

.svc-name { font-size: 1.02rem; font-weight: 600; color: var(--hi); }
.svc-desc { font-size: 0.86rem; color: var(--mid); line-height: 1.65; }

.svc-arrow { color: var(--lo); font-size: 1rem; text-align: right; transition: color 0.2s, transform 0.22s; }
.svc-row:hover .svc-arrow { color: var(--blue); transform: translate(3px, -3px); }

/* ════════════════════════════════════════
   PRODUCTS  —  editorial link list
════════════════════════════════════════ */
.products-section { padding: 9rem 0; background: var(--bg-2); }

.prod-list { border-top: 1px solid var(--rule); }

.prod-row {
    display: grid;
    grid-template-columns: 56px 210px 1fr 32px;
    align-items: center;
    gap: 2.5rem;
    padding: 1.9rem 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    transition: padding 0.22s, background 0.22s;
}


.prod-row:hover {
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 -1rem;
}

.pr-n { font-family: 'Poppins', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 2.5px; color: var(--lo); }

.pr-info h3 { font-size: 0.98rem; font-weight: 600; color: var(--hi); margin-bottom: 0.18rem; }
.pr-sub { font-size: 0.67rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--brown); }

.pr-desc { font-size: 0.84rem; color: var(--mid); line-height: 1.62; }

.pr-arr { color: var(--lo); font-size: 1rem; text-align: right; transition: color 0.2s, transform 0.22s; }
.prod-row:hover .pr-arr { color: var(--blue); transform: translate(3px, -3px); }

/* Kırşehir landscape band — sits above .contact-section, fades into it */
.contact-photo-band {
    height: 320px;
    background-image:
        linear-gradient(to bottom, transparent 60%, var(--bg) 100%),
        url('images/kirsehir-landscape.jpg');
    background-size: 100% 100%, cover;
    background-position: 0 0, center;
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-section { padding: 9rem 0 5rem; background: var(--bg); }

.contact-head { margin-bottom: 4rem; }
.contact-head h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); color: var(--hi); letter-spacing: -1.5px; line-height: 1.08; margin-top: 0.2rem; }
.contact-head p  { color: var(--mid); font-size: 0.96rem; margin-top: 0.75rem; }

.contact-map {
    margin-top: 4rem;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    border: 1px solid var(--rule);
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: saturate(0.7) opacity(0.9);
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 6rem; align-items: start; }

/* Info column — rule-separated rows */
.cinfo { border-top: 1px solid var(--rule); }

.cinfo-row { padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.cinfo-lbl { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lo); margin-bottom: 0.3rem; }
.cinfo-val { color: var(--hi); font-size: 0.95rem; text-decoration: none; display: block; }
.cinfo-val:is(a):hover { color: var(--blue); }

.wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    font-size: 0.87rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: gap 0.2s;
}
.wa-link:hover { gap: 0.75rem; }

/* Form — underline inputs only */
.cform { display: flex; flex-direction: column; gap: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.fg { margin-bottom: 1rem; }
.fg label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--lo);
    margin-bottom: 0.45rem;
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    padding: 0.78rem 0;
    border: none;
    border-bottom: 1px solid var(--rule);
    background: transparent;
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    color: var(--hi);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.22s;
}

.fg input:focus, .fg select:focus, .fg textarea:focus { border-bottom-color: var(--blue); }
.fg input::placeholder, .fg textarea::placeholder { color: var(--lo); }
.fg select { cursor: pointer; }
.fg select option { background: var(--bg-3); color: var(--hi); }
.fg textarea { resize: none; line-height: 1.6; }

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--blue);
    color: var(--warm);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.88rem 1.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 0.5rem;
    transition: all 0.24s;
}

.submit-btn:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(166, 123, 91, 0.18); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
    position: relative;
    border-top: 1px solid var(--rule);
    padding: 2.2rem 0;
    background: var(--bg);
    overflow: hidden;
}

/* Wheat-field texture at 12% opacity behind footer content */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/wheat-field-2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
}

.footer-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }

.f-brand { display: flex; align-items: center; gap: 0.65rem; }

.footer-logo-pill { width: 32px; height: 32px; border-radius: 50%; background: var(--warm); display: flex; align-items: center; justify-content: center; padding: 3px; flex-shrink: 0; }
.footer-logo { height: 24px; width: auto; }

.f-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.93rem; color: var(--hi); }

.f-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.f-nav a { color: var(--mid); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.f-nav a:hover { color: var(--hi); }

.f-copy { color: var(--lo); font-size: 0.78rem; }

/* ════════════════════════════════════════
   FLOATING WHATSAPP
════════════════════════════════════════ */
.wa-float {
    position: fixed;
    bottom: 1.75rem; right: 1.75rem;
    width: 52px; height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 998;
    transition: transform 0.25s, box-shadow 0.25s;
    animation: wapulse 3s ease-in-out infinite;
}

.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.55); animation: none; }

@keyframes wapulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50%      { box-shadow: 0 4px 26px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
    .about-card    { height: 320px; }
    .about-logo    { height: 140px; }
    .contact-grid  { grid-template-columns: 1fr; gap: 4rem; }
    .svc-row       { grid-template-columns: 60px 1fr 32px; }
    .svc-desc      { display: none; }
    .prod-row      { grid-template-columns: 44px 1fr 24px; }
    .pr-desc       { display: none; }
    .hero-stats    { display: none; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .navbar { padding: 0.9rem 1.5rem; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 255px; height: 100vh;
        background: var(--bg-3);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        border-left: 1px solid var(--rule);
        transition: right 0.3s ease;
        gap: 0.3rem;
    }

    .nav-menu.active { right: 0; }
    .nav-link { display: block; padding: 0.75rem 1rem; font-size: 0.97rem; }

    .hero { padding: 0 1.5rem 4rem; }
    .hero-kicker { top: 5rem; left: 1.5rem; }
    .hero::before { font-size: 16rem; }
    .hero-title { font-size: clamp(3.2rem, 14vw, 6rem); letter-spacing: -2px; }
    .hero-foot { flex-direction: column; align-items: flex-start; }

    .container { padding: 0 1.5rem; }

    .about-section,
    .products-section,
    .contact-section { padding: 6rem 0; }
    .services-section { padding: 0 0 6rem; }   /* photo band handles top spacing */
    .prod-row  { grid-template-columns: 40px 1fr 24px; }

    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
    .hero { padding: 0 1.2rem 3.5rem; }
    .hero-kicker { top: 4.8rem; left: 1.2rem; font-size: 0.6rem; gap: 0.4rem; }
    .hero::before { font-size: 11rem; }
    .hero-title { font-size: clamp(2.8rem, 16vw, 5rem); letter-spacing: -1.5px; }
    .container { padding: 0 1.2rem; }
    .submit-btn { width: 100%; justify-content: center; }
    .wa-float { bottom: 1.2rem; right: 1.2rem; width: 48px; height: 48px; }
}


/* ═══════════════════════════════════════════════════════════════
   CINEMATIC LAYER — appended below; nothing above this is changed
═══════════════════════════════════════════════════════════════ */

/* Lenis owns scrolling — disable the native smooth override */
html { scroll-behavior: auto !important; }

/* ── Intro overlay ──────────────────────────────────────────── */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-half {
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--bg);
}

.intro-half-t { top: 0; }
.intro-half-b { bottom: 0; }

.intro-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.intro-logo-pill {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--warm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    flex-shrink: 0;
}

.intro-logo-img {
    height: 52px;
    width: auto;
}

.intro-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--hi);
    letter-spacing: -0.2px;
}

.harvest-bar {
    position: relative;
    width: 340px;
    height: 56px;
    overflow: hidden;
    border-bottom: 1px solid rgba(43,36,28,0.18);
}

.harvest-wheat {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 56'%3E%3Cline x1='10' y1='56' x2='10' y2='20' stroke='%23C4A85A' stroke-width='1.5'/%3E%3Cellipse cx='10' cy='12' rx='4' ry='8' fill='%23D4B86A'/%3E%3Cellipse cx='4' cy='24' rx='3' ry='7' fill='%23D4B86A' opacity='0.65' transform='rotate(-28 4 24)'/%3E%3Cellipse cx='16' cy='24' rx='3' ry='7' fill='%23D4B86A' opacity='0.65' transform='rotate(28 16 24)'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 22px 100%;
    background-position: left bottom;
}

.harvest-cover {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: var(--bg);
    z-index: 1;
}

.harvest-tractor {
    position: absolute;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
    z-index: 2;
    width: 80px;
    line-height: 0;
}

.harvest-tractor svg { width: 80px; height: 50px; }

/* ── Custom cursor ──────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    opacity: 0;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--blue);
    z-index: 9999;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(143, 180, 199, 0.55);
    background: transparent;
    z-index: 9998;
}

@media (hover: none) {
    .cursor-dot,
    .cursor-ring { display: none !important; }
}

body.has-cursor,
body.has-cursor * { cursor: none !important; }

/* ── Grain overlay ──────────────────────────────────────────── */
.grain {
    position: fixed;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ── Hero: split-text character wrappers ────────────────────── */
/*
   .st-outer  — overflow:hidden clip boundary; display:inline-block
                so chars can slide up from below
   .st-char   — the element GSAP animates (y + opacity)
*/
.st-outer {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    letter-spacing: inherit;
}

.st-char {
    display: inline-block;
    will-change: transform, opacity;
}

/* ── Hero: ghost "35" parallax via CSS custom property ─────── */
.hero { --ghost-y: 0px; }

.hero::before {
    transform: translateY(var(--ghost-y, 0px));
}

/* ── Hero: wheat-field canvas ───────────────────────────────── */
.wheat-field {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 1;          /* above pseudo-element glows, below hero-body (z-index:2) */
    display: block;
}

/* ── Hero: scroll indicator ─────────────────────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 1.9rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    z-index: 3;
    pointer-events: none;
    user-select: none;
}

.si-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--mid);
}

.si-line {
    width: 1px;
    height: 40px;
    background: var(--rule);
    position: relative;
    overflow: hidden;
}

.si-dot {
    position: absolute;
    top: -12px;          /* starts hidden above the line */
    left: 0;
    width: 1px;
    height: 12px;
    background: var(--blue);
}

/* Hide scroll indicator on mobile — it crowds the layout */
@media (max-width: 768px) {
    .scroll-indicator { display: none; }
}

/* ── Reduced-motion: disable all decorative layers ──────────── */
@media (prefers-reduced-motion: reduce) {
    #intro-overlay    { display: none !important; }
    .cursor-dot,
    .cursor-ring      { display: none !important; }
    .grain            { display: none !important; }
    .wheat-field      { display: none !important; }
    .scroll-indicator { display: none !important; }
    .marquee-track    { animation: none !important; }
}

/* ─────────────────────────────────────────────────────────────
   NEW EFFECTS
───────────────────────────────────────────────────────────── */

/* ── Scroll progress line ─────────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--yellow));
    z-index: 10000;
    pointer-events: none;
    will-change: width;
}

/* ── Marquee strip ────────────────────────────────────────── */
.marquee-strip {
    overflow: hidden;
    background: var(--bg-3);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 0.85rem 0;
    user-select: none;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 1.8rem;
    white-space: nowrap;
    animation: marquee-scroll 22s linear infinite;
}

.marquee-strip:hover .marquee-track { animation-play-state: paused; }

.marquee-track > span:not(.mq-dot) {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--mid);
}

.mq-dot { color: var(--yellow); font-size: 1.1em; line-height: 1; }

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── H2 word-split wrappers ───────────────────────────────── */
.sw-outer {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}
.sw-word { display: inline-block; will-change: transform; }

/* ── Product row hover sweep ──────────────────────────────── */
.prod-row { position: relative; overflow: hidden; }
.prod-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--yellow-s);
    opacity: 0.4;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.prod-row:hover::before { clip-path: inset(0 0% 0 0); }
.prod-row > * { position: relative; z-index: 1; }

/* ── Service row hover sweep ──────────────────────────────── */
.svc-row { position: relative; overflow: hidden; }
.svc-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--yellow-s);
    opacity: 0.3;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.svc-row:hover::before { clip-path: inset(0 0% 0 0); }
.svc-row > * { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────────────
   GALLERY MODAL
───────────────────────────────────────────────────────────── */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    visibility: hidden;
}
.gallery-modal.open { pointer-events: all; visibility: visible; }

.gm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 36, 28, 0);
    transition: background 0.4s;
    cursor: pointer;
}
.gallery-modal.open .gm-backdrop { background: rgba(43, 36, 28, 0.6); }

.gm-panel {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 24px 24px 0 0;
    padding: 2.5rem 3rem 3rem;
    max-height: 88vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}
.gallery-modal.open .gm-panel { transform: translateY(0); }

.gm-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--rule);
    background: var(--warm);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--hi);
    transition: background 0.2s, transform 0.25s;
}
.gm-close:hover { background: var(--bg-3); transform: rotate(90deg); }

.gm-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rule);
}

.gm-num {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--lo);
    flex-shrink: 0;
}

.gm-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--hi);
    letter-spacing: -0.5px;
    margin-bottom: 0.15rem;
}

.gm-sub {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brown);
}

.gm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.gm-photo {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--bg-3);
}

.gm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gm-photo:hover img { transform: scale(1.06); }

.gm-empty {
    display: none;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--lo);
    font-size: 0.88rem;
    border: 1px dashed var(--rule);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.gm-cta { margin-top: 0; }

/* ── Lightbox ─────────────────────────────────────────────── */
.gm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
}
.gm-lightbox.open { visibility: visible; pointer-events: all; }

.gm-lb-bg {
    position: absolute;
    inset: 0;
    background: rgba(16, 12, 8, 0.93);
    cursor: pointer;
}

.gm-lb-img {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
    z-index: 1;
    display: block;
}

.gm-lb-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 1.3rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.gm-lb-close:hover { background: rgba(255,255,255,0.22); }

.gm-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    transition: background 0.2s;
    line-height: 1;
}
.gm-lb-nav:hover { background: rgba(255,255,255,0.22); }
.gm-lb-prev { left: 1.5rem; }
.gm-lb-next { right: 1.5rem; }

@media (max-width: 768px) {
    .gm-panel { padding: 2rem 1.5rem 2.5rem; border-radius: 20px 20px 0 0; }
    .gm-grid  { grid-template-columns: repeat(2, 1fr); }
    .gm-lb-nav { display: none !important; }
}
