/* ==========================================================================
   SP BIG BOUNCER SECURITY SERVICE - Main Stylesheet
   Theme: Bold Security Theme - Bright Crimson Red (#FF1E27) & Deep Navy (#0B132B)
   Author: Humans Information Technology Solutions
   ========================================================================== */

:root {
    --sp-red: #D31018;
    --sp-red-bright: #FF1E27;
    --sp-red-dark: #B70C13;
    --sp-red-light: #FF3B43;
    --sp-navy: #0B132B;
    --sp-navy-dark: #070B19;
    --sp-navy-light: #1C2541;
    --sp-charcoal: #1F2937;
    --sp-slate: #F8FAFC;
    --sp-border: #E2E8F0;
    --sp-gold: #F59E0B;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* Global Reset & Base Typography */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--sp-charcoal);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: clip;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

section[id] {
    scroll-margin-top: 85px;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--sp-navy);
}

a {
    transition: all 0.3s ease;
}

/* Colors & Utility */
.bg-dark-navy {
    background-color: var(--sp-navy) !important;
}

.bg-darker-navy {
    background-color: var(--sp-navy-dark) !important;
}

.text-danger {
    color: var(--sp-red-bright) !important;
}

.btn-danger {
    background-color: var(--sp-red-bright);
    border-color: var(--sp-red-bright);
    color: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-danger:hover, .btn-danger:focus {
    background-color: var(--sp-red-dark);
    border-color: var(--sp-red-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 30, 39, 0.4);
}

.btn-outline-danger {
    color: var(--sp-red-bright);
    border-color: var(--sp-red-bright);
}

.btn-outline-danger:hover {
    background-color: var(--sp-red-bright);
    border-color: var(--sp-red-bright);
    color: #FFFFFF;
}

/* TOPBAR */
.top-bar {
    background: linear-gradient(135deg, var(--sp-navy-dark) 0%, var(--sp-navy) 100%);
    color: #E2E8F0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--sp-red-bright);
}

.top-bar a:hover {
    color: var(--sp-red-light) !important;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* NAVBAR */
.main-header {
    border-bottom: 1px solid var(--sp-border);
    transition: all 0.3s ease;
}

.brand-logo {
    max-height: 54px;
    max-width: 240px;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sp-navy);
    padding: 0.6rem 1rem !important;
    position: relative;
    transition: color 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--sp-red-bright);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: var(--sp-red-bright);
    border-radius: 2px;
}

.btn-hire {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* HERO SECTION CAROUSEL (Middle text aligned with BRIGHT RED and WHITE text) */
.hero-carousel .carousel-item {
    height: 85vh;
    min-height: 520px;
    max-height: 750px;
    background-color: var(--sp-navy-dark);
    position: relative;
}

.hero-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.35) contrast(1.15);
}

.hero-carousel .carousel-caption {
    top: 50%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 900px;
    text-align: center; /* hero text in middle */
    padding: 0;
}

.hero-badge {
    display: inline-block;
    background: var(--sp-red-bright);
    color: #FFFFFF;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(255, 30, 39, 0.45);
}

/* BRIGHT WHITE AND BRIGHT RED HERO TITLE */
.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #FFFFFF; /* Pure bright white */
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.18;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title .text-highlight {
    color: #FF2E36 !important; /* Vivid electric bright red */
    -webkit-text-fill-color: #FF2E36 !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 46, 54, 0.7) !important;
    display: inline-block;
}

.hero-desc {
    font-size: 1.12rem;
    color: #F8FAFC;
    max-width: 720px;
    margin: 0 auto 1.8rem auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background-color: rgba(11, 19, 43, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--sp-red-bright);
    opacity: 1;
}

/* PAGE HEADER BANNER (with Security Image Background) */
.page-header-banner {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    text-align: center;
    border-bottom: 4px solid var(--sp-red-bright);
}

.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 11, 25, 0.88) 0%, rgba(11, 19, 43, 0.92) 100%);
    z-index: 1;
}

.page-header-banner .container {
    position: relative;
    z-index: 2;
}

.page-header-banner h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.page-header-banner h1 .text-highlight {
    color: #FF2E36;
    text-shadow: 0 0 20px rgba(255, 46, 54, 0.6);
}

