/* =========================================================
   Suyog Farms — main stylesheet
   Palette: eco green + warm sand, single flat file, mobile-first.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --green-dark:  #24422b;
    --green:       #3c6e47;
    --green-light: #6fa571;
    --sand:        #f7f3ea;
    --sand-dark:   #ece3d1;
    --gold:        #cf9a3b;
    --text:        #2c2c24;
    --muted:       #6b6b5f;
    --white:       #ffffff;
    --radius:      14px;
    --shadow:      0 10px 30px rgba(36, 66, 43, 0.12);
    --shadow-sm:   0 4px 14px rgba(36, 66, 43, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--sand);
    line-height: 1.65;
}
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--green-dark);
    line-height: 1.25;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--green); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 70px 0; }
.section-alt { background: var(--sand-dark); }
.text-center { text-align: center; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head .eyebrow {
    display: inline-block; color: var(--gold); font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; margin-bottom: 8px;
}

/* Buttons */
.btn {
    display: inline-block; padding: 13px 30px; border-radius: 50px;
    font-weight: 600; letter-spacing: .5px; cursor: pointer; border: 2px solid transparent;
    transition: all .25s ease; font-size: .95rem;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Top strip */
.top-strip { background: var(--green-dark); color: #dfe9df; font-size: .85rem; }
.top-strip-inner { display: flex; gap: 24px; padding: 8px 20px; flex-wrap: wrap; align-items: center; }
.top-strip-inner a { color: #dfe9df; }
.top-strip-inner a:hover { color: var(--gold); }
.top-strip-address { opacity: .9; }

/* Header / nav */
.site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.brand img { height: 58px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 22px; flex-wrap: wrap; }
.main-nav a { color: var(--green-dark); font-weight: 500; padding: 8px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta { white-space: nowrap; }
.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; width: 40px; height: 36px; cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; background: var(--green-dark); border-radius: 2px; }

/* Hero slider (homepage) */
.hero-slider { position: relative; height: 88vh; min-height: 480px; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    display: flex; align-items: center; opacity: 0; transition: opacity 1.1s ease;
    pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,35,20,.55), rgba(20,35,20,.65));
}
.hero-slide-content { position: relative; z-index: 2; color: var(--white); max-width: 720px; margin: 0 auto; text-align: center; padding: 0 20px; }
.hero-slide-content h1 { color: var(--white); }
.hero-slide-content p { font-size: 1.1rem; color: #eef3ea; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.is-active { background: var(--white); }

/* Simple page hero banner (inner pages) */
.page-hero {
    position: relative; padding: 90px 0; background-size: cover; background-position: center; color: var(--white);
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,35,20,.6), rgba(20,35,20,.7)); }
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 6px; }
.page-hero .breadcrumb { color: #dfe9df; font-size: .9rem; }
.page-hero .breadcrumb a { color: #dfe9df; }

/* About section */
.about-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-flex video, .about-flex img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; cursor: zoom-in; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-teaser { margin-top: 30px; }

/* Lightbox */
.lightbox-overlay {
    display: none; position: fixed; inset: 0; background: rgba(10,15,10,.9); z-index: 999;
    align-items: center; justify-content: center; padding: 30px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: var(--white); font-size: 2.2rem; cursor: pointer; background: none; border: none; }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15); border: none; color: var(--white);
    font-size: 1.8rem; width: 52px; height: 52px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 600px) {
    .lightbox-nav { width: 42px; height: 42px; font-size: 1.4rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* Cards / packages */
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; }
.package-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.package-card img { height: 200px; width: 100%; object-fit: cover; }
.package-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.package-body h3 { margin-bottom: 14px; }
.package-body ul { flex: 1; margin-bottom: 20px; }
.package-body li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); font-size: .95rem; }
.package-body li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.services-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.services-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.services-strip img { height: 260px; width: 100%; object-fit: cover; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); text-align: center; }
.testimonial-card img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.testimonial-card .stars { color: var(--gold); letter-spacing: 2px; }
.testimonial-card h4 { margin: 6px 0 10px; font-size: 1.05rem; }

