/* ============================================ */
/* HOLI INDIAN RESTAURANT - CUSTOM STYLES */
/* ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Open+Sans:wght@300;400;500;600;700&family=Catamaran:wght@400;500;600;700&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F5F0EB;
}

/* Headings - match holi.ie Lora font */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    font-family: 'Lora', serif;
}

/* Navigation, buttons, labels - match holi.ie Catamaran font */
.site-header nav a,
.main-navigation a,
.site-navigation a,
.hbtn,
.elementor-button,
.mrv-subtitle,
.mrv-btn {
    font-family: 'Catamaran', sans-serif;
}

/* Paragraphs and body text */
p, .elementor-widget-text-editor {
    font-family: 'Open Sans', sans-serif;
}

/* Hide default theme header title & tagline */
.site-header .site-title,
.site-header .site-description,
.site-branding {
    display: none !important;
}

/* Style the theme header bar */
.site-header {
    background-color: #5B2544 !important;
    border-bottom: none !important;
    padding: 0 !important;
}

/* Navigation styling */
.site-header nav,
.main-navigation {
    background-color: #5B2544 !important;
}

.site-header nav a,
.main-navigation a,
.site-navigation a {
    color: #FFFFFF !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    padding: 15px 20px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.site-header nav a:hover,
.main-navigation a:hover,
.site-navigation a:hover,
.site-header nav .current-menu-item a {
    color: #C9A96E !important;
}

/* Hide default theme footer completely */
.site-footer .site-footer-inner,
.site-footer .footer-credits,
.site-footer p,
footer.site-footer {
    display: none !important;
}

/* WP Admin bar spacing fix */
.admin-bar .site-header {
    top: 0;
}

/* Hide any remaining theme branding */
.site-header .site-logo,
.site-header .site-title,
.site-header .site-description,
.site-branding,
.site-header .custom-logo-link {
    display: none !important;
}

/* Ensure Elementor content displays properly */
.page-header {
    display: none !important;
}

/* Gold accent link color */
a {
    color: #C9A96E;
    transition: color 0.3s ease;
}
a:hover {
    color: #5B2544;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================ */
/* MOBILE RESPONSIVE STYLES (max-width: 767px) */
/* ============================================ */

@media (max-width: 767px) {
    /* Mobile Navigation - Hamburger Dropdown Menu */

    /* Style the hamburger toggle button */
    .site-header .site-navigation-toggle-holder {
        display: flex !important;
        justify-content: flex-end !important;
        padding: 10px 15px !important;
    }

    .site-header .site-navigation-toggle {
        display: block !important;
        background: transparent !important;
        border: none !important;
        color: #FFFFFF !important;
        font-size: 22px !important;
        cursor: pointer !important;
    }

    /* Style the mobile dropdown nav */
    .site-header .site-navigation-dropdown {
        background-color: #5B2544 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .site-header .site-navigation-dropdown ul.menu {
        background: #5B2544 !important;
        background-color: #5B2544 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .site-navigation-dropdown .menu li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }

    .site-header .site-navigation-dropdown .menu li a,
    .site-header .site-navigation-dropdown ul.menu li a {
        display: block !important;
        padding: 12px 20px !important;
        font-size: 13px !important;
        letter-spacing: 1.5px !important;
        color: #FFFFFF !important;
        text-transform: uppercase !important;
        font-family: 'Catamaran', sans-serif !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .site-header .site-navigation-dropdown .menu li a:hover,
    .site-header .site-navigation-dropdown ul.menu li a:hover {
        color: #C9A96E !important;
        background: rgba(255,255,255,0.1) !important;
    }

    .site-header .site-navigation-dropdown .menu li.current-menu-item a {
        color: #C9A96E !important;
    }

    /* Hide the desktop nav on mobile - let theme handle dropdown */
    .site-header nav.site-navigation {
        display: none !important;
    }

    /* Hero section text sizing */
    .elementor-heading-title {
        word-break: normal !important;
    }

    /* Mobile Image Optimization */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .elementor-widget-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Dish section images - consistent height on mobile */
    .elementor-element-46afa85 img,
    .elementor-element-527f04f img,
    .elementor-element-9632b29 img,
    .elementor-element-00a0390 img,
    .dish-image-fixed img {
        height: 280px !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    /* Two column sections stack on mobile */
    .elementor-section .elementor-row,
    .elementor-section .elementor-container {
        flex-direction: column !important;
    }

    .elementor-column {
        width: 100% !important;
    }

    /* Gallery: 2 columns on mobile with smaller images */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .gallery-grid img {
        height: 150px !important;
        object-fit: cover !important;
    }

    /* Hero buttons wrap nicely */
    .hbtn {
        padding: 8px 15px !important;
        font-size: 10px !important;
        letter-spacing: 1px !important;
        margin: 3px !important;
    }

    /* TripAdvisor section mobile */
    .ta-heading {
        font-size: 20px !important;
    }

    .ta-subtitle {
        font-size: 15px !important;
    }

    /* Reduce section vertical padding on mobile */
    .elementor-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Elementor widget text size adjustments */
    .elementor-widget-text-editor {
        font-size: 15px !important;
    }

    /* Footer social links mobile */
    .elementor-section a[style*="letter-spacing:3px"] {
        letter-spacing: 2px !important;
        font-size: 12px !important;
    }
}

/* ============================================ */
/* TABLET STYLES (768px - 1024px) */
/* ============================================ */

@media (min-width: 768px) and (max-width: 1024px) {
    /* Tablet Navigation - Hamburger Dropdown Menu */
    .site-header .site-navigation-toggle-holder {
        display: flex !important;
        justify-content: flex-end !important;
        padding: 10px 15px !important;
    }

    .site-header .site-navigation-toggle {
        display: block !important;
        background: transparent !important;
        border: none !important;
        color: #FFFFFF !important;
        font-size: 24px !important;
        cursor: pointer !important;
    }

    .site-header .site-navigation-dropdown {
        background-color: #5B2544 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .site-header .site-navigation-dropdown ul.menu {
        background: #5B2544 !important;
        background-color: #5B2544 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .site-navigation-dropdown .menu li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }

    .site-header .site-navigation-dropdown .menu li a,
    .site-header .site-navigation-dropdown ul.menu li a {
        display: block !important;
        padding: 12px 20px !important;
        font-size: 13px !important;
        letter-spacing: 1.5px !important;
        color: #FFFFFF !important;
        text-transform: uppercase !important;
        font-family: 'Catamaran', sans-serif !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .site-header .site-navigation-dropdown .menu li a:hover,
    .site-header .site-navigation-dropdown ul.menu li a:hover {
        color: #C9A96E !important;
        background: rgba(255,255,255,0.1) !important;
    }

    .site-header .site-navigation-dropdown .menu li.current-menu-item a {
        color: #C9A96E !important;
    }

    /* Hide the desktop nav on tablet - let theme handle dropdown */
    .site-header nav.site-navigation {
        display: none !important;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* Dish section images - consistent height on tablet */
    .elementor-element-46afa85 img,
    .elementor-element-527f04f img,
    .elementor-element-9632b29 img,
    .elementor-element-00a0390 img,
    .dish-image-fixed img {
        height: 350px !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    /* Two column sections stack on tablet too */
    .elementor-section .elementor-row,
    .elementor-section .elementor-container {
        flex-direction: column !important;
    }

    .elementor-column {
        width: 100% !important;
    }

    /* Gallery: 3 columns on tablet with adjusted height */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .gallery-grid img {
        height: 200px !important;
        object-fit: cover !important;
    }

    /* Hero buttons tablet */
    .hbtn {
        padding: 10px 20px !important;
        font-size: 11px !important;
        letter-spacing: 2px !important;
    }

    /* TripAdvisor section tablet */
    .ta-heading {
        font-size: 22px !important;
    }

    .ta-subtitle {
        font-size: 17px !important;
    }
}

/* Ensure all images fit properly */
img {
    max-width: 100%;
    height: auto;
}

/* Elementor widget image containers */
.elementor-widget-image .elementor-widget-container img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ============================================ */
/* DISH SECTION IMAGES - Consistent Height      */
/* ============================================ */

.elementor-element-46afa85 img,
.elementor-element-527f04f img,
.elementor-element-9632b29 img,
.elementor-element-00a0390 img {
    width: 100% !important;
    height: 450px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
}

.elementor-element-00a0390 img {
    object-position: center bottom !important;
}

.dish-image-fixed img {
    width: 100% !important;
    height: 450px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* ============================================ */
/* PHOTO GALLERY CAROUSEL - Match holi.ie style */
/* ============================================ */

.elementor-element-0256e2f {
    padding: 40px 0 60px !important;
}

.elementor-element-0256e2f .elementor-image-carousel img,
.elementor-element-bacef1d .swiper-slide img {
    width: 100% !important;
    height: 480px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
}

.elementor-element-0256e2f .elementor-swiper-button {
    color: #C9A96E !important;
    font-size: 25px !important;
}

.elementor-element-0256e2f .elementor-swiper-button:hover {
    color: #5B2544 !important;
}

.elementor-element-0256e2f .swiper-pagination-bullet {
    background-color: #C9A96E !important;
    opacity: 0.5;
    width: 10px !important;
    height: 10px !important;
}

.elementor-element-0256e2f .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background-color: #5B2544 !important;
}

.elementor-element-0256e2f .swiper-slide {
    padding: 0 8px;
}
