/* ===================================================================
   24/7 TOWY - Commercial Truck Repair & Towing Services
   Primary Stylesheet (Bootstrap 5 Enhancements & Custom Theme)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --towy-yellow: #fdb813;
    --towy-yellow-dark: #e5a408;
    --towy-yellow-light: #ffc93d;
    --towy-dark: #18191c;
    --towy-dark-subtle: #212328;
    --towy-dark-card: #272a31;
    --towy-dark-lighter: #2f333c;
    --towy-gray-text: #8e939d;
    --towy-gray-light: #f5f6f8;
    --towy-border: rgba(255, 255, 255, 0.08);
    --towy-font-heading: 'Montserrat', sans-serif;
    --towy-font-body: 'Inter', sans-serif;
    --towy-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset & Base */
body {
    font-family: var(--towy-font-body);
    color: #495057;
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--towy-font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--towy-dark);
}

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

/* Yellow Accent Highlights */
.text-yellow {
    color: var(--towy-yellow) !important;
}

.bg-yellow {
    background-color: var(--towy-yellow) !important;
}

.bg-towy-dark {
    background-color: var(--towy-dark) !important;
}

.bg-towy-subtle {
    background-color: var(--towy-dark-subtle) !important;
}

/* Dashed divider as seen in design */
.towy-dash {
    display: inline-block;
    height: 4px;
    width: 48px;
    background: repeating-linear-gradient(
        90deg,
        var(--towy-yellow),
        var(--towy-yellow) 8px,
        transparent 8px,
        transparent 14px
    );
    margin: 12px 0 20px 0;
}

/* ===================================================================
   Top Notification / Emergency Dispatch Bar
   =================================================================== */
.top-contact-bar {
    background-color: #121315;
    font-size: 0.85rem;
    color: #9aa0a6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
}

.top-contact-bar a {
    color: #c9cdd4;
}

.top-contact-bar a:hover {
    color: var(--towy-yellow);
}

.live-pulse-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: #28a745;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* ===================================================================
   Main Navigation Header
   =================================================================== */
.towy-navbar {
    background-color: var(--towy-dark);
    padding: 16px 0;
    transition: var(--towy-transition);
    border-bottom: 2px solid rgba(253, 184, 19, 0.2);
}

.towy-navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Brand Logo */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--towy-yellow) 0%, #d49504 100%);
    color: #18191c;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(253, 184, 19, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-family: var(--towy-font-heading);
    font-size: 1.7rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.brand-title span {
    color: var(--towy-yellow);
}

.brand-subtitle {
    font-family: var(--towy-font-heading);
    font-size: 0.70rem;
    font-weight: 700;
    color: #a4abb7;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation Links */
.towy-navbar .nav-link {
    color: #e2e4e9;
    font-family: var(--towy-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--towy-transition);
    position: relative;
}

.towy-navbar .nav-link:hover,
.towy-navbar .nav-link.active {
    color: var(--towy-yellow) !important;
}

.towy-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: var(--towy-yellow);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.towy-navbar .nav-link.active::after,
.towy-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.dropdown-menu-dark {
    background-color: var(--towy-dark-subtle);
    border: 1px solid var(--towy-border);
    border-top: 3px solid var(--towy-yellow);
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
}

.dropdown-item {
    font-family: var(--towy-font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 20px;
    color: #d1d5db;
}

.dropdown-item:hover {
    background-color: var(--towy-dark-card);
    color: var(--towy-yellow);
    padding-left: 24px;
}

.btn-header-call {
    background-color: var(--towy-yellow);
    color: var(--towy-dark);
    font-family: var(--towy-font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.4);
    transition: var(--towy-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-header-call:hover {
    background-color: #ffffff;
    color: var(--towy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: #111;
    overflow: hidden;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(24, 25, 28, 0.8) 0%,
        rgba(24, 25, 28, 0.5) 50%,
        rgba(24, 25, 28, 0.95) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 0 100px 0;
}

.hero-pretitle {
    color: #ffffff;
    font-family: var(--towy-font-heading);
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.hero-title-main {
    font-family: var(--towy-font-heading);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 900;
    color: var(--towy-yellow);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
    color: #e0e4eb;
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 650px;
    margin: 0 auto 35px auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.scroll-indicator {
    color: #ffffff;
    font-size: 0.75rem;
    font-family: var(--towy-font-heading);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    margin-top: 30px;
    transition: var(--towy-transition);
}

.scroll-indicator:hover {
    color: var(--towy-yellow);
    opacity: 1;
}

.scroll-indicator i {
    font-size: 1.8rem;
    margin-bottom: 6px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ===================================================================
   Signature Angled Quick Info Banner (Screenshot 1 Match)
   =================================================================== */
.angled-info-ribbon {
    position: relative;
    z-index: 10;
    margin-top: -30px; /* Slight overlap into hero */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.ribbon-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

/* Left angled yellow block */
.ribbon-block-left {
    background-color: var(--towy-yellow);
    color: var(--towy-dark);
    flex: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 30px;
    gap: 15px;
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
    transition: var(--towy-transition);
}

.ribbon-icon {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--towy-dark);
}

.ribbon-text-left {
    font-family: var(--towy-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ribbon-text-left strong {
    font-size: 1.35rem;
    font-weight: 900;
}

/* Center dark phone block */
.ribbon-block-center {
    background-color: #1a1c20;
    color: #ffffff;
    flex: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 30px;
    margin-left: -20px;
    margin-right: -20px;
    z-index: 2;
    clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
    text-align: center;
}

.ribbon-phone-link {
    font-family: var(--towy-font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    transition: var(--towy-transition);
    display: inline-block;
}

.ribbon-phone-link span {
    color: var(--towy-yellow);
}

.ribbon-phone-link:hover {
    color: var(--towy-yellow);
    transform: scale(1.03);
}

/* Right angled yellow block */
.ribbon-block-right {
    background-color: var(--towy-yellow);
    color: var(--towy-dark);
    flex: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 30px;
    gap: 15px;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
    transition: var(--towy-transition);
}

.ribbon-text-right {
    font-family: var(--towy-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ribbon-text-right strong {
    font-size: 1.35rem;
    font-weight: 900;
}

/* Responsive adjustment for ribbons on tablets & phones */
@media (max-width: 991px) {
    .angled-info-ribbon {
        margin-top: 0;
    }
    .ribbon-container {
        flex-direction: column;
    }
    .ribbon-block-left,
    .ribbon-block-center,
    .ribbon-block-right {
        clip-path: none !important;
        margin: 0 !important;
        padding: 16px 20px;
        text-align: center;
        justify-content: center;
    }
    .ribbon-block-center {
        border-top: 2px solid var(--towy-yellow);
        border-bottom: 2px solid var(--towy-yellow);
    }
}

/* ===================================================================
   What We Offer Section (Screenshot 2 Match)
   =================================================================== */
.section-offer {
    position: relative;
    padding: 100px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.watermark-number {
    position: absolute;
    top: -30px;
    left: 0;
    font-family: var(--towy-font-heading);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.offer-heading-group {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.offer-title {
    font-family: var(--towy-font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--towy-dark);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.offer-subtitle {
    font-family: var(--towy-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #7b8190;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
}

.offer-lead-text {
    color: #555b68;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 30px;
}

.offer-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 35px;
}

.offer-features-list li {
    font-size: 1.05rem;
    color: #2b2f38;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.offer-check-icon {
    color: var(--towy-yellow);
    font-size: 1.25rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.offer-features-list strong {
    color: #111317;
    font-weight: 700;
}

.offer-truck-img-wrapper {
    position: relative;
    text-align: center;
}

.offer-truck-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
    transition: var(--towy-transition);
}

.offer-truck-img:hover {
    transform: scale(1.02);
}

/* ===================================================================
   Services Showcase Cards
   =================================================================== */
.section-services {
    background-color: var(--towy-gray-light);
    padding: 100px 0;
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--towy-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(253, 184, 19, 0.5);
}

.service-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--towy-dark);
    color: var(--towy-yellow);
    font-family: var(--towy-font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.service-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: rgba(253, 184, 19, 0.15);
    color: #b07e05;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--towy-transition);
}

.service-card:hover .service-icon-box {
    background: var(--towy-yellow);
    color: var(--towy-dark);
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--towy-dark);
}

.service-card-desc {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-link {
    font-family: var(--towy-font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    color: var(--towy-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f0f0f2;
    padding-top: 15px;
}

.service-link i {
    color: var(--towy-yellow);
    transition: transform 0.2s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ===================================================================
   Live Emergency Dispatch / Quote Calculator
   =================================================================== */
.section-calculator {
    background: linear-gradient(135deg, #18191c 0%, #23262c 100%);
    color: #ffffff;
    padding: 90px 0;
    position: relative;
}

.calc-card {
    background-color: var(--towy-dark-subtle);
    border: 1px solid var(--towy-border);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-control-towy, .form-select-towy {
    background-color: #121315 !important;
    border: 1px solid #363a44 !important;
    color: #ffffff !important;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-control-towy:focus, .form-select-towy:focus {
    border-color: var(--towy-yellow) !important;
    box-shadow: 0 0 0 3px rgba(253, 184, 19, 0.25) !important;
}

.form-control-towy::placeholder {
    color: #727783;
}

/* ===================================================================
   Signature Newsletter Bar (Screenshot 3 Match)
   =================================================================== */
.newsletter-bar-wrapper {
    position: relative;
    z-index: 10;
    margin-bottom: -1px;
}

.newsletter-strip {
    background-color: var(--towy-yellow);
    padding: 24px 0;
    clip-path: polygon(0 0, 100% 0, 98% 100%, 0 100%);
}

.newsletter-title-left {
    font-family: var(--towy-font-heading);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;
    color: var(--towy-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-title-left strong {
    font-weight: 900;
}

.newsletter-input-group {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    background-color: #191a1d !important;
    border: none !important;
    color: #ffffff !important;
    padding: 14px 60px 14px 20px !important;
    border-radius: 30px !important;
    font-size: 0.95rem;
    font-family: var(--towy-font-heading);
    letter-spacing: 0.5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.newsletter-input::placeholder {
    color: var(--towy-yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.newsletter-submit-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--towy-yellow);
    color: var(--towy-dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--towy-transition);
}

.newsletter-submit-btn:hover {
    background-color: #ffffff;
    color: var(--towy-dark);
    transform: scale(1.08);
}

.newsletter-title-right {
    font-family: var(--towy-font-heading);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;
    color: var(--towy-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: right;
}

.newsletter-title-right strong {
    font-weight: 900;
}

@media (max-width: 991px) {
    .newsletter-strip {
        clip-path: none;
        text-align: center;
    }
    .newsletter-title-right {
        text-align: center;
        margin-top: 15px;
    }
    .newsletter-title-left {
        text-align: center;
        margin-bottom: 15px;
    }
}

/* ===================================================================
   Dark Footer (Screenshot 3 Match)
   =================================================================== */
.towy-main-footer {
    background-color: #191a1d;
    color: #9da3af;
    padding: 80px 0 0 0;
    font-size: 0.92rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-block {
    margin-bottom: 25px;
}

.footer-desc {
    color: #8b919e;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.92rem;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #26282f;
    color: #b0b6c2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--towy-transition);
}

.footer-social-btn:hover {
    background-color: var(--towy-yellow);
    color: var(--towy-dark);
    transform: translateY(-3px);
}

.footer-col-title {
    font-family: var(--towy-font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-col-title strong {
    color: #ffffff;
}

.footer-links-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.footer-links-list li a {
    color: #8b919e;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--towy-transition);
}

.footer-links-list li a i {
    font-size: 0.75rem;
    color: var(--towy-yellow);
}

.footer-links-list li a:hover {
    color: var(--towy-yellow);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--towy-yellow);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
    color: #8b919e;
    line-height: 1.5;
}

.footer-contact-item a:hover {
    color: var(--towy-yellow);
}

/* Tweets / Live Feed Widget */
.footer-tweet-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--towy-yellow);
    padding: 12px 14px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 12px;
    font-size: 0.86rem;
}

.footer-tweet-time {
    font-size: 0.75rem;
    color: var(--towy-yellow);
    display: block;
    margin-top: 4px;
}

/* Sub Footer & Back to top button */
.sub-footer {
    background-color: #121315;
    padding: 24px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
    color: #7b8190;
    position: relative;
}

.btn-back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background-color: var(--towy-yellow);
    color: var(--towy-dark);
    border-radius: 4px; /* Screenshot 3 shows square yellow button */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--towy-transition);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    background-color: #ffffff;
    color: var(--towy-dark);
    transform: translateY(-4px);
}

/* Floating Emergency Call button for mobile */
.floating-mobile-call {
    position: fixed;
    bottom: 25px;
    left: 20px;
    background: #d90429;
    color: #ffffff;
    font-family: var(--towy-font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(217, 4, 41, 0.4);
    display: none;
    align-items: center;
    gap: 8px;
    z-index: 998;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .floating-mobile-call {
        display: flex;
    }
}

/* ===================================================================
   Gallery & Lightbox
   =================================================================== */
.gallery-filter-btn {
    background: transparent;
    border: 1px solid #ced4da;
    color: var(--towy-dark);
    font-family: var(--towy-font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 30px;
    margin: 4px;
    transition: var(--towy-transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--towy-yellow);
    border-color: var(--towy-yellow);
    color: var(--towy-dark);
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(24, 25, 28, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff;
    opacity: 0;
    transition: var(--towy-transition);
}

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

/* ===================================================================
   Buttons
   =================================================================== */
.btn-towy-primary {
    background-color: var(--towy-yellow);
    color: var(--towy-dark);
    font-family: var(--towy-font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 6px 20px rgba(253, 184, 19, 0.35);
    transition: var(--towy-transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-towy-primary:hover {
    background-color: #18191c;
    color: var(--towy-yellow);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-towy-dark {
    background-color: var(--towy-dark);
    color: #ffffff;
    font-family: var(--towy-font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--towy-transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-towy-dark:hover {
    background-color: var(--towy-yellow);
    color: var(--towy-dark);
    border-color: var(--towy-yellow);
    transform: translateY(-2px);
}
