/* ═══════════════════════════════════════════════════════════════
   Kavya Cab — Shared Component Styles
   Extracted verbatim from the component <style> blocks (Phase 4).
   Loaded after style.css on public pages; cascade order unchanged.
   ═══════════════════════════════════════════════════════════════ */

/* ───────────── HERO (from includes/components/hero.php) ───────────── */

/* ── KAVYA CAB HERO ──────────────────────────────────────── */
.kc-hero {
    min-height: 100svh;
    min-height: 640px;
    display: flex;
    align-items: center;
    background: #0f0f12;
}

@media (min-width: 992px) {
    .kc-hero { min-height: 700px; }
}

/* Background image */
.kc-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* <picture> must not interfere with the img's 100% sizing */
.kc-hero-bg picture {
    position: absolute;
    inset: 0;
    display: block;
}

.kc-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Left-to-right golden scrim */
.kc-hero-scrim-l {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(10,8,2,0.90) 0%,
            rgba(20,14,3,0.70) 40%,
            rgba(10,8,2,0.20) 75%,
            transparent 100%),
        linear-gradient(180deg,
            rgba(10,8,2,0.30) 0%,
            transparent 40%,
            rgba(10,8,2,0.50) 100%);
}

/* Bottom golden glow scrim */
.kc-hero-scrim-b {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(0deg,
        rgba(10,8,2,0.80) 0%,
        rgba(200,160,0,0.08) 40%,
        transparent 100%);
}

@media (max-width: 767px) {
    .kc-hero-scrim-l {
        background: linear-gradient(180deg,
            rgba(10,8,2,0.80) 0%,
            rgba(10,8,2,0.65) 55%,
            rgba(10,8,2,0.88) 100%);
    }
}

/* Floating particles */
.kc-hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.kc-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,194,0,0.6) 0%, transparent 70%);
    animation: kc-float 4s ease-in-out infinite;
}
.kc-p1 { width: 120px; height: 120px; top: 15%; right: 12%; animation-delay: 0s;   opacity: 0.25; }
.kc-p2 { width: 80px;  height: 80px;  top: 60%; right: 28%; animation-delay: 1.5s; opacity: 0.18; }
.kc-p3 { width: 50px;  height: 50px;  top: 35%; right: 8%;  animation-delay: 3s;   opacity: 0.20; }

/* Content area */
.kc-hero-content {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #fff;
}

.kc-hero-row {
    min-height: 500px;
}

/* Badge */
.kc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242,194,0,0.15);
    border: 1px solid rgba(242,194,0,0.40);
    color: #FFE566;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    margin-bottom: 20px;
}
.kc-hero-badge i { color: #F2C200; font-size: 0.72rem; }

/* Title */
.kc-hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: #ffffff;
    margin-bottom: 18px;
}

.kc-hero-title-gold {
    background: linear-gradient(90deg, #FFE566, #F2C200, #FFE566);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: kc-shimmer 4s linear infinite;
}

/* Sub-text */
.kc-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    max-width: 540px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.kc-hero-sub strong { color: rgba(255,255,255,0.95); }

@media (max-width: 575px) {
    .kc-hero-sub { font-size: 0.95rem; }
}

/* CTAs */
.kc-hero-ctas { margin-bottom: 36px; }

.kc-btn-hero-gold {
    background: linear-gradient(135deg, #E8B800 0%, #F2C200 45%, #FFE566 70%, #F2C200 100%);
    color: #0f0f0f !important;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 28px rgba(200,160,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    text-transform: uppercase;
    font-size: 0.88rem;
}
.kc-btn-hero-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(200,160,0,0.58);
    filter: brightness(1.08);
}
.kc-btn-hero-gold:active { transform: scale(0.98); }

.kc-btn-hero-ghost {
    background: rgba(255,255,255,0.08);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.30);
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    text-transform: uppercase;
}
.kc-btn-hero-ghost:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-2px);
}

/* Trust signals */
.kc-hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    max-width: 540px;
}

.kc-trust-item { min-width: 72px; }

.kc-trust-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.3px;
}
.kc-trust-suf { color: #F2C200; margin-left: 1px; font-size: 1.1rem; }

.kc-trust-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.58);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 3px;
}

.kc-trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.14);
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .kc-trust-num   { font-size: 1.25rem; }
    .kc-trust-label { font-size: 0.6rem; }
    .kc-hero-trust  { gap: 14px; }
}

/* Scroll hint */
.kc-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.45);
    font-size: 1.8rem;
    text-decoration: none;
    animation: kc-float 2s ease-in-out infinite;
    transition: color 0.2s;
}
.kc-scroll-hint:hover { color: #F2C200; }

/* Animations (defined here as fallback if root-theme.css not loaded) */
@keyframes kc-float {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50%       { transform: translateY(-10px) translateX(-50%); }
}
.kc-particle { animation-name: kc-float-simple; }
@keyframes kc-float-simple {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}
@keyframes kc-shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}
@keyframes kc-fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.kc-animate-fadeInUp {
    animation: kc-fadeInUp 0.65s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .kc-animate-fadeInUp,
    .kc-particle,
    .kc-hero-title-gold,
    .kc-scroll-hint { animation: none !important; }
}


/* ───────────── SERVICES (from includes/components/services.php) ───────────── */

.kc-services-section {
    padding: 100px 0;
    background: #ffffff;
}

.kc-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8a6d00;
    margin-bottom: 10px;
    padding: 5px 14px;
    background: rgba(242,194,0,0.14);
    border: 1px solid rgba(242,194,0,0.35);
    border-radius: 999px;
}

.kc-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 12px !important;
}
.kc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #E8B800, #FFE566, #E8B800);
    border-radius: 2px;
}

