/* ============================================================
   SHREE KRISHNA CATERING — MAIN STYLESHEET
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}
a { color: inherit; }
img { max-width: 100%; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: #1a1a1a;
    color: #ccc;
    font-size: .9rem;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-left span { margin-right: 20px; }
.top-bar a { color: #FF9933; text-decoration: none; }
.top-bar a:hover { color: #fff; }

/* ---------- Header / Nav ---------- */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #8B0000;
    font-weight: 700;
    font-size: 1.4rem;
}
.logo em { color: #FF9933; font-style: normal; }
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
}
.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color .3s;
}
.main-nav a:hover,
.main-nav a.active { color: #8B0000; }
.btn-contact {
    background: #8B0000;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 25px;
}
.btn-contact:hover { background: #FF9933 !important; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: #8B0000;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-block;
    background: #FF9933;
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .3s;
}
.btn-primary:hover {
    background: #8B0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all .3s;
}
.btn-outline:hover {
    background: #fff;
    color: #8B0000;
}
.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.features,
.services-preview,
.content-section { padding: 70px 0; }
.features { background: #FFF8F0; }

.section-title {
    text-align: center;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 45px;
    color: #8B0000;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.feature-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .07);
    transition: transform .3s;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}
.feature-card .icon { font-size: 2.8rem; margin-bottom: 15px; }
.feature-card h3 { color: #8B0000; margin-bottom: 12px; font-size: 1.15rem; }
.feature-card p { color: #666; font-size: .95rem; }
.center-btn { text-align: center; margin-top: 40px; }

/* ---------- Page Header ---------- */
.page-header {
    background: #8B0000;
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}
.page-header h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 10px;
}
.page-header p { opacity: .9; }

/* ---------- CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, #8B0000, #FF9933);
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}
.cta-section h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 15px;
}
.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}
.about-grid h2 { color: #8B0000; margin-bottom: 15px; }
.about-grid h3 { color: #8B0000; margin: 20px 0 10px; }
.check-list { list-style: none; line-height: 2.2; }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat {
    background: #FFF8F0;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}
.stat h3 { color: #8B0000; font-size: 2rem; margin-bottom: 5px; }
.stat p { color: #666; font-size: .9rem; }

/* ---------- Menu ---------- */
.menu-category { margin-bottom: 45px; }
.menu-category h2 {
    color: #8B0000;
    border-bottom: 2px solid #FF9933;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.menu-item {
    background: #FFF8F0;
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.menu-note {
    background: #FFF3E0;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #FF9933;
    margin-top: 30px;
}

/* ---------- Contact ---------- */
.quick-contact { padding: 50px 0; background: #FFF8F0; }
.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.quick-card {
    background: #fff;
    padding: 32px 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: all .3s;
    border-top: 4px solid #8B0000;
    display: block;
}
.quick-card:hover {
    transform: translateY(-8px);
    border-top-color: #FF9933;
}
.quick-icon { font-size: 2.4rem; margin-bottom: 12px; }
.quick-card h3 { color: #8B0000; margin-bottom: 8px; }
.quick-card p { font-size: .95rem; color: #666; }
.quick-action {
    display: inline-block;
    margin-top: 12px;
    color: #FF9933;
    font-weight: 600;
    font-size: .9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}
.info-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.info-item strong { display: block; color: #8B0000; margin-bottom: 8px; }
.info-item.emergency {
    background: #FFF3E0;
    padding: 22px;
    border-radius: 10px;
    border-left: 4px solid #FF9933;
    border-bottom: none;
}
.btn-call-big {
    display: inline-block;
    background: #8B0000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}
.btn-call-big:hover { background: #FF9933; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #FFF8F0;
    padding: 30px;
    border-radius: 15px;
}
.contact-form h3 { color: #8B0000; margin-bottom: 8px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FF9933;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contact-preference {
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}
.contact-preference > label {
    font-weight: 600;
    color: #8B0000;
    display: block;
    margin-bottom: 8px;
}
.radio-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: normal;
}
.form-note {
    text-align: center;
    font-size: .9rem;
    color: #666;
    margin-top: 8px;
}
.form-note a {
    color: #8B0000;
    font-weight: 600;
    text-decoration: none;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.alert-success { background: #d4edda; color: #155724; }
.alert-error   { background: #f8d7da; color: #721c24; }

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    color: #fff;
    padding: 20px 15px 12px;
    font-weight: 500;
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}
.center-text {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.main-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-grid h3 {
    color: #FF9933;
    margin-bottom: 15px;
    font-size: 1.05rem;
}
.footer-grid ul { list-style: none; }
.footer-grid a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
    transition: color .3s;
}
.footer-grid a:hover { color: #FF9933; }
.social-links a { margin-right: 14px; font-weight: 500; }
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: .9rem;
}

/* ---------- Floating Contact Buttons ---------- */
.floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}
.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 56px;
    height: 56px;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .25);
    transition: all .3s;
    padding: 0 16px;
    font-weight: 600;
}
.float-btn span {
    display: none;
    white-space: nowrap;
    font-size: .9rem;
}
.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .35);
}
.float-call { background: #8B0000; }
.float-call:hover { background: #a50000; }
.float-whatsapp { background: #25D366; }
.float-whatsapp:hover { background: #1ebe5d; }
.float-top {
    background: #FF9933;
    width: 56px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}
.float-top.show { opacity: 1; visibility: visible; }
.float-top:hover { background: #e68a2e; }

@media (hover: hover) and (min-width: 900px) {
    .float-btn:hover span { display: inline; }
}

/* ============================================================
   🎞️ HERO SLIDER — SLIDING TRANSITION, CLEAR IMAGES
   ============================================================ */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #1a1a1a;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.9s ease-in-out, transform 0.9s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    will-change: opacity, transform;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Dark gradient at TOP+BOTTOM only */
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.15) 65%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    animation: slideUp 0.9s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slide-content h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 18px;
    font-weight: 700;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9),
        0 4px 20px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 35px;
    opacity: 1;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.6);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.95);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.dot:hover,
.dot.active {
    background: #FF9933;
    border-color: #FF9933;
    width: 30px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.75);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.slider-arrow:hover {
    background: #FF9933;
    border-color: #FF9933;
    transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: #FF9933;
    z-index: 20;
    animation: progress 5s linear infinite;
}
@keyframes progress {
    from { width: 0; }
    to   { width: 100%; }
}
.hero-slider:hover::after {
    animation-play-state: paused;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .contact-grid,
    .about-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
        display: none;
        padding: 20px;
    }
    body.nav-open .main-nav { display: block; }
    .main-nav ul {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .main-nav a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    .hide-sm { display: none; }
    .floating-contact {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    .float-btn { min-width: 50px; height: 50px; }

    /* Slider mobile */
    .hero-slider { height: 500px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 1.5rem; }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }
    .slider-dots { bottom: 15px; gap: 8px; }
    .dot { width: 10px; height: 10px; }
    .dot.active { width: 24px; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .radio-group { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    .hero-slider { height: 450px; }
    .slide-content h2 { font-size: 1.6rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}