/* ============================================
   Halal Jamm - Custom Styles
   ============================================
   This file contains all custom styles that were
   previously inline in blade templates.
   Best Practice: Keep all CSS in separate files
   for better performance and maintainability.
   ============================================ */

/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* 1. Hero section primary text uppercase */
.hero-content h1 {
    font-size: 54px !important;
    text-transform: uppercase !important;
}

@media only screen and (max-width: 991px) {
    .hero-content h1 {
        font-size: 58px !important;
    }
}

.hero-content p {
    font-size: 22px !important;
}

/* 2. Marquee items before offers section - color #ff24006b */
.headline-area .marquee-wrap .marquee-item {
    color: #ff24006b !important;
    -webkit-text-stroke-color: #ff24006b !important;
}

/* 3. Offers card title 44px uppercase, available items 14px uppercase */
.offer-card-item .title {
    font-size: 44px !important;
    text-transform: uppercase !important;
}

.offer-card-item .available-item {
    font-size: 14px !important;
    text-transform: uppercase !important;
}

/* 4. Special offer section h2 48px uppercase, badge text uppercase, price 52px */
.offer-area .offer-content h2 {
    font-size: 48px !important;
    text-transform: uppercase !important;
}

.offer-area .offer-image .offer-badge > span {
    font-size: 32px !important;
    text-transform: uppercase !important;
}

.offer-area .offer-image .offer-badge .price {
    font-size: 52px !important;
}

/* 5. Gallery section h2 uppercase */
.gallery-slider-area .section-title h2 {
    font-size: 48px !important;
    text-transform: uppercase !important;
}

/* 6. Popular menu h2 32px uppercase */
.popular-menu-area .section-title h2 {
    font-size: 32px !important;
    text-transform: uppercase !important;
}

/* 7. Popular menu food items h5 18px uppercase, p 14px */
.popular-menu-area .food-item h5 {
    font-size: 18px !important;
    text-transform: uppercase !important;
}

.popular-menu-area .food-item p {
    font-size: 14px !important;
}

/* 8. Customer feedback h2 32px uppercase */
.testimonials-area .section-title h2 {
    font-size: 32px !important;
    text-transform: uppercase !important;
}

/* 9. CTA section h2 uppercase, halal certified 28px uppercase */
.cta-area .section-title h2 {
    font-size: 38px !important;
    text-transform: uppercase !important;
}

.cta-area .cta-badge span {
    font-size: 28px !important;
    text-transform: uppercase !important;
}

/* ============================================
   ALL PAGES - PAGE TITLE STYLES
   ============================================ */

.page-banner-area .page-title {
    font-size: 68px !important;
    text-transform: uppercase !important;
}

/* Mobile responsive for page titles */
@media only screen and (max-width: 991px) {
    .page-banner-area .page-title {
        font-size: 48px !important;
    }
}

@media only screen and (max-width: 767px) {
    .page-banner-area .page-title {
        font-size: 36px !important;
    }
}

@media only screen and (max-width: 575px) {
    .page-banner-area .page-title {
        font-size: 28px !important;
    }
}

/* ============================================
   ALL MENUS PAGE STYLES
   ============================================
   Note: These styles override the home page styles
   for the allMenus page specifically
   ============================================ */

/* Menus section heading h2 - 30px and uppercase */
.popular-menu-area .section-title h2 {
    font-size: 30px !important;
    text-transform: uppercase !important;
}

/* Menu title h5 - 18px and uppercase */
.popular-menu-area .food-item h5 {
    font-size: 18px !important;
    text-transform: uppercase !important;
}

/* Menu description p - 14px */
.popular-menu-area .food-item p {
    font-size: 14px !important;
}

/* Mobile responsive for menus page */
@media only screen and (max-width: 991px) {
    .popular-menu-area .section-title h2 {
        font-size: 26px !important;
    }
}

@media only screen and (max-width: 767px) {
    .popular-menu-area .section-title h2 {
        font-size: 22px !important;
    }
    
    .popular-menu-area .food-item h5 {
        font-size: 16px !important;
    }
}

/* ============================================
   ABOUT US PAGE STYLES
   ============================================ */

/* Know about halaljamm heading h2 - 30px and uppercase */
.about-us-area-four .section-title h2 {
    font-size: 30px !important;
    text-transform: uppercase !important;
}

/* Marquee items color same as home page */
.headline-area .marquee-wrap .marquee-item {
    color: #ff24006b !important;
    -webkit-text-stroke-color: #ff24006b !important;
}

/* We provide halal text heading h2 - 36px and uppercase */
.food-category-area .section-title h2 {
    font-size: 36px !important;
    text-transform: uppercase !important;
}

/* Featured items content h4 - 18px and uppercase */
.featured-item h4 {
    font-size: 18px !important;
    text-transform: uppercase !important;
}

