/* ==========================================================================
   Swanhills Enterprises — Site Styles
   ========================================================================== */

:root {
    --brand-terracotta: #b5502b;
    --brand-maroon: #7a2e2e;
    --brand-gold: #c9a227;
    --brand-cream: #fbf6ee;
    --brand-charcoal: #2b2420;
    --brand-muted: #6b5f56;
    --brand-border: #e8ddcd;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --transition: all .3s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--brand-charcoal);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
}

a { text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Section badges / titles ---------- */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(181, 80, 43, .1);
    color: var(--brand-terracotta);
    border-radius: 30px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--brand-charcoal);
    margin-bottom: 16px;
}
.section-subtitle {
    color: var(--brand-muted);
    max-width: 620px;
    margin: 0 auto 10px;
}
.section-header { margin-bottom: 44px; }

/* ---------- Buttons ---------- */
.btn-primary-custom, .btn-outline-custom {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary-custom {
    background: var(--brand-terracotta);
    color: #fff;
    box-shadow: 0 8px 20px rgba(181, 80, 43, .25);
}
.btn-primary-custom:hover {
    background: var(--brand-maroon);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(122, 46, 46, .3);
}
.btn-outline-custom {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.btn-outline-custom:hover {
    background: #fff;
    color: var(--brand-terracotta);
    transform: translateY(-3px);
}
.btn-brand {
    background: var(--brand-terracotta);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-brand:hover { background: var(--brand-maroon); color: #fff; transform: translateY(-2px); }
.btn-brand-light {
    background: #fff;
    color: var(--brand-terracotta);
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    transition: var(--transition);
}
.btn-brand-light:hover { background: var(--brand-maroon); color: #fff; transform: translateY(-2px); }

/* ---------- CTA row (enquire button + marketplace logos) ---------- */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

/* ---------- Marketplace links ---------- */
.marketplace-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.btn-marketplace {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.15rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    transition: var(--transition);
}
.btn-marketplace:hover { transform: translateY(-3px); color: #fff; }
.btn-marketplace.amazon { background: #232f3e; }
.btn-marketplace.amazon:hover { background: #ff9900; color: #232f3e; }
.btn-marketplace.flipkart { background: #2874f0; }
.btn-marketplace.flipkart:hover { background: #1d5bc4; }
.btn-marketplace.pepperfry { background: #d2703c; }
.btn-marketplace.pepperfry:hover { background: #a8542a; }

/* ---------- Navbar ---------- */
.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    transition: var(--transition);
}
.navbar-custom.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}
.navbar-brand-wrap { display: flex; align-items: center; gap: 10px; }
.navbar-logo { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.navbar-brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--brand-charcoal);
}
.navbar-brand-dot { color: var(--brand-terracotta); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link-item {
    padding: 10px 16px;
    color: var(--brand-charcoal);
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}
.nav-link-item:hover, .nav-link-item.active { color: var(--brand-terracotta); background: rgba(181, 80, 43, .08); }
.nav-call {
    color: var(--brand-terracotta);
    font-size: 1.05rem;
    padding: 10px 12px;
}
.nav-cta {
    background: var(--brand-terracotta);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}
.nav-cta:hover { background: var(--brand-maroon); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
}
.hamburger span { width: 24px; height: 2px; background: var(--brand-charcoal); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-carousel, .hero-carousel .carousel-item { height: 78vh; min-height: 480px; }
.hero-banner-img { width: 100%; height: 78vh; min-height: 480px; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(43,36,32,.12) 0%, rgba(43,36,32,.48) 100%);
}
.hero-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    color: #fff;
    padding: 0 24px;
}
.hero-content .section-badge { transition-delay: .05s; }
.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 18px;
    max-width: 760px;
    text-shadow: 0 4px 24px rgba(0,0,0,.45);
    transition-delay: .15s;
}
.hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
    color: rgba(255,255,255,.92);
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
    transition-delay: .28s;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; transition-delay: .4s; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--brand-maroon); padding: 46px 0; color: #fff; }
.stat-num { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 700; color: var(--brand-gold); }
.stat-label { font-size: .9rem; opacity: .85; margin-top: 4px; }

/* ---------- About ---------- */
.about-section { padding: 90px 0; background: var(--brand-cream); }
.about-grid {
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-img-main { border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.15); width: 100%; height: 420px; object-fit: cover; }
.about-img-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--brand-terracotta); color: #fff;
    border-radius: 12px; padding: 18px 22px; text-align: center;
    box-shadow: 0 15px 30px rgba(181,80,43,.35);
}
.about-img-badge .num { font-size: 1.8rem; font-weight: 800; font-family: var(--font-heading); }
.about-img-badge .lbl { font-size: .78rem; line-height: 1.2; }
.about-desc { color: var(--brand-muted); margin-bottom: 16px; line-height: 1.75; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.feature-item { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.feature-item .check {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(181,80,43,.12); color: var(--brand-terracotta);
    display: flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0;
}

/* ---------- Products (home + products page) ---------- */
.products-section { padding: 90px 0; }
.product-card {
    display: block; background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--brand-border);
    transition: var(--transition);
    height: 100%;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.12); border-color: transparent; }
.product-card-img { overflow: hidden; height: 220px; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.1); }
.product-card-body { padding: 18px 20px; }
.product-card-body h5 { font-family: var(--font-heading); font-weight: 700; margin-bottom: 6px; color: var(--brand-charcoal); }
.product-card-link { color: var(--brand-terracotta); font-size: .88rem; font-weight: 600; }

.product-category-section { padding: 80px 0; }
.product-category-section.bg-alt { background: var(--brand-cream); }
.product-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-gallery-item { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.product-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, box-shadow .3s ease; }
.product-gallery-item:hover img { transform: scale(1.12); }

/* ---------- Gallery page ---------- */
.gallery-section { padding: 80px 0; }
.gallery-filters { margin-bottom: 40px; }
.gallery-filter-btn {
    background: transparent; border: 2px solid var(--brand-border);
    color: var(--brand-charcoal); padding: 8px 20px; border-radius: 30px;
    margin: 4px; font-weight: 600; font-size: .88rem; transition: var(--transition);
}
.gallery-filter-btn:hover, .gallery-filter-btn.active { background: var(--brand-terracotta); color: #fff; border-color: var(--brand-terracotta); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.15); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(43,36,32,.55);
    color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; opacity: 0; transition: var(--transition); text-align: center; padding: 12px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.4rem; }

/* ---------- Testimonials ---------- */
.testimonial-section { padding: 90px 0; background: var(--brand-cream); }
.testimonial-card {
    background: #fff; border-radius: 14px; padding: 30px; height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.06); transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.testimonial-stars { color: var(--brand-gold); margin-bottom: 14px; }
.testimonial-msg { color: var(--brand-muted); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
    background: rgba(181,80,43,.1); color: var(--brand-terracotta);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: .92rem; }
.testimonial-role { font-size: .8rem; color: var(--brand-muted); }
#testimonialCarousel .carousel-control-prev, #testimonialCarousel .carousel-control-next { width: 5%; filter: invert(1) grayscale(1); opacity: .5; }

/* ---------- Trust badges ---------- */
.trust-section { padding: 60px 0; }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--brand-charcoal); }
.trust-badge i { font-size: 2rem; color: var(--brand-terracotta); }
.trust-badge span { font-weight: 600; font-size: .9rem; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--brand-terracotta); padding: 44px 0; color: #fff; }
.cta-strip-title { font-family: var(--font-heading); font-weight: 700; margin-bottom: 6px; }
.cta-strip-text { opacity: .9; }
.cta-strip-form .form-control { border: none; padding: 12px 14px; border-radius: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-charcoal); color: rgba(255,255,255,.75); padding-top: 70px; }
.footer-top {
    max-width: 1240px; margin: 0 auto; padding: 0 24px 50px;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin: 14px 0 20px; }
.footer-heading { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--brand-gold); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: .88rem; }
.footer-contact-item a { color: rgba(255,255,255,.75); }
.footer-contact-item a:hover { color: var(--brand-gold); }
.footer-contact-icon { color: var(--brand-terracotta); margin-top: 2px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 24px; display: flex; justify-content: space-between; align-items: center;
    max-width: 1240px; margin: 0 auto; font-size: .85rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom-links a { color: rgba(255,255,255,.6); margin-left: 18px; }
.footer-bottom-links a:hover { color: var(--brand-gold); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 1040;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 8px 24px rgba(37,211,102,.5);
    animation: pulse-wa 2.4s infinite;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Scroll to top ---------- */
.scroll-top {
    position: fixed; bottom: 96px; right: 26px; z-index: 1040;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--brand-terracotta); color: #fff; border: none;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--brand-maroon); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--brand-cream); padding: 90px 0 60px; }
.page-hero-title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: var(--brand-charcoal); margin: 10px 0; }
.page-hero-subtitle { color: var(--brand-muted); max-width: 680px; margin: 0 auto; }

/* ---------- Strengths (about page) ---------- */
.strengths-section { padding: 90px 0; }
.strength-card {
    display: flex; gap: 18px; padding: 26px; border-radius: 14px;
    border: 1px solid var(--brand-border); height: 100%; transition: var(--transition);
}
.strength-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.08); border-color: transparent; }
.strength-icon {
    width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0;
    background: rgba(181,80,43,.1); color: var(--brand-terracotta);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.strength-card h5 { font-family: var(--font-heading); font-weight: 700; margin-bottom: 8px; }
.strength-card p { color: var(--brand-muted); font-size: .92rem; margin: 0; }

/* ---------- Contact page ---------- */
.contact-section { padding: 40px 0 100px; }
.contact-quick-card {
    display: block; text-align: center; padding: 34px 20px; border-radius: 14px;
    border: 1px solid var(--brand-border); transition: var(--transition); color: var(--brand-charcoal);
}
.contact-quick-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.1); color: var(--brand-terracotta); border-color: transparent; }
.contact-quick-icon {
    width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px;
    background: rgba(181,80,43,.1); color: var(--brand-terracotta);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.contact-form-card, .contact-info-card {
    background: #fff; border-radius: 14px; padding: 30px;
    border: 1px solid var(--brand-border);
}
.contact-map-wrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--brand-border); }
.enquiry-form .form-control, .enquiry-form .form-select { padding: 12px 14px; border-radius: 6px; border-color: var(--brand-border); }
.enquiry-form .form-control:focus, .enquiry-form .form-select:focus { border-color: var(--brand-terracotta); box-shadow: 0 0 0 .2rem rgba(181,80,43,.15); }
.enquiry-form .form-label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }

