/* Custom Styles for NS Blendz - High Contrast Dark Theme */

/* ------------------------------------------------------------------- */
/* GENERAL LAYOUT & FONT */
/* ------------------------------------------------------------------- */
body {
    background-color: #000000;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
}

/* Red Line Separator for Section Titles */
.section-title-line {
    position: relative;
    display: inline-block;
    padding-left: 25px;
}

.section-title-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 3px;
    background-color: #dc2626;
}

/* ------------------------------------------------------------------- */
/* HERO SLIDER */
/* ------------------------------------------------------------------- */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider img {
    filter: brightness(0.8);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 30;
    transition: background 0.3s;
    border-radius: 50%;
    font-size: 1.25rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-nav.prev {
    left: 1rem;
}

.slider-nav.next {
    right: 1rem;
}

.hero-text-stroke {
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

/* ------------------------------------------------------------------- */
/* SERVICES SECTION */
/* ------------------------------------------------------------------- */
.service-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 15px rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 25px rgba(220, 38, 38, 0.3);
    border-color: #ef4444; 
}

.book-card-btn i {
    transition: transform 0.3s;
}

.book-card-btn:hover i {
    transform: translateX(3px); 
}

/* ------------------------------------------------------------------- */
/* OUR WORK / GALLERY SECTION */
/* ------------------------------------------------------------------- */
.before-after-slider {
    position: relative;
    overflow: hidden;
}

.ba-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.ba-slide.active {
    opacity: 1;
}

.ba-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff; 
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    z-index: 30;
    transition: background 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-nav:hover {
    background: rgba(220, 38, 38, 0.8);
}

.ba-nav.prev {
    left: 1rem;
}

.ba-nav.next {
    right: 1rem;
}

.gallery-item img {
    transition: transform 0.3s ease-in-out;
}

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

/* ------------------------------------------------------------------- */
/* STATS COUNTER SECTION */
/* ------------------------------------------------------------------- */
.stat-number {
    letter-spacing: 1px;
    font-weight: 900;
}

/* ------------------------------------------------------------------- */
/* BOOKING MODAL (LIGHT THEME) */
/* ------------------------------------------------------------------- */
#booking-modal input[type="date"]::-webkit-calendar-picker-indicator,
#booking-modal input[type="time"]::-webkit-calendar-picker-indicator {
    filter: none; 
    cursor: pointer;
}

#booking-modal input, 
#booking-modal select, 
#booking-modal textarea {
    color: #1f2937 !important;
}

#booking-modal select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.modal-content {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ------------------------------------------------------------------- */
/* BUTTONS */
/* ------------------------------------------------------------------- */
.book-btn-header,
.book-btn-hero {
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);
}

.book-btn-header:hover,
.book-btn-hero:hover {
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.5);
}

/* ------------------------------------------------------------------- */
/* FOCUS STATES FOR ACCESSIBILITY */
/* ------------------------------------------------------------------- */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* ------------------------------------------------------------------- */
/* SMOOTH TRANSITIONS */
/* ------------------------------------------------------------------- */
a {
    transition: color 0.3s ease;
}

/* ------------------------------------------------------------------- */
/* CUSTOM SCROLLBAR */
/* ------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ef4444;
}

/* ------------------------------------------------------------------- */
/* RESPONSIVE ADJUSTMENTS */
/* ------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-slider h1 {
        font-size: 2.5rem;
    }
    
    .stat-counters {
        justify-content: center;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-slider h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

/* ------------------------------------------------------------------- */
/* GALLERY MODAL */
/* ------------------------------------------------------------------- */
#gallery-modal {
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-nav-btn {
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: rgba(220, 38, 38, 0.8);
}

#gallery-thumbnails {
    scrollbar-width: thin;
    scrollbar-color: #dc2626 #1a1a1a;
}

#gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

#gallery-thumbnails::-webkit-scrollbar-track {
    background: #1a1a1a;
}

#gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 3px;
}

.gallery-item-home {
    transition: all 0.3s ease;
}

.gallery-item-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

/* ------------------------------------------------------------------- */
/* GALLERY GRID */
/* ------------------------------------------------------------------- */
.gallery-grid-item {
    transition: all 0.3s ease;
}

.gallery-grid-item:hover {
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

#gallery-lightbox {
    backdrop-filter: blur(5px);
}

/* ------------------------------------------------------------------- */
/* BOOKING MODAL - MOBILE FIX */
/* ------------------------------------------------------------------- */
@media (max-height: 700px) {
    #booking-modal .modal-content {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    #booking-modal .modal-content {
        padding: 1rem;
    }
    
    #booking-modal h3 {
        font-size: 1.25rem;
    }
    
    #booking-modal label {
        font-size: 0.75rem;
    }
    
    #booking-modal input,
    #booking-modal select,
    #booking-modal textarea {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
    
    #booking-modal button[type="submit"] {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    #booking-modal .mt-4.p-4 {
        padding: 0.75rem;
    }
    
    #booking-modal .space-y-5 > * {
        margin-top: 0.75rem;
    }
}
