/* --- CSS VARIABLES (Used by Navbar) --- */
:root {
    --brand-red: #900000;
    --cream: #fdf0c3;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: var(--brand-red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 110px;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    position: relative; 
}

nav a {
    text-decoration: none;
    color: var(--cream);
    font-size: 16px;
    font-weight: 300;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffffff;
}

/* --- DROPDOWN STYLES --- */
.dropdown {
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-red);
    min-width: 220px;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    display: none; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 1001;
    border-top: 1px solid rgba(253, 240, 195, 0.2);
}

.dropdown li {
    width: 100%;
    margin: 0;
    text-align: left;
}

.dropdown li a {
    padding: 10px 25px;
    font-size: 14px;
    color: var(--cream);
    text-transform: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.dropdown li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 30px; 
}

nav ul li:hover .dropdown {
    display: block;
}

.has-dropdown > a::after {
    content: ' ▾';
    font-size: 12px;
    vertical-align: middle;
}

/* --- HAMBURGER MENU --- */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--cream);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* --- MOBILE NAV RESPONSIVENESS --- */
@media (max-width: 992px) {
    header { padding: 20px 5%; }
    .hamburger { display: flex; }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 110px;
        left: 0;
        width: 100%;
        bottom: 0;
        background-color: var(--brand-red);
        padding: 20px 0 60px 0;
        gap: 0;
        border-top: 1px solid rgba(253, 240, 195, 0.2);
        box-shadow: 0 15px 20px rgba(0,0,0,0.2);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    nav ul.active { display: flex; }
    nav ul li { width: 100%; text-align: center; }
    nav a { padding: 15px 0; font-size: 18px; border-bottom: 1px solid rgba(253, 240, 195, 0.1); }

    .dropdown {
        position: static;
        transform: none;
        width: 100%;
        background-color: rgba(0,0,0,0.1);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        display: none; 
        border-top: 1px solid rgba(253, 240, 195, 0.2);
    }

    nav ul li:hover .dropdown { display: none; }
    nav ul li.active .dropdown { display: block; }
    .dropdown li { text-align: center; }
    .dropdown li a { padding: 12px 20px; font-size: 16px; padding-left: 0; border-bottom: 1px solid rgba(253, 240, 195, 0.05); }

    .hamburger.toggle .line1 { transform: rotate(-45deg) translate(-9px, 7px); }
    .hamburger.toggle .line2 { opacity: 0; }
    .hamburger.toggle .line3 { transform: rotate(45deg) translate(-9px, -7px); }
}

@media (max-width: 480px) {
    header { padding: 15px 4%; height: 90px; }
    nav ul { top: 90px; }
    .logo-img { height: 50px; }
}







/* --- END OF NAVBAR.CSS --- */







/* --- LUXURY 4-COLUMN FOOTER --- */
.site-footer {
    background-color: var(--brand-red);
    color: var(--cream);
    padding: 80px 0 30px 0;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Column widths: Brand, Links, Services, Contacts */
    grid-template-columns: 1.2fr 0.8fr 1.8fr 1.2fr;
    gap: 40px;
    padding: 0 20px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Column 1: Brand Info */
.footer-logo {
    height: 65px;
    margin-bottom: 20px;
}

.brand-description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.85;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    color: var(--brand-red);
    background-color: var(--cream);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.3s, background-color 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #ffffff;
}

/* Links & Lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px; /* Standard vertical spacing */
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateX(5px);
}

/* --- COLUMN 3: SERVICES GRID FIX --- */
.services-grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 12px 20px; /* Vertical gap now matches the 12px margin of Links */
}

.services-grid-list li {
    margin-bottom: 0; /* Remove margin to let grid-gap handle spacing exclusively */
}

/* Column 4: Contacts */
.contact-block {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-block i {
    font-size: 16px;
    margin-top: 4px;
    color: #ffffff;
}
.contact-block .fa-phone-alt{
    transform: scaleX(-1); /* Flip phone icon to face right */
}

.contact-block p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding: 25px 20px 0 20px;
    border-top: 1px solid rgba(253, 240, 195, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-socials, .contact-block {
        justify-content: center;
    }

    .services-grid-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* --- HEADER BUTTON STYLES --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.nav-phone {
    color: var(--cream);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;

}

/* PILL BUTTON STYLE */
.schedule-btn {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.schedule-btn span {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.arrow-circle {
    background: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-circle i {
    color: #000;
    font-size: 12px;
}

.schedule-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dim background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.modal-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Same width as your contact card */
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Ensure the contact card inside modal is visible and correctly sized */
.modal-card-wrapper .contact-bg-container {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 20px; /* Optional: smooth corners of the pink box */
}

/* RESPONSIVE ACTIONS */
@media (max-width: 1100px) {
    .nav-phone { display: none; } /* Hide phone on smaller screens to save space */
}
@media (max-width: 992px) {
    .header-actions { display: none; } /* Hide in mobile navbar */
}
/* Styling the dropdown to match inputs */
.contact-select {
    border: 1px solid #f2c7c7;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    outline: none;
    color: #555;
    appearance: none; /* Removes default browser arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23900000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

.contact-select option {
    background: #fff;
    color: #333;
}
/* Styling the Date Input */
.contact-date-input {
    border: 1px solid #f2c7c7;
    border-radius: 8px;
    padding: 10px 15px; /* Slightly less padding to account for browser icons */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    outline: none;
    color: #555;
    cursor: pointer;
    width: 100%;
}


/* --- SHARED MODAL & CONTACT FORM STYLES --- */

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    padding: 20px;
    overflow-y: auto;
}

.modal-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    animation: modalPop 0.4s ease-out;
}

.close-modal {
    position: absolute;
    top: -40px; right: 0;
    background: none; border: none;
    color: white; font-size: 40px;
    cursor: pointer;
}

/* The Pink Card Container */
.contact-bg-container {
    background: url('contactcard.png') no-repeat center center;
    background-size: 100% 100%;
    width: 100%;
    min-height: 520px;
    position: relative;
    padding: 60px 8%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: 20px;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    width: 100%;
}

/* Input Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input, 
.contact-select, 
.contact-form textarea {
    border: 1px solid #f2c7c7;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-submit {
    background-color: #900000;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    margin: 10px auto 0;
    transition: transform 0.2s;
}

.contact-address-box {
    font-family: 'Montserrat', sans-serif;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    align-content: center;
}

/* Decorative Icons */
.overlay-icon { position: absolute; pointer-events: none; }
.dove { top: 2%; left: 8%; width: 85px; }
.stamp { top: 15%; right: 15%; width: 100px; }

/* Mobile Responsiveness for Form */
@media (max-width: 768px) {
    .contact-bg-container {
        background-size: cover;
        background-color: #fce1e4;
        padding: 40px 20px;
    }
    .contact-content-grid, .form-row {
        grid-template-columns: 1fr;
    }
    .dove, .stamp { display: none; }
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}























/* --- PRECISE MOBILE POSTCARD ALIGNMENT --- */
@media (max-width: 768px) {
    /* 1. Container adjustments */
    .contact-section {
        padding: 40px 15px !important;
    }

    .contact-bg-container {
        background-size: 100% 100% !important; 
        padding: 15% 10% 10% 10% !important; /* Adjusted padding for better balance */
        min-height: auto !important;
        display: block !important; /* Changed from flex to block for simple stacking */
        border-radius: 15px;
    }

    /* 2. Remove the "To:" Section and make Form Full Width */
    .contact-address-box {
        display: none !important; /* Removes the address section */
    }

    .contact-content-grid {
        display: block !important; /* Stack everything in one column */
        width: 100% !important;
    }

    /* 3. Form Alignment */
    .contact-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    /* Keep Date and Select row at EQUAL 50/50 width */
    .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; 
        gap: 8px !important;
        width: 100% !important;
    }

    .contact-form input, 
    .contact-select, 
    .contact-form textarea {
        width: 100% !important;
        min-width: 0 !important; 
        box-sizing: border-box !important;
        padding: 10px 12px !important; /* Slightly larger padding for better touch targets */
        font-size: 12px !important; 
        margin: 0 !important;
        border: 1px solid #f2c7c7 !important;
    }

    /* 4. SEND Button Alignment: Center it perfectly */
    .contact-submit {
        width: 50% !important;
        margin: 15px auto 0 auto !important; /* Centered horizontally */
        font-size: 13px !important;
        padding: 10px 0 !important;
        display: block !important;
    }

    /* 5. Decorative Icons: Positioned to not overlap text */
    .dove {
        width: 35px !important;
        top: 5% !important;
        left: 8% !important;
    }

    .stamp {
        width: 40px !important;
        top: 5% !important;
        right: 8% !important;
    }
}

/* Extra adjustment for very small phones */
@media (max-width: 400px) {
    .contact-bg-container {
        padding: 18% 8% 8% 8% !important;
    }
    .contact-form input, .contact-select, .contact-form textarea {
        font-size: 11px !important;
        padding: 8px 10px !important;
    }
}

/* --- FIX FOR SIDE-BY-SIDE ALIGNMENT & ICON DIRECTION --- */
.nav-phone {
    display: flex !important;
    flex-direction: row !important; /* Forces icon and text to be on one line */
    align-items: center !important; /* Centers them vertically */
    gap: 12px;                      /* Space between icon and number */
    color: var(--cream);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;            /* Prevents the number from dropping to a second line */
    transition: all 0.3s ease;
}

.nav-phone i {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    
    /* This flips the icon to face RIGHT */
    transform: scaleX(-1); 
}

/* Ensure hover doesn't break the layout or the flip */
.nav-phone:hover i {
    background: var(--cream);
    color: var(--brand-red);
    transform: scaleX(-1) scale(1.1); 
}

.nav-phone:hover span {
    color: #ffffff;
}













/* Ensure the date input matches other inputs exactly */
.contact-date-input {
    appearance: none;
    -webkit-appearance: none;
    min-height: 45px; /* Ensures height doesn't jump when switching types */
    background-image:none  !important;
}

/* Fix for mobile: ensures placeholder color is consistent */
.contact-date-input::placeholder {
    color: #555;
    opacity: 1;
}

/* This removes the default 'dd/mm/yyyy' mask in some browsers 
   so your placeholder is visible */
input[type="date"]:not(:focus):in-range::-webkit-datetime-edit-year-field,
input[type="date"]:not(:focus):in-range::-webkit-datetime-edit-month-field,
input[type="date"]:not(:focus):in-range::-webkit-datetime-edit-day-field,
input[type="date"]:not(:focus):in-range::-webkit-datetime-edit-text {
    color: transparent;
}








