/* =========================================
   1. GLOBAL VARIABLES & SETTINGS
   ========================================= */
:root {
    /* --- NEW COLORS FROM SCREENSHOT --- */
    --primary-blue: #2579b1;   /* The Darker Blue (Sidebar BG, Buttons, Active Year) */
    --selected-blue: #3590cc;  /* The Lighter Blue (Selected Month) */
    
    /* --- KEPT RED --- */
    --primary-red: #d32f2f;    /* Red (Business Today / Arrows) */
    
    --text-grey: #666;
}

html, body {
    max-width: 100%;
    overflow-x: hidden !important; /* Prevents side-dragging on mobile */
    position: relative;
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
}

.serif-font {
    font-family: 'Playfair Display', serif;
}

/* =========================================
   2. PUBLICATIONS BAR (TOP)
   ========================================= */
.pub-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 768px) {
    .pub-bar-container {
        flex-direction: row;
    }
}

.pub-text {
    color: #333;
    font-size: 1.25rem;
}

.btn-custom-blue, .btn-custom-red {
    color: white;
    border: none;
    border-radius: 0;
    padding: 10px 30px;
    white-space: nowrap;
}

/* Use the new Darker Blue */
.btn-custom-blue { background-color: var(--primary-blue); }
.btn-custom-blue:hover { background-color: #154360; color: white; }

.btn-custom-red { background-color: var(--primary-red); }
.btn-custom-red:hover { background-color: #b71c1c; color: white; }

/* =========================================
   3. HOTELS CAROUSEL SECTION
   ========================================= */
.hotel-section-title {
    color: var(--primary-blue); /* Title uses Darker Blue */
    font-weight: 600;
    margin-bottom: 3rem;
    margin-top: 1rem;
    font-size: 2rem;
}

.hotel-slide-item { margin: 0 15px; }

/* Slick Arrows (Desktop Defaults) */
.slick-prev:before, .slick-next:before {
    color: var(--primary-blue) !important;
    font-size: 30px;
    opacity: 1;
}
.slick-prev { left: -35px; }
.slick-next { right: -35px; }

/* Slick Dots */
.slick-dots li button:before { font-size: 12px; color: var(--primary-blue); }
.slick-dots li.slick-active button:before { color: var(--primary-red); }

/* Hotel Card */
.hotel-card {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 15px;
    height: 100%;
    background: #fff; 
}

.hotel-img-container {
    height: 220px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}
.hotel-img-container img { width: 100%; height: 100%; object-fit: cover; }

.hotel-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.hotel-info {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.btn-outline-custom {
    border: 1px solid #333;
    color: #333;
    border-radius: 0;
    padding: 6px 20px;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-custom:hover { background-color: #333; color: #fff; }

/* =========================================
   4. MAGAZINE SECTION (SIDEBAR)
   ========================================= */
/* Sidebar Container uses Darker Blue */
.month-nav-container {
    background-color: var(--primary-blue); 
    display: flex;
    flex-direction: column;
}

.month-btn {
    background: none;
    border: none;
    color: white;
    text-align: left;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    font-size: 1rem;
    transition: background 0.3s;
}

.month-btn:hover { background-color: rgba(255,255,255,0.2); }

/* SELECTED MONTH uses Lighter Blue */
.month-btn.active {
    background-color: var(--selected-blue);
    border-left: none; /* No Red Line */
    /*font-weight: bold;*/
    color: white;
}

#more-months { width: 100%; }

/* Magazine Cards */
.mag-card {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    position: relative; 
    height: 100%;
    transition: transform 0.2s;
    background: #fff;
}
.mag-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.mag-img { width: 100%; height: auto; display: block; }

.eye-icon-box {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-red);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Year Buttons */
.btn-year-blue, .btn-year-red {
    color: white;
    border-radius: 0;
    padding: 8px 25px;
    font-size: 0.9rem;
    margin-right: 2px;
    white-space: nowrap;
}
/* Active Year uses Darker Blue */
.btn-year-blue { background-color: var(--primary-blue); } 
.btn-year-blue:hover { background-color: #154360; color: white; }

.btn-year-red { background-color: var(--primary-red); }
.btn-year-red:hover { background-color: #a31515; color: white; }

.slick-slide {
    height: auto;
}

/* =========================================
   5. RESPONSIVE STYLES
   ========================================= */

/* --- A. MOBILE LAYOUT ONLY (Phones < 768px) --- */
/* This handles the Dropdowns and hiding the "View More" button */
@media (max-width: 767px) {
    
    /* Typography & Spacing */
    body { font-size: 14px; } 
    
    .hotel-section-title {
        font-size: 1.5rem; 
        margin-bottom: 1.5rem;
        margin-top: 1rem; 
    }

    .pub-text { 
        margin-right: 0 !important; 
        font-size: 1.1rem;
        margin-bottom: 1rem !important; 
    }

    .btn-custom-blue, .btn-custom-red {
        padding: 8px 20px; 
        font-size: 0.9rem;
    }

    /* Mobile Horizontal Scrolling */
    .mobile-scroll {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        width: 100%;
        scrollbar-width: none;
    }
    .mobile-scroll::-webkit-scrollbar { display: none; }

    /* Button Styling */
    .month-nav-container .month-btn {
        flex: 0 0 auto;
        border-bottom: 3px solid transparent;
        border-right: 1px solid rgba(255,255,255,0.2);
        padding: 10px 15px;
    }
    .month-nav-container .month-btn.active {
        border-left: none;
        background-color: var(--selected-blue);
        color: white;
    }

    .mobile-hidden-group {
        display: flex !important;
        flex-direction: row !important;
    }
    
    /* HIDE SIDEBAR BUTTONS ON MOBILE */
    #viewMoreBtn, #viewLessBtn { display: none !important; }

   /* --- Custom Dropdowns (Mobile) --- */
    .custom-select {
        /* Make border thinner (1px instead of 2px) */
        border: 1px solid var(--primary-blue);
        
        /* Make text normal weight (not bold) */
        font-weight: 400; 
        
        /* Keep theme color */
        color: var(--primary-blue);
        
        /* Standard styling */
        border-radius: 4px; /* Slight curve looks better than 0 */
        background-color: #fff;
        padding: 8px 12px;
        font-size: 14px;
        box-shadow: none;
    }

    /* Remove blue outline when clicked */
    .custom-select:focus {
        border-color: var(--selected-blue); /* Change border color on click */
        box-shadow: 0 0 0 0.2rem rgba(93, 173, 226, 0.25); /* Subtle glow */
        outline: none;
    }
    
    /* Hotel Card Fix */
    .hotel-card {
        height: auto !important; 
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    .mag-card {
        padding: 30px;
    }
}

/* --- B. TABLET & MOBILE CAROUSEL STYLING (< 992px) --- */
/* This handles the Red Arrows and Carousel layout for both Phones and Tablets */
@media (max-width: 991px) {
    
    /* Force Block display for Carousel (instead of Grid) */
    #magazineDisplayArea {
        display: block !important;
        margin: 0;
        padding-bottom: 0;
    }
    #magazineDisplayArea .col-md-4 {
        padding: 0 5px; 
    }

    /* --- MAGAZINE CAROUSEL ARROWS (RED) --- */
    #magazineDisplayArea .slick-arrow {
        z-index: 10;
        width: 40px;
        height: 40px;
        top: 40%;
    }
    #magazineDisplayArea .slick-prev { left: 0; }
    #magazineDisplayArea .slick-next { right: 0; }

    #magazineDisplayArea .slick-prev:before,
    #magazineDisplayArea .slick-next:before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 35px;
        color: var(--primary-red) !important; 
        background: none !important;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        box-shadow: none;
    }

    #magazineDisplayArea .slick-prev:before { content: '\f053'; } /* < */
    #magazineDisplayArea .slick-next:before { content: '\f054'; } /* > */
    
    /* Hotel Carousel Arrows Mobile Style */
    .hotel-carousel .slick-arrow {
        top: 35% !important;
    }
    .hotel-carousel .slick-prev:before,
    .hotel-carousel .slick-next:before {
        color: var(--primary-red) !important;
        background: rgba(255,255,255,0.8);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
}

    /* --- MAGAZINE CAROUSEL ARROWS (FIXED: RED ONLY) --- */
    
    /* 1. Container */
    #magazineDisplayArea .slick-arrow {
        z-index: 10;
        width: 40px;
        height: 40px;
        top: 50%;
    }
    #magazineDisplayArea .slick-prev { left: 0; }
    #magazineDisplayArea .slick-next { right: 0; }

    /* 2. Arrow Styling (Red Icon, No Background) */
    #magazineDisplayArea .slick-prev:before,
    #magazineDisplayArea .slick-next:before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 35px;
        
        /* FORCE RED COLOR */
        color: var(--primary-red) !important; 
        background: none !important;
        
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        box-shadow: none;
    }

    /* 3. Icons */
    #magazineDisplayArea .slick-prev:before { content: '\f053'; } /* < */
    #magazineDisplayArea .slick-next:before { content: '\f054'; } /* > */
    
    /* --- Hotel Card Fix (Mobile) --- */
    .hotel-card {
        height: auto !important; 
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    /* Hotel Carousel Arrows (Mobile) */
    .hotel-carousel .slick-arrow {
        top: 35% !important;
    }
    .hotel-carousel .slick-prev:before {
        color: var(--primary-red) !important;
        background: rgba(255,255,255,0.8);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    .hotel-carousel .slick-next:before {
        color: var(--primary-red) !important;
        background: rgba(255,255,255,0.8);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }


