:root {
    --primary-color: #D32F2F;
    --dark-bg: #000000;
    --card-bg: #1E1E1E;
    --text-light: #E0E0E0;
    --text-muted: #B0B0B0;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
    --accent-shadow: 0 4px 20px rgba(211, 47, 47, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    padding-top: 140px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    min-width: 180px;
    text-align: center;
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: none;
}

.btn-outline-white:hover {
    background-color: white;
    color: #000;
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: white;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: white;
    color: var(--dark-bg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    align-items: center;
}

/* Header */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s ease;
}

.header-wrapper.scrolled {
    transform: translateY(-4px);
}

.header-wrapper .info-bar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 60px;
    overflow: hidden;
}

.header-wrapper.scrolled .info-bar {
    max-height: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.main-header {
    background-color: transparent;
    padding: 15px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0px);
    transition: all 0.4s ease;
}

.header-wrapper.scrolled .main-header {
    background-color: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 74px;
    width: auto;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

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

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.btn-nav {
    padding: 10px 24px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.btn-nav:hover {
    color: white !important;
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 10000;
    position: relative;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.main-nav.active~.mobile-menu-toggle i,
.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.hero-video-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-slider .splide__slide {
    width: 100%;
    height: 100%;
    position: relative;
}
.splide__track {
    overflow: hidden;
    position: relative;
    z-index: 0;
    height: 100%;
}

.hero-video-slider .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video-slider .video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
    z-index: 2;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hero-video-slider .video-poster.hidden {
    opacity: 0;
    visibility: hidden;
}

.hero-video-slider video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: white;
    max-width: 1100px;
    padding: 0 20px;
}

.hero-main-title {
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(3rem, 10vw, 9rem);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
    line-height: 1;
}

.hero-tagline {
    font-size: clamp(1rem, 2.4vw, 1.4rem);
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.85);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9997;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 12;
}

.hero-video-slider .splide__pagination {
    bottom: 30px;
    z-index: 10;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-list {
    margin-top: 30px;
}

/* Info Bar */
.info-bar {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.info-bar .splide__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.info-bar .splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-light);
    gap: 8px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.info-item a {
    color: var(--text-light);
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

.info-bar .splide__pagination {
    display: none;
}

.feature-list li {
    margin-bottom: 10px;
    font-weight: bold;
}

.feature-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

/* Services Section */
.services-section {
    background-color: #181818;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {

    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

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

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

#gallery-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#gallery-toggle-btn .gallery-toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

#gallery-toggle-btn[aria-expanded="true"] .gallery-toggle-icon {
    transform: rotate(180deg);
}

.gallery-fallback {
    text-align: center;
    color: var(--text-muted);
    margin-top: 1rem;
}

.gallery-grid {
    position: relative;
    min-height: 320px;
}

/* Gallery image loading placeholder */
@keyframes pulse-loading {
    0%, 100% {
        background-color: #2a2a2a;
    }
    50% {
        background-color: #3a3a3a;
    }
}

.gallery-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
    background-color: #2a2a2a;
}

.gallery-item.is-loading {
    animation: pulse-loading 1.5s ease-in-out infinite;
}

.gallery-item.is-loading img {
    opacity: 0;
}

.gallery-item img {
    transition: opacity 0.4s ease, transform 0.5s ease;
}

.gallery-item.is-loaded img {
    opacity: 1;
}

.gallery-extra-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
}

.gallery-extra-wrapper .gallery-item {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-extra-wrapper .gallery-item.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gallery-extra-wrapper.is-hidden {
    max-height: 0;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.gallery-extra-wrapper.is-visible {
    margin-top: 15px;
   
    opacity: 1;
    transform: translateY(0);
}

/* View All Container */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #000000;
}

.reviews-meta {
    margin: 30px 0 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #222;
    padding: 20px 30px;
    border-radius: 10px;
}

.rating-pill {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
}

.rating-copy strong {
    display: block;
    font-size: 1.1rem;
}

.rating-copy span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 32px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid #222;
    margin: 10px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.reviewer-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;
}

.reviewer-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.review-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stars {
    color: #FFD700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.review-cta {
    margin-top: 40px;
    text-align: center;
}

.review-cta p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Splide Overrides */
.splide__pagination__page.is-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.splide__pagination__page {
    background: #555;
}

.splide__arrow {
    background: var(--primary-color);
    opacity: 1;
}

.splide__arrow:hover {
    background: #b71c1c;
}

.splide__arrow svg {
    fill: white;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.15rem;
}

.contact-info i {
    width: 30px;
    color: var(--primary-color);
}

.hours-table {
    margin-top: 30px;
    background-color: #181818;
    padding: 20px;
    border-radius: 8px;
}

.hours-table h4 {
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.hours-table table {
    width: 100%;
}

.hours-table td {
    padding: 5px 0;
}

.hours-table td:first-child {
    font-weight: bold;
    color: white;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text-muted);
}

.social-links {
    margin-top: 30px;
}

.social-links i {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-right: 15px;
    transition: var(--transition);
}

.social-links i:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.map-overlay span {
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: black;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 50px;
}

footer p {
    color: #666;
    font-size: 0.9rem;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .main-header {
        padding: 5px 0;
    }

    .logo-img {
        max-width: 110px;
    }

    .main-nav li {
        margin-left: 20px;
    }

    .main-nav a {
        font-size: 0.85rem;
    }

    .btn-nav {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .hero {
        min-height: 70vh;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Info Bar on Tablet - maintain centered flex display */
    .info-bar .splide__list {
        gap: 20px;
    }

    .info-item {
        font-size: 0.85rem;
    }

    .main-nav ul {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000000;
        padding: 100px 40px 40px;
        margin: 0;
        z-index: 9999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }

    .main-nav ul li {
        margin-left: 0;
        width: 100%;
        max-width: 400px;
        /* Initial state for menu items - hidden by default */
        opacity: 0;
        transform: translateX(-50px);
    }

    .main-nav.active ul {
        right: 0;
    }

    /* When menu is active, GSAP will handle the animation */
    .main-nav.active ul li {
        /* GSAP will override opacity and transform values */
        will-change: opacity, transform;
    }

    .main-nav a {
        display: block;
        padding: 20px 30px;
        font-size: 1.4rem;
        letter-spacing: 2px;
        border: 2px solid transparent;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.02);
    }

    .main-nav a:hover {
        background: rgba(211, 47, 47, 0.1);
        border-color: var(--primary-color);
        transform: scale(1.05);
    }

    .main-nav a::after {
        display: none;
    }

    .btn-nav {
        margin: 20px 0 0 0;
        display: inline-block;
        padding: 16px 40px;
        font-size: 1.2rem;
    }

    .btn-nav:hover {
        transform: scale(1.05) translateY(-2px);
    }

    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 11px;
        right: 7px;
        z-index: 10001;
        background: #00000000;
        padding: 10px;
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }

    .hero {
        min-height: 100vh;
        padding: 40px 15px;
        transform: translateY(-62px);
    }

    .hero-video-slider .splide__pagination {
        bottom: 15px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero p {
        margin-bottom: 30px;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
        display: inline-block;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image img {
        max-height: 400px;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 50px 0;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {

    body {
        padding-top: 120px;
    }

    /* Info Bar Slider on Mobile */
    .info-bar {
        padding: 15px 0;
    }

    .info-bar .container {
        padding: 0;
    }

    .info-bar .splide__list {
        gap: 0;
    }

    /* Reset desktop flex layout for mobile slider */
    .info-bar-splide .splide__track {
        overflow: hidden !important;
    }

    .splide__track {
        overflow: hidden;
        position: relative;
        z-index: 0;
        height: 100%;
    }

    .info-bar-splide .splide__list {
        display: flex !important;
    }

    .info-bar-splide .splide__slide {
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    .info-bar-splide .splide__pagination {
        display: flex !important;
        bottom: -10px;
    }

    .info-bar-splide .splide__pagination__page {
        background: #555;
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .info-bar-splide .splide__pagination__page.is-active {
        background: var(--primary-color);
    }

    .info-item {
        margin: 0;
        font-size: 0.85rem;
        padding: 0 20px;
        text-align: center;
        width: 100%;
    }
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    right: 22px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    z-index: 1100;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease, background .3s ease;
}

.floating-call-btn i {
    font-size: 1rem;
}

.floating-call-btn:hover {
    background: #b71c1c;
    box-shadow: 0 10px 28px rgba(183, 28, 28, 0.55);
}

.floating-call-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.floating-call-btn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 600px) {

    body {
        padding-top: 110px;
    }

    .floating-call-btn {
        right: 12px;
        left: 12px;
        bottom: 30px;
        border-radius: 14px;
        justify-content: center;
        font-size: 0.9rem;
        padding: 16px 20px;
        letter-spacing: 1.5px;
    }

    .floating-call-btn i {
        font-size: 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-call-btn {
        transition: none;
    }
}