/* Zamavundla Decor & Catering - Custom Styles */
/* Colors: Black (#000), White (#fff), Red (#dc3545 - Bootstrap danger) */

:root {
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --primary-red: #dc3545;
    --glow-color: rgba(220, 53, 69, 0.4);
}

* {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

::selection {
    background-color: rgba(220, 53, 69, 0.2);
    color: var(--text-dark);
}

/* Navigation */
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    max-width: 40px;
    max-height: 40px;
}

.logo-box {
    width: 40px;
    height: 40px;
    background-color: #000;
    color: white;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.25rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}

/* Glowing Button Effect */
.glow-btn {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0 var(--glow-color);
    transition: all 0.3s ease;
}

.glow-btn:hover {
    background-color: #c82333;
    border-color: #c82333;
    box-shadow: 0 0 20px 2px var(--glow-color);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    background-color: var(--bg-white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 30% 20%, rgba(220, 53, 69, 0.08), transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(220, 53, 69, 0.05), transparent 55%);
}

.badge-custom {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--text-muted);
}

.hero-image-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 0.25rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.02));
}

.hero-image-wrapper img {
    border-radius: 1.25rem;
}

.hero-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background-color: white;
    border: 2px solid var(--primary-red);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    transform: rotate(3deg);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.2);
    color: var(--text-dark);
    font-weight: 500;
}

/* Services Section */
.service-card {
    transition: all 0.3s ease;
    background-color: var(--bg-white) !important;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-red) !important;
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.15);
}

.service-icon {
    font-size: 2rem;
}

/* Gallery Section */
.gallery-item {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gallery-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* Package Cards */
.package-card {
    transition: all 0.3s ease;
    background-color: var(--bg-white) !important;
}

.package-highlight {
    background-color: rgba(220, 53, 69, 0.05) !important;
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.2) !important;
}

.package-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(220, 53, 69, 0.25) !important;
}

/* Forms */
.form-control {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.form-control:focus {
    background-color: var(--bg-white);
    border-color: var(--primary-red);
    color: var(--text-dark);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* About Section */
.about-image-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 0.25rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.02));
}

.about-image-wrapper img {
    border-radius: 1.25rem;
}

/* Footer */
.color-swatch {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}

/* Smooth Scrolling */
html {
    scroll-padding-top: 80px;
}

/* Menu Item Cards */
.menu-item-card {
    transition: all 0.3s ease;
    background-color: var(--bg-white) !important;
}

.menu-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        padding-top: 1rem;
        gap: 0.5rem !important;
    }

    .navbar-nav .nav-item {
        padding: 0.25rem 0;
    }

    .btn.ms-3 {
        margin-left: 0 !important;
        margin-top: 1rem;
        width: 100%;
    }

    .hero-section {
        padding: 2rem 0 !important;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }

    .hero-badge {
        display: none;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .service-icon {
        font-size: 1.5rem;
    }

    .card-body {
        padding: 1rem;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 1.5rem;
    }

    .display-5 {
        font-size: 1.35rem;
    }

    .display-6 {
        font-size: 1.25rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
        max-width: 35px;
        max-height: 35px;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .fs-5 {
        font-size: 1rem !important;
    }

    .gallery-item img {
        height: 180px;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }

    .form-control {
        min-height: 44px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: white;
}

/* Social Icons */
.btn-outline-dark.rounded-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-outline-dark.rounded-circle:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    margin-top: 3px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}