/* ---------- Modal ---------- */
.modal-content { border-radius: 14px; border: none; }
.modal-header { border-bottom: 1px solid var(--brand-border); }
.modal-title { font-family: var(--font-heading); }

/* ==========================================================================
   Responsive breakpoints — 375 / 768 / 1024 / 1440
   ========================================================================== */

@media (max-width: 1200px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-main { height: 340px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .product-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
        background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
        padding: 90px 24px 24px; gap: 4px; box-shadow: -10px 0 30px rgba(0,0,0,.15);
        transition: right .35s ease; z-index: 1029;
    }
    .nav-menu.open { right: 0; }
    .nav-cta { width: 100%; text-align: center; margin-top: 10px; }
    .nav-call { font-size: 1.2rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .cta-strip .row { text-align: center; }
}

@media (max-width: 768px) {
    .about-features { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .product-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-carousel, .hero-carousel .carousel-item, .hero-banner-img { height: 62vh; min-height: 420px; }
    .stats-band .col-6 { margin-bottom: 6px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links a { margin: 0 8px; }
}

@media (max-width: 575.98px) {
    .footer-top { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .section-title { font-size: 1.5rem; }
    .about-img-badge { right: 10px; bottom: -16px; padding: 12px 16px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 18px; right: 18px; }
    .scroll-top { bottom: 80px; right: 18px; }
    .contact-form-card, .contact-info-card { padding: 20px; }
}

@media (min-width: 1440px) {
    .nav-container, .footer-top, .footer-bottom { max-width: 1360px; }
}
