/* ============================================================
   compro-jti — TiyaGolfClub-inspired theme
   Palette : sage green / navy / cream / gold / terracotta
   Font    : DM Sans
   ============================================================ */
:root {
    /* admin-tunable (overridden inline from content.json theme) */
    --primary: #81B29A;        /* sage green  */
    --primary-light: #9FC3B4;  /* lighter sage */
    --accent: #F2CC8F;         /* gold         */

    /* fixed structural palette */
    --navy: #3D405B;
    --cream: #F4F1DE;
    --terracotta: #E07A5F;
    --gold: #F2CC8F;
    --ink: #000000;
    --gray-50: #F4F1DE;
    --gray-100: #F4F1DE;
    --gray-200: #E7E3D3;
    --gray-300: #CFD0D6;
    --gray-400: #9A9BA6;
    --gray-500: #717275;
    --gray-600: #585A6A;
    --gray-700: #3D405B;
    --white: #ffffff;

    --radius-pill: 100px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 10px;

    --shadow: 0 10px 30px rgba(61, 64, 91, 0.08);
    --shadow-lg: 0 24px 48px rgba(61, 64, 91, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-500);
    background: var(--white);
    font-size: 18px;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

p { color: var(--gray-500); }

a { transition: all 0.3s; }

::selection { background: var(--primary); color: var(--white); }

/* ===== TOPBAR ===== */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}
.topbar-socials a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0.75rem;
    transition: color 0.2s;
    text-decoration: none;
}
.topbar-socials a:hover { color: var(--gold); }

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--gray-200);
    padding: 0.9rem 0;
    transition: all 0.3s ease;
}
.navbar-brand { font-size: 1.5rem; }
.brand-logo { height: 34px; width: auto; display: block; }
.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    margin: 0 0.5rem;
    border-radius: var(--radius-pill);
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }

.btn-cta {
    background: var(--gold);
    color: var(--white);
    border: 2px solid transparent;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.btn-cta:hover {
    background: var(--terracotta);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(224, 122, 95, 0.35);
}

/* ===== HERO ===== */
.hero {
    --hero-green: #2f7d54;
    position: relative;
    padding: 120px 0 110px;
    background: radial-gradient(circle at 18% 20%, #e9f5ee 0, var(--white) 55%);
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(129, 178, 154, 0.22), transparent 70%);
    top: -160px; right: -140px;
    pointer-events: none;
    filter: blur(10px);
    border-radius: 50%;
}
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.55; animation: heroFloat 9s ease-in-out infinite; }
.blob-1 { width: 70px; height: 70px; background: #fef3c7; top: 14%; left: 6%; }
.blob-2 { width: 38px; height: 38px; background: #dcfce7; bottom: 20%; left: 14%; animation-delay: 1.5s; }
.blob-3 { width: 24px; height: 24px; background: #fee2e2; top: 60%; right: 8%; animation-delay: 0.7s; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-24px) translateX(10px); }
}

.hero-badge {
    display: inline-block;
    background: rgba(129, 178, 154, 0.16);
    color: var(--hero-green);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.4rem, 4.6vw, 3.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.hero-title .accent-underline {
    position: relative;
    display: inline-block;
    color: var(--hero-green);
}
.hero-title .accent-underline svg {
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 14px;
}
.hero-title .accent-underline svg path { stroke: var(--accent); }
.text-gradient {
    background: linear-gradient(135deg, #F2CC8F, #E07A5F);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-lead {
    font-size: 1.12rem;
    color: var(--gray-500);
    max-width: 520px;
    margin-bottom: 2rem;
}
.btn-hero-primary {
    background: var(--hero-green);
    color: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-hero-primary:hover {
    background: #265f43;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(47, 125, 84, 0.35);
}
.btn-hero-outline {
    background: var(--white);
    color: var(--ink);
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-hero-outline:hover {
    border-color: var(--hero-green);
    color: var(--hero-green);
    transform: translateY(-3px);
}

.hero-media { position: relative; }
.hero-media-frame {
    border-radius: 32px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gray-200);
}
.hero-media-frame > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media-frame .carousel,
.hero-media-frame .carousel-inner,
.hero-media-frame .carousel-item { height: 100%; }
.hero-media-frame .carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    animation: heroDrift 6s ease-in-out infinite;
}
.float-card .fc-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
    background: var(--primary);
}
.float-card-2 .fc-icon { background: linear-gradient(135deg, #F2CC8F, #d97706); }
.float-card-3 .fc-icon { background: var(--navy); }
.float-card .fc-val { font-weight: 700; font-size: 1rem; line-height: 1.1; color: var(--ink); }
.float-card .fc-label { font-size: 0.74rem; color: var(--gray-500); }
.float-card-1 { top: 5%; left: -6%; }
.float-card-2 { top: 5%; right: -6%; animation-delay: 1s; }
.float-card-3 { bottom: 6%; right: -6%; animation-delay: 2s; }
@keyframes heroDrift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-tag {
    display: inline-block;
    background: rgba(129, 178, 154, 0.14);
    color: var(--navy);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--ink); }
.section-subtitle { font-size: 1.1rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: auto; display: block; }
.about-img-float {
    position: absolute; bottom: -30px; right: -30px; width: 180px;
    border-radius: var(--radius-md); overflow: hidden;
    border: 5px solid white; box-shadow: var(--shadow);
}
.about-img-float img { width: 100%; display: block; }
.about-features { display: flex; flex-direction: column; gap: 1rem; }
.about-feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.af-icon { color: var(--primary); font-size: 1.3rem; margin-top: 2px; }

/* ===== COUNTERS ===== */
.counters-section { background: var(--cream); padding: 70px 0; }
.counter-item { padding: 1rem; }
.counter-number { font-size: 3rem; font-weight: 700; color: var(--navy); }
.counter-plus { font-size: 2rem; font-weight: 600; color: var(--primary); }
.counter-item p { font-size: 0.95rem; color: var(--gray-500); margin-top: 0.5rem; }

/* ===== SERVICES ===== */
.services { background: var(--cream); }
.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--gray-200);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-icon {
    width: 56px; height: 56px;
    background: var(--primary);
    border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.4rem; margin-bottom: 1rem;
}
.service-card h5 { font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { color: var(--gray-500); font-size: 0.95rem; margin: 0; }

/* ===== PRODUCTS ===== */
.products { background: var(--white); }
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--gray-200);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card-img { height: 240px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 1.5rem; }
.product-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
}
.badge-broiler { background: var(--terracotta); }
.product-card h3 { font-size: 1.4rem; font-weight: 700; margin: 0.75rem 0; }
.product-features { list-style: none; padding: 0; margin: 1rem 0; }
.product-features li { padding: 0.4rem 0; font-size: 0.95rem; color: var(--gray-600); }
.product-features i { color: var(--primary); margin-right: 0.5rem; }

/* ===== TEAM / PARTNER (Novena-style) ===== */
.team { background: var(--cream); }
.team .section-title { margin-bottom: 1rem; }
.team .divider {
    width: 40px; height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--terracotta));
    border-radius: 3px;
}
.clients-logo { align-items: center; }
.client-thumb { text-align: center; }
.client-thumb a {
    display: inline-block;
    padding: 1rem;
    opacity: 0.85;
    transition: all 0.3s;
}
.client-thumb a:hover { opacity: 1; transform: translateY(-4px); }
.client-thumb img { max-width: 100%; max-height: 80px; width: auto; object-fit: contain; }