.kc-service-card {
    background: #ffffff;
    border: 1px solid #e8e9ec;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    cursor: default;
}
.kc-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(200,160,0,0.15);
    border-color: rgba(242,194,0,0.45);
}

.kc-service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(242,194,0,0.15), rgba(242,194,0,0.04));
    border: 1px solid rgba(242,194,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.kc-service-card:hover .kc-service-icon {
    background: linear-gradient(135deg, #E8B800, #F2C200);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(200,160,0,0.35);
}

.kc-service-icon i {
    font-size: 1.9rem;
    color: #A07F00;
    transition: color 0.3s ease;
}
.kc-service-card:hover .kc-service-icon i { color: #14130b; }

@media (max-width: 767px) {
    .kc-services-section { padding: 60px 0; }
}


/* ───────────── WHY US (from includes/components/why-us.php) ───────────── */

.kc-whyus-section {
    padding: 100px 0;
    background: #f7f7f8;
    position: relative;
}

.kc-why-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8e9ec;
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.kc-why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(200,160,0,0.14);
    border-color: rgba(242,194,0,0.35);
}

.kc-why-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #E8B800 0%, #F2C200 60%, #FFE566 100%);
    color: #14130b;
    box-shadow: 0 8px 20px rgba(200,160,0,0.35);
    transition: all 0.3s ease;
}
.kc-why-card:hover .kc-why-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 12px 30px rgba(200,160,0,0.50);
}

.kc-why-icon i {
    font-size: 1.9rem;
    color: #14130b;
}

@media (max-width: 767px) {
    .kc-whyus-section { padding: 60px 0; }
}


/* ───────────── CTA (from includes/components/cta.php) ───────────── */

.kc-cta-section {
    padding: 80px 0 100px;
    background: #f7f7f8;
}

.kc-cta-card {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1500 60%, #0f0f0f 100%);
    color: #ffffff;
    border-radius: 32px;
    padding: 64px 40px;
    max-width: 900px;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.25),
        0 0 0 1px rgba(242,194,0,0.15);
}

@media (max-width: 575px) {
    .kc-cta-card { padding: 44px 24px; border-radius: 24px; }
}

/* Glow orbs */
.kc-cta-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.kc-orb-1 {
    width: 300px; height: 300px;
    right: -80px; top: -80px;
    background: radial-gradient(circle, rgba(242,194,0,0.30) 0%, transparent 70%);
}
.kc-orb-2 {
    width: 200px; height: 200px;
    left: -60px; bottom: -60px;
    background: radial-gradient(circle, rgba(242,194,0,0.18) 0%, transparent 70%);
}

.kc-cta-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    color: #ffffff;
    line-height: 1.15;
}

.kc-cta-sub {
    color: rgba(255,255,255,0.72);
    max-width: 580px;
    font-size: 1rem;
    line-height: 1.7;
}
.kc-cta-sub strong { color: #F2C200; }

/* Gold primary button */
.kc-btn-cta-gold {
    background: linear-gradient(135deg, #E8B800, #F2C200, #FFE566);
    color: #0f0f0f !important;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 15px 32px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(200,160,0,0.50);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    border: none;
}
.kc-btn-cta-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(200,160,0,0.65);
    filter: brightness(1.08);
}

/* Ghost secondary button */
.kc-btn-cta-ghost {
    background: transparent;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 15px 32px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.kc-btn-cta-ghost:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.70);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .kc-cta-section { padding: 60px 0 80px; }
}


/* ───────────── FOOTER (from includes/footer.php) ───────────── */

/* ── KAVYA CAB FOOTER STYLES ─────────────────────────────── */
.kc-footer {
    background: #0f0f0f;
    color: rgba(255,255,255,0.75);
    position: relative;
    overflow: hidden;
}

.kc-footer-wave {
    line-height: 0;
    background: #f7f7f8; /* matches body bg */
}
.kc-footer-wave svg {
    display: block;
    width: 100%;
    height: 50px;
}

.kc-footer-main {
    padding: 60px 0 40px;
    position: relative;
}

/* Subtle background texture */
.kc-footer-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(242,194,0,0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(242,194,0,0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Brand */
.kc-footer-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.kc-footer-tagline {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

/* Heading */
.kc-footer-heading {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F2C200;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(242,194,0,0.2);
}

/* Links */
.kc-footer-links li {
    margin-bottom: 10px;
}
.kc-footer-links a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.kc-footer-links a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #F2C200;
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}
.kc-footer-links a:hover {
    color: #F2C200;
    transform: translateX(4px);
}
.kc-footer-links a:hover::before {
    opacity: 1;
}

/* Contact list */
.kc-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
}
.kc-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(242,194,0,0.12);
    border: 1px solid rgba(242,194,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #F2C200;
    font-size: 0.85rem;
}
.kc-footer-contact a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.2s;
}
.kc-footer-contact a:hover { color: #F2C200; }

/* Footer CTA button */
.kc-footer-cta-btn {
    background: linear-gradient(135deg, #E8B800 0%, #F2C200 50%, #FFE566 100%);
    color: #0f0f0f !important;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(200,160,0,0.35);
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}
.kc-footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,160,0,0.50);
    filter: brightness(1.08);
}

/* Social links */
.kc-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.kc-social-link:hover {
    background: #F2C200;
    border-color: #F2C200;
    color: #0f0f0f;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(242,194,0,0.45);
}

/* Bottom bar */
.kc-footer-bottom {
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
}
.kc-footer-copy,
.kc-footer-made {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

@media (max-width: 767px) {
    .kc-footer-main { padding: 40px 0 28px; }
    .kc-footer-tagline { max-width: 100%; }
    .kc-footer-wave svg { height: 32px; }
}