/* Book a table section right side heading h2 - 34px and uppercase */
.booking-table-area-two .booking-table-content .section-title h2 {
    font-size: 34px !important;
    text-transform: uppercase !important;
}

/* Professional chefs section h2 - uppercase */
.chefs-area .section-title h2 {
    font-size: 38px !important;
    text-transform: uppercase !important;
}

/* Mobile responsive for about page */
@media only screen and (max-width: 991px) {
    .about-us-area-four .section-title h2 {
        font-size: 26px !important;
    }
    
    .food-category-area .section-title h2 {
        font-size: 30px !important;
    }
    
    .booking-table-area-two .booking-table-content .section-title h2 {
        font-size: 28px !important;
    }
}

@media only screen and (max-width: 767px) {
    .about-us-area-four .section-title h2 {
        font-size: 22px !important;
    }
    
    .food-category-area .section-title h2 {
        font-size: 24px !important;
    }
    
    .featured-item h4 {
        font-size: 16px !important;
    }
    
    .booking-table-area-two .booking-table-content .section-title h2 {
        font-size: 24px !important;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact page heading h2 - 38px and uppercase */
.contact-page-area .section-title h2 {
    font-size: 38px !important;
    text-transform: uppercase !important;
}

/* Contact info content span - 14px */
.contact-info-item .content .title {
    font-size: 14px !important;
}

/* Contact info h6 - 17px */
.contact-info-item .content h6 {
    font-size: 17px !important;
}

/* Mobile responsive for contact page */
@media only screen and (max-width: 991px) {
    .contact-page-area .section-title h2 {
        font-size: 32px !important;
    }
}

@media only screen and (max-width: 767px) {
    .contact-page-area .section-title h2 {
        font-size: 28px !important;
    }
    
    .contact-info-item .content h6 {
        font-size: 15px !important;
    }
}

/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

/* Gallery page heading h2 - 38px and uppercase */
.photo-gallery-area .section-title h2 {
    font-size: 38px !important;
    text-transform: uppercase !important;
}

/* Mobile responsive for gallery page */
@media only screen and (max-width: 991px) {
    .photo-gallery-area .section-title h2 {
        font-size: 32px !important;
    }
}

@media only screen and (max-width: 767px) {
    .photo-gallery-area .section-title h2 {
        font-size: 28px !important;
    }
}

/* ============================================
   FOOTER - NEWSLETTER SECTION STYLES
   (Applied to all pages)
   ============================================ */

/* Newsletter section h2 - 36px and uppercase */
.main-footer .footer-top .section-title h2 {
    font-size: 36px !important;
    text-transform: uppercase !important;
}

/* Footer h5 uppercase */
.main-footer .footer-title h5 {
    text-transform: uppercase !important;
}

/* Mobile responsive for newsletter section */
@media only screen and (max-width: 991px) {
    .main-footer .footer-top .section-title h2 {
        font-size: 30px !important;
    }
}

@media only screen and (max-width: 767px) {
    .main-footer .footer-top .section-title h2 {
        font-size: 20px !important;
    }
}

/* ============================================
   MOBILE RESPONSIVE - GLOBAL
   ============================================ */

/* Hero section mobile adjustments */
@media only screen and (max-width: 767px) {
    .hero-content h1 {
        font-size: 42px !important;
    }
    
    .hero-content p {
        font-size: 18px !important;
    }
}

/* Offer section mobile adjustments */
@media only screen and (max-width: 991px) {
    .offer-area .offer-content h2 {
        font-size: 36px !important;
    }
    
    .offer-area .offer-image .offer-badge > span {
        font-size: 24px !important;
    }
    
    .offer-area .offer-image .offer-badge .price {
        font-size: 40px !important;
    }
}

@media only screen and (max-width: 767px) {
    .offer-area .offer-content h2 {
        font-size: 28px !important;
    }
    
    .offer-area .offer-image .offer-badge .price {
        font-size: 32px !important;
    }
}

/* Offer cards mobile adjustments */
@media only screen and (max-width: 991px) {
    .offer-card-item .title {
        font-size: 32px !important;
    }
}

@media only screen and (max-width: 767px) {
    .offer-card-item .title {
        font-size: 58px !important;
    }
    
    .offer-card-item .available-item {
        font-size: 14px !important;
    }
}

/* Gallery section mobile */
@media only screen and (max-width: 767px) {
    .gallery-slider-area .section-title h2 {
        font-size: 24px !important;
    }
}

/* Popular menu mobile */
@media only screen and (max-width: 767px) {
    .popular-menu-area .section-title h2 {
        font-size: 20px !important;
    }
    
    .popular-menu-area .food-item h5 {
        font-size: 16px !important;
    }
    
    .popular-menu-area .food-item p {
        font-size: 12px !important;
    }
}

/* ============================================
   FOOD ITEM PRICE FIX - PREVENT WRAPPING
   ============================================ */

/* Fix price wrapping on mobile for food items */
.food-item .content .price {
    min-width: 60px !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
}

.food-item .content .price span {
    white-space: nowrap !important;
    display: inline-block !important;
    word-break: keep-all !important;
}

/* Mobile specific adjustments for food item prices */
@media only screen and (max-width: 767px) {
    .food-item .content .price {
        min-width: 70px !important;
        width: auto !important;
    }
    
    .food-item .content .price span {
        font-size: 20px !important;
        white-space: nowrap !important;
    }
}

@media only screen and (max-width: 575px) {
    .food-item .content .price {
        min-width: 65px !important;
    }
    
    .food-item .content .price span {
        font-size: 18px !important;
    }
}

/* Ensure food item layout doesn't break on mobile */
@media only screen and (max-width: 767px) {
    .food-item .content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .food-item .content .name-desc {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .food-item .content .price {
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }
}

/* Testimonials mobile */
@media only screen and (max-width: 767px) {
    .testimonials-area .section-title h2 {
        font-size: 24px !important;
    }
}

/* CTA section mobile */
@media only screen and (max-width: 767px) {
    .cta-area .section-title h2 {
        font-size: 28px !important;
    }
    
    .cta-area .cta-badge span {
        font-size: 22px !important;
    }
}

/* ============================================
   HERO SECTION TOP SPACING REDUCTION
   ============================================ */

/* Reduce top padding/margin of hero area */
.hero-slider-section {
    padding-top: 180px !important;
}

@media only screen and (max-width: 991px) {
    .hero-slider-section {
        padding-top: 150px !important;
    }
}

@media only screen and (max-width: 767px) {
    .hero-slider-section {
        padding-top: 125px !important;
    }
}

/* ============================================
   HERO SLIDER STYLES
   ============================================ */

/* Hero slider content container */
.hero-slider-content {
    position: relative;
    min-height: 400px;
}

/* Hero slide content - hidden by default */
.hero-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

/* Word-by-word animation */
.hero-slide-content .word-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide-content .word-word.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Subtitle and button animations */
.hero-slide-content .hero-subtitle,
.hero-slide-content .hero-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.hero-slide-content.active .hero-subtitle,
.hero-slide-content.active .hero-button {
    opacity: 1;
    transform: translateY(0);
}

/* Hero slider images container */
.hero-slider-images {
    position: relative;
    width: 100%;
    height: 500px !important;
    max-height: 500px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Hero slide image - hidden by default */
.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateX(50px);
    transition: opacity 1s ease, visibility 1s ease, transform 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-image.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateX(0);
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Floating animation for active image only */
.hero-slide-image.active img {
    animation: float 3s ease-in-out infinite;
}

/* Floating animation for images */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Smooth transitions when switching slides */
.hero-slide-content,
.hero-slide-image {
    will-change: opacity, transform;
}

/* Mobile responsive */
@media only screen and (max-width: 991px) {
    .hero-slider-content {
        min-height: 300px;
    }
    
    .hero-slider-images {
        height: 400px !important;
        max-height: 400px !important;
    }
}

@media only screen and (max-width: 767px) {
    .hero-slider-content {
        min-height: 250px;
    }
    
    .hero-slider-images {
        height: 300px !important;
        max-height: 300px !important;
    }
}

/* ============================================
   HERO SLIDER NAVIGATION BUTTONS
   ============================================ */

/* Slider navigation container */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Navigation buttons */
.hero-slider-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-slider-btn:hover {
    background: var(--primary-color, #ff6b35);
    border-color: var(--primary-color, #ff6b35);
    transform: scale(1.1);
}

.hero-slider-btn:active {
    transform: scale(0.95);
}

/* Previous button - left side - Desktop positioning */
.hero-slider-prev {
    left: 30px;
}

/* Next button - right side - Desktop positioning */
.hero-slider-next {
    right: 30px;
}

/* Desktop specific positioning - further to edges */
@media only screen and (min-width: 992px) {
    .hero-slider-prev {
        left: 50px;
    }
    
    .hero-slider-next {
        right: 50px;
    }
}

@media only screen and (min-width: 1200px) {
    .hero-slider-prev {
        left: 80px;
    }
    
    .hero-slider-next {
        right: 80px;
    }
}

/* Tablet responsive for navigation buttons */
@media only screen and (max-width: 991px) {
    .hero-slider-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .hero-slider-prev {
        left: 15px;
    }
    
    .hero-slider-next {
        right: 15px;
    }
}

/* Mobile responsive for navigation buttons */
@media only screen and (max-width: 767px) {
    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-slider-prev {
        left: 10px;
    }
    
    .hero-slider-next {
        right: 10px;
    }
}