/* ===== EXPORT ===== */
.export-section {
    background: linear-gradient(135deg, var(--navy) 0%, #2a2d44 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.export-bg-shapes { position: absolute; inset: 0; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; opacity: 0.05; background: white; }
.shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.shape-2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }
.shape-3 { width: 200px; height: 200px; top: 50%; left: 60%; }
.export-section .shape { opacity: 0.06; background: white; }
.export-section .section-title { color: white; }
.export-section .section-subtitle { color: rgba(255, 255, 255, 0.85); max-width: 760px; }
.export-section .section-tag { background: rgba(255, 255, 255, 0.12); color: var(--gold); }
.export-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(6px);
    transition: all 0.3s;
}
.export-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.3); }
.export-icon {
    width: 56px; height: 56px;
    background: var(--gold);
    border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.4rem; margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(242, 204, 143, 0.35);
}
.export-card h5 { font-weight: 700; color: white; margin-bottom: 0.5rem; }
.export-card p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin: 0; }
.export-cta {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(242, 204, 143, 0.4);
    padding: 0.9rem 2.5rem;
}
.export-cta:hover { background: var(--terracotta); transform: translateY(-3px); }

/* ===== GALLERY ===== */
.gallery { background: var(--white); }
.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 240px;
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 2rem 1rem 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white; font-weight: 600; font-size: 0.9rem;
}

/* ===== TESTIMONIAL ===== */
.testimonial { background: var(--cream); }
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
}
.testimonial-stars { color: var(--gold); margin-bottom: 1rem; }
.testimonial-text { color: var(--gray-600); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { color: var(--ink); }
.testimonial-author small { color: var(--gray-500); }

/* ===== CONTACT ===== */
.contact { background: var(--white); }
.contact-info { background: var(--navy); padding: 2rem; border-radius: var(--radius-lg); height: 100%; color: rgba(255,255,255,0.9); }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item strong { color: var(--white); }
.contact-icon {
    width: 48px; height: 48px;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.contact-socials a {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-radius: var(--radius-pill);
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
}
.contact-socials a:hover { background: var(--gold); color: var(--white); }
.contact-form { background: white; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-control, .form-select {
    padding: 0.75rem 1.1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    color: var(--gray-600);
}
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: none; }
textarea.form-control { border-radius: var(--radius-lg); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: var(--gray-300); padding: 80px 0 30px; }
.footer-brand { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 1rem; }
.footer-brand .footer-logo { height: 40px; width: auto; display: block; }
.footer-heading { color: var(--white); font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-desc { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.footer-subscribe .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
}
.footer-subscribe .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero { padding: 70px 0; }
    .hero-title { font-size: 2.3rem; }
    .section-title { font-size: 1.9rem; }
    .about-img-float { display: none; }
    .section { padding: 70px 0; }
    .hero-media { margin-top: 2rem; }
    .float-card-1 { left: -2%; }
    .float-card-2 { right: -2%; }
    .float-card-3 { right: -2%; }
}
