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

:root {
    /* Maidmy Kitchen Brand Colors */
    --yellow: #FFC107;
    --dark-yellow: #FFB300;
    --brown: #5D4037;
    --dark-brown: #3E2723;
    --light-brown: #8D6E63;
    --cream: #FFF9E6;
    --white: #FFFFFF;
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    
    /* Legacy colors for compatibility */
    --light-blue: #FFF9E6;
    --blue: #FFC107;
    --dark-blue: #FFB300;
    --orange: #FFC107;
    --dark-orange: #FFB300;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Bootstrap Navbar Customization */
.navbar-brand {
    font-size: 1.5rem !important;
    color: var(--brown) !important;
}

.logo-img {
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.brand-text {
    color: var(--brown) !important;
    font-size: 1.3rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.3s;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--brown) !important;
}

.nav-book-btn {
    border-radius: 50px !important;
    font-weight: bold !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--dark-yellow) 100%);
    color: var(--brown);
    padding-top: 80px; /* Account for fixed navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    color: var(--brown) !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.hero .lead {
    color: var(--dark-brown) !important;
}

.hero ul li {
    font-size: 1.1rem;
    color: var(--dark-brown) !important;
}

.hero ul li i {
    color: var(--brown) !important;
}

/* Hero Visuals */
.hero-visuals {
    padding: 2rem 0;
}

.hero-image-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.hero-image-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--orange);
}

.hero-image-card i {
    filter: drop-shadow(0 4px 8px rgba(93, 64, 55, 0.3));
    animation: float 3s ease-in-out infinite;
    color: var(--brown) !important;
}

.hero-image-card:nth-child(2) i {
    animation-delay: 0.5s;
}

.hero-image-card:nth-child(3) i {
    animation-delay: 1s;
}

.hero-image-card:nth-child(4) i {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* CTA Button - Bootstrap Button Customization */
.btn-warning {
    background-color: var(--brown) !important;
    border-color: var(--brown) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.3);
    transition: all 0.3s;
}

.btn-warning:hover {
    background-color: var(--dark-brown) !important;
    border-color: var(--dark-brown) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.4);
}

.btn-warning:focus {
    box-shadow: 0 0 0 0.25rem rgba(93, 64, 55, 0.5) !important;
}

/* Section Title */
.section-title {
    color: var(--brown) !important;
    font-weight: bold;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.service-card {
    background-color: var(--cream) !important;
    border: 2px solid transparent !important;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3) !important;
    border-color: var(--yellow) !important;
}

.service-icon {
    font-size: 3rem;
}

.service-card .card-title {
    color: var(--brown) !important;
    font-weight: bold;
}

.service-card .card-text {
    color: var(--text-light);
}

/* About Section */
.about {
    background-color: var(--cream);
}

.feature {
    background-color: var(--white) !important;
    height: 100%;
}

.feature .card-title {
    color: var(--brown) !important;
    font-weight: bold;
}

.feature .card-text {
    color: var(--text-light);
}

/* Team Section */
.team {
    background-color: var(--white);
}

.team-card {
    background-color: var(--light-blue) !important;
    border: 2px solid transparent !important;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.2) !important;
    border-color: var(--blue) !important;
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.team-card .card-title {
    color: var(--dark-blue) !important;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card .card-text {
    color: var(--text-light);
    min-height: 60px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social .btn {
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-info {
    background-color: var(--light-blue) !important;
}

.contact-info .card-title {
    color: var(--brown) !important;
    font-weight: bold;
}

/* Map Section */
.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 0 0 15px 15px;
}

/* Booking Section */
.booking {
    background-color: var(--cream);
}

.booking-form {
    background-color: var(--white) !important;
}

.booking-form .card-title {
    color: var(--brown) !important;
    font-weight: bold;
}

.whatsapp-button {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    border-radius: 50px !important;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    transform: translateY(-2px);
}

/* Form Customization */
.form-control:focus,
.form-select:focus {
    border-color: var(--yellow) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25) !important;
}

/* Required Field Indicators */
.form-label .text-danger {
    font-weight: bold;
    font-size: 1.1em;
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid,
.form-check-input.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 .4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
}

/* Home Photo Gallery Section */
.home-photos {
    background-color: var(--cream);
}

.photo-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.2);
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--dark-yellow) 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--brown);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.photo-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--brown) 0%, var(--dark-brown) 100%) !important;
    color: var(--white) !important;
}

.footer h5 {
    color: var(--white) !important;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer a {
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--white) !important;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: var(--white);
}

/* Call Floating Button */
.call-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 30px;
    background-color: var(--blue);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulseCall 2s infinite;
}

.call-float:hover {
    background-color: var(--dark-blue);
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

@keyframes pulseCall {
    0% {
        box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(33, 150, 243, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    }
}

/* Modal Customization - Bootstrap Modal */
.modal-content {
    border-radius: 20px !important;
    border: none !important;
}

.modal-header {
    border-bottom: 2px solid var(--light-blue) !important;
}

.modal-title {
    color: var(--dark-blue) !important;
    font-weight: bold;
}

.btn-close:focus {
    box-shadow: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 70px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero .lead {
        font-size: 1rem !important;
    }

    .hero-visuals {
        margin-top: 2rem;
        padding: 1rem 0;
    }

    .hero-image-card {
        min-height: 120px;
        padding: 1.5rem 1rem;
    }

    .hero-image-card i {
        font-size: 3rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .call-float {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 20px;
    }

    .nav-book-btn {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* Primary color override for Bootstrap - Maidmy Kitchen Theme */
.text-primary {
    color: var(--brown) !important;
}

.bg-primary {
    background-color: var(--yellow) !important;
}

.btn-primary {
    background-color: var(--brown) !important;
    border-color: var(--brown) !important;
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--dark-brown) !important;
    border-color: var(--dark-brown) !important;
    color: var(--white) !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(93, 64, 55, 0.5) !important;
}