.page-header-banner .lead {
    color: #E2E8F0;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

.breadcrumb-custom {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-top: 1rem;
    list-style: none;
    backdrop-filter: blur(4px);
}

.breadcrumb-custom li {
    color: #CBD5E1;
}

.breadcrumb-custom li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-custom li a:hover {
    color: var(--sp-red-light);
}

.breadcrumb-custom li+li::before {
    content: '/';
    padding: 0 8px;
    color: var(--sp-red-bright);
}

/* SECTION TITLES */
.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--sp-red-bright);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--sp-navy);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.title-separator {
    width: 60px;
    height: 4px;
    background-color: var(--sp-red-bright);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.title-separator.center {
    margin-left: auto;
    margin-right: auto;
}

/* COUNTER BAR */
.counter-bar {
    background: linear-gradient(135deg, var(--sp-navy) 0%, var(--sp-navy-light) 100%);
    color: #FFFFFF;
    position: relative;
    border-top: 4px solid var(--sp-red-bright);
}

.counter-box {
    text-align: center;
    padding: 1.5rem 1rem;
}

.counter-num {
    font-size: 2.8rem;
    font-weight: 900;
    color: #FFFFFF;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}

.counter-label {
    font-size: 0.95rem;
    color: #CBD5E1;
    font-weight: 500;
}

/* ABOUT SECTION */
.about-img-box {
    position: relative;
    width: 100%;
}

.about-img-box img {
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    display: block;
}

.about-experience-badge {
    position: absolute;
    bottom: -15px;
    right: 0px;
    background: var(--sp-red-bright);
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(255, 30, 39, 0.4);
    text-align: center;
}

.about-experience-badge .years {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ROOM / SERVICE GRID SECTION */
.room-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--sp-border);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(11, 19, 43, 0.12);
    border-color: rgba(255, 30, 39, 0.35);
}

.room-card-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.room-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-img-wrap img {
    transform: scale(1.08);
}

.room-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.room-price-tag {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(11, 19, 43, 0.92);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    border-left: 3px solid var(--sp-red-bright);
}

.room-price-tag .amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FF4A52;
}

.room-price-tag .period {
    font-size: 0.7rem;
    color: #E2E8F0;
    display: block;
}

.room-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.room-card-sub {
    font-size: 0.85rem;
    color: var(--sp-red-bright);
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.room-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

.room-features-list li {
    font-size: 0.85rem;
    color: #4B5563;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.room-features-list li i {
    color: var(--sp-red-bright);
    margin-right: 8px;
    margin-top: 4px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* WHY CHOOSE US */
.feature-box {
    background: #FFFFFF;
    padding: 2rem 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--sp-border);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--sp-red-bright);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 30, 39, 0.1);
    color: var(--sp-red-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background-color: var(--sp-red-bright);
    color: #FFFFFF;
    transform: rotateY(180deg);
}

/* GALLERY GRID */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 240px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 19, 43, 0.85) 0%, rgba(11, 19, 43, 0.2) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* GOOGLE MAP & CONTACT SECTION */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 420px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid var(--sp-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* FOOTER */
.footer-logo {
    max-height: 52px;
    object-fit: contain;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 5px;
}

.text-secondary-light {
    color: #94A3B8;
}

.powered-link:hover {
    color: #FF4A52 !important;
    text-decoration: underline !important;
}

/* FLOATING BUTTONS */
.floating-btn {
    position: fixed;
    z-index: 1040;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn:hover {
    transform: scale(1.12);
    color: #FFFFFF;
}

.floating-whatsapp {
    bottom: 24px;
    right: 20px;
    background-color: #25D366;
    font-size: 1.75rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.floating-call {
    bottom: 84px;
    right: 20px;
    background-color: var(--sp-red-bright);
    font-size: 1.3rem;
    box-shadow: 0 6px 20px rgba(255, 30, 39, 0.45);
}

.floating-top {
    bottom: 144px;
    right: 20px;
    background-color: var(--sp-navy);
    font-size: 1.15rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-top.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE FIXES (320px - 991px)
   ========================================================================== */

@media (max-width: 991.98px) {
    .brand-logo {
        max-height: 46px;
        max-width: 200px;
    }

    .hero-carousel .carousel-item {
        height: 72vh;
        min-height: 480px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .about-experience-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }

    .counter-box {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.2rem 0.5rem;
    }

    .counter-num {
        font-size: 2.2rem;
    }

    .navbar-collapse {
        background: #FFFFFF;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    /* Hide desktop carousel arrows on mobile to prevent clutter and overflow */
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    .page-header-banner {
        padding: 3.5rem 0;
    }

    .page-header-banner h1 {
        font-size: 2rem;
    }

    .map-container {
        height: 300px;
    }

    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        max-height: 38px;
        max-width: 170px;
    }

    .hero-carousel .carousel-item {
        height: calc(100vh - 60px);
        min-height: 480px;
        max-height: 600px;
    }

    .hero-carousel .carousel-caption {
        width: 95%;
        padding: 0 5px;
    }

    .hero-badge {
        font-size: 0.72rem;
        letter-spacing: 1px;
        padding: 4px 12px;
        margin-bottom: 0.8rem;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.22;
        margin-bottom: 0.8rem;
    }

    .hero-desc {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 1.2rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-btn-group {
        flex-direction: column;
        gap: 0.6rem;
    }

    .hero-btn-group .btn {
        width: 100%;
        padding: 0.65rem 1rem !important;
        font-size: 0.92rem !important;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .section-subtitle {
        font-size: 0.78rem;
    }

    .counter-box {
        padding: 0.8rem 0.2rem;
    }

    .counter-num {
        font-size: 1.8rem;
    }

    .counter-label {
        font-size: 0.78rem;
    }

    .room-card-img-wrap {
        height: 200px;
    }

    .room-card-body {
        padding: 1.2rem;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        right: 14px;
    }

    .floating-whatsapp {
        bottom: 14px;
        font-size: 1.5rem;
    }

    .floating-call {
        bottom: 66px;
        font-size: 1.15rem;
    }

    .floating-top {
        bottom: 118px;
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 1.4rem;
    }

    .gallery-item {
        height: 150px;
    }
}