/* Reviews page */
.rating-summary { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px; display: flex; gap: 34px; align-items: center; flex-wrap: wrap; }
.rating-summary .big-score { font-family: 'Playfair Display', serif; font-size: 3.2rem; color: var(--green-dark); font-weight: 700; }
.rating-summary .stars { color: var(--gold); font-size: 1.3rem; }
.rating-bars { flex: 1; min-width: 240px; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: .85rem; margin-bottom: 6px; color: var(--muted); }
.rating-bar-row .track { flex: 1; height: 8px; background: var(--sand-dark); border-radius: 6px; overflow: hidden; }
.rating-bar-row .fill { height: 100%; background: var(--gold); }

.review-list { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.review-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 26px; }
.review-item .review-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.review-item .review-name { font-weight: 600; color: var(--green-dark); }
.review-item .review-date { color: var(--muted); font-size: .82rem; }
.review-item .stars { color: var(--gold); }

.review-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; margin-top: 50px; }
.star-picker { display: flex; gap: 6px; font-size: 1.8rem; color: var(--sand-dark); }
.star-picker .star { cursor: pointer; transition: color .15s; }
.star-picker .star.is-selected, .star-picker .star:hover, .star-picker .star:hover ~ .star { color: var(--gold); }

/* Forms (generic) */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .9rem; color: var(--green-dark); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], select, textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d8d0bd; border-radius: 8px;
    font-family: inherit; font-size: .95rem; background: var(--white); color: var(--text);
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); }
.field { margin-bottom: 18px; }
.checkbox-field { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--muted); }
.checkbox-field input { width: auto; margin-top: 3px; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: #e4f3e6; color: var(--green-dark); border: 1px solid #bfe2c4; }
.alert-error { background: #fbe7e5; color: #8a2f26; border: 1px solid #f2c0ba; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.contact-info-card { background: var(--green-dark); color: var(--white); border-radius: var(--radius); padding: 34px; }
.contact-info-card h5 { color: var(--gold); text-transform: uppercase; font-size: .8rem; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-card .info-block { margin-bottom: 22px; }
.contact-info-card a { color: var(--white); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 30px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Payment page */
.payment-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; text-align: center; max-width: 520px; margin: 0 auto; }
.payment-box img { margin: 0 auto 20px; border-radius: 10px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #d7e2d7; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 34px; padding-bottom: 40px; }
.footer-logo { height: 46px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.footer-col h5 { color: var(--white); font-size: .95rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.footer-list li { margin-bottom: 8px; }
.footer-col a { color: #d7e2d7; }
.footer-col a:hover { color: var(--gold); }
.whatsapp-link { display: inline-block; margin-top: 10px; color: #9fe0a4 !important; font-weight: 600; }
.footer-social a { margin-right: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .82rem; text-align: center; color: #b7c6b7; }
.footer-credit { margin-top: 4px; }
.footer-credit a { color: #9fe0a4; font-weight: 600; }

/* Admin badge shown on the front-end contact/reviews success screens */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.badge-pending { background: #fdf1d6; color: #8a6a12; }
.badge-approved { background: #e4f3e6; color: var(--green-dark); }

/* Responsive */
@media (max-width: 900px) {
    .about-flex, .contact-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
        flex-direction: column; align-items: stretch; box-shadow: var(--shadow);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .main-nav.is-open { max-height: 520px; }
    .main-nav ul { flex-direction: column; padding: 10px 20px; gap: 0; }
    .main-nav ul li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--sand-dark); }
    .nav-cta { margin: 14px 20px 20px; text-align: center; }
    .top-strip-inner { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
    section { padding: 46px 0; }
    .hero-slider { height: 78vh; }
    .rating-summary { flex-direction: column; text-align: center; }
}
