/* Magic Kitchen — Premium UI enhancements */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --primary-color: #e67a22;
    --primary-light: #f5a962;
    --primary-dark: #c45f10;
    --accent-color: #e85d4a;
    --text-color: #1a1a2e;
    --text-muted: #5c5c7a;
    --background-color: #faf8f5;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --border: rgba(26, 26, 46, 0.08);
    --gradient: linear-gradient(135deg, #e67a22 0%, #e85d4a 100%);
    --gradient-soft: linear-gradient(135deg, rgba(230, 122, 34, 0.12) 0%, rgba(232, 93, 74, 0.08) 100%);
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.1);
    --shadow-lg: 0 20px 50px rgba(26, 26, 46, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
}

* {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

/* ——— Navbar ——— */
.navbar {
    padding: 0.85rem 4%;
    background: rgba(15, 15, 25, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.navbar.scrolled {
    background: rgba(15, 15, 25, 0.92);
    padding: 0.65rem 4%;
    box-shadow: var(--shadow-md);
}

/* Logo — navbar.css */

.navbar-logo img {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(230, 122, 34, 0.5);
    box-shadow: 0 0 0 3px rgba(230, 122, 34, 0.15);
}

.navbar-menu li a {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-full);
}

.navbar-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: none;
}

.navbar-menu li a::after {
    display: none;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    background: var(--gradient);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(230, 122, 34, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 122, 34, 0.5);
    color: #fff !important;
}

/* ——— Hero ——— */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 25, 0.55) 0%,
        rgba(15, 15, 25, 0.75) 50%,
        rgba(15, 15, 25, 0.85) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-video-bg {
    filter: brightness(0.75) contrast(1.05) saturate(1.1);
}

.hero-content {
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 15, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin: 0 auto 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.02em;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

.hero-badge i {
    color: var(--primary-light);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.hero-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    text-align: left;
    line-height: 1.3;
}

.hero-badge-line {
    display: block;
}

.hero-badge-sub {
    font-size: 0.8em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 768px) {
    .hero {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-top: calc(4.75rem + env(safe-area-inset-top, 0px)) !important;
        padding-bottom: 2.5rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        min-height: 100dvh;
        height: auto !important;
        overflow-x: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0.5rem 0 0 !important;
        margin-top: 0.25rem;
    }

    .hero-badge {
        display: flex !important;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 1rem;
        padding: 0.65rem 0.85rem;
        border-radius: 10px;
        gap: 0.6rem;
        box-sizing: border-box;
    }

    .hero-badge-text {
        flex: 1;
        min-width: 0;
        align-items: flex-start;
    }

    .hero-badge-line {
        font-size: 0.82rem;
        line-height: 1.35;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    .hero-badge-sub {
        font-size: 0.75rem;
    }
}

@media (min-width: 769px) {
    .hero-badge-text {
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
    }

    .hero-badge-sub::before {
        content: '·';
        margin-right: 0.15rem;
        color: rgba(255, 255, 255, 0.5);
    }
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
}

.hero-content .hero-lead {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 1.75rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 32px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #fff;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1.2;
}

.hero-stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ——— Section headings ——— */
.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    animation: none;
}

.section-heading::after {
    width: 60px;
    height: 4px;
    border-radius: var(--radius-full);
}

.small-heading {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: normal;
    font-weight: 500;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ——— Buttons ——— */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 32px;
    background: var(--gradient);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 24px rgba(230, 122, 34, 0.35);
    text-decoration: none;
}

.btn-primary:hover {
    box-shadow: 0 10px 32px rgba(230, 122, 34, 0.45);
    transform: translateY(-3px);
}

/* ——— Cards ——— */
.why-choose-card,
.service-card,
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.why-choose-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 122, 34, 0.2);
}

.why-choose-card i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-soft);
    border-radius: var(--radius-md);
    font-size: 1.75rem !important;
    margin: 0 auto 1.25rem;
}

.why-choose-card h3,
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--text-color);
}

.service-card img {
    border-radius: var(--radius-md);
}

/* ——— About ——— */
.about {
    background: var(--surface);
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ——— Gallery ——— */
.gallery-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.gallery-overlay {
    background: linear-gradient(transparent, rgba(15, 15, 25, 0.9));
}

/* ——— Testimonials ——— */
.testimonial-card {
    border-radius: var(--radius-lg);
}

.testimonial-card::before {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    opacity: 0.3;
}

/* ——— Contact form ——— */
.contact-form input,
.contact-form textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(230, 122, 34, 0.12);
}

/* ——— Kerala services strip ——— */
.kerala-services {
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--surface) 100%);
    border-top: 1px solid var(--border);
}

.kerala-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
    max-width: 1100px;
    margin: 0 auto;
}

.kerala-service-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.kerala-service-link i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.kerala-service-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.kerala-services-quick {
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.kerala-services-quick a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--gradient-soft);
    font-size: 0.9rem;
}

.kerala-services-quick a:hover {
    background: var(--gradient);
    color: #fff;
}

/* ——— Footer ——— */
footer {
    background: linear-gradient(180deg, #12121f 0%, #0a0a12 100%);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
    text-align: left;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

/* ——— Floating buttons ——— */
.whatsapp-btn,
.pdf-btn {
    box-shadow: var(--shadow-lg);
}

/* Mobile layout handled in mobile-first.css */
