/* Custom Styles for helicoptersoveralbanyny.com - Glassmorphism & Modern Refinement */

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

:root {
    /* Sophisticated Palette: Bronze & Deep Slate */
    --primary-color: #bfa470;
    /* Muted Gold/Bronze */
    --primary-dark: #a28b5b;
    /* Darker Bronze */
    --secondary-color: #1a252f;
    /* Midnight Slate */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #121212;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(12px);

    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), 0 6px 6px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.12);
}

/* Bootstrap Overrides to kill "Bright Blue" */
.bg-primary {
    background-color: var(--secondary-color) !important;
    /* switch standard blue headers to Slate */
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Cleaner, modern sans-serif */
    color: var(--text-color);
    background-color: #f4f6f8;
    /* Very subtle grey for contrast with white cards */
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    /* Sophisticated serif for headings */
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--secondary-color);
}

/* Global Link Styles - Kill the Blue */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.display-1,
.display-2,
.display-3,
.display-4 {
    font-weight: 700;
}

.highlight {
    color: var(--primary-color) !important;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    /* Safari support */
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 12px;
}

.glass-dark {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Navbar Reform */
.navbar {
    background: rgba(0, 0, 0, 0.85) !important;
    /* Slightly transparent dark */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 1.2rem 1rem !important;
}

/* Hero Section */
#heroCarousel .carousel-item img {
    height: 75vh;
    /* Taller hero */
    object-fit: cover;
    filter: brightness(0.9);
    /* Slightly darken image so text pops */
}

.hero-overlay-card {
    background: rgba(255, 255, 255, 0.85);
    /* Light glass */
    backdrop-filter: blur(8px);
    padding: 3rem;
    border-radius: 0;
    /* Boxy or lightly rounded? Let's go rounded */
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    text-align: center;
}

.hero-overlay-card h2 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #444;
    margin-bottom: 0.5rem;
}

.hero-overlay-card a.phone-link {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
    line-height: 1;
    display: block;
    margin-top: 10px;
}

/* Service Cards - "Window" Design */
.service-card-modern {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}



.service-image-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: none;
    transition: all 0.4s ease;
}

.service-image-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--card-hover-shadow);
}

.service-image-card .card-body {
    background: #fff;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer - High Contrast Fix */
footer {
    background-color: #111 !important;
    /* Proper dark */
    color: #eee;
    font-family: 'Montserrat', sans-serif;
}

footer h4 {
    color: #fff !important;
    opacity: 0.9;
    letter-spacing: 1px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

footer a {
    color: #bbb !important;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color) !important;
    /* Removed padding-left to prevent jumping */
}

/* Footer Contrast Fixes */
footer .text-muted {
    color: #b0b0b0 !important;
    /* Lighter grey for better contrast on dark bg */
}

footer .text-secondary {
    color: #d0d0d0 !important;
    /* Even lighter for secondary text */
}

footer .bg-black {
    background-color: #000 !important;
}

footer .list-inline-item a {
    color: #e0e0e0 !important;
    /* High contrast for bottom menu */
    font-weight: 500;
}

footer .list-inline-item a:hover {
    color: var(--primary-color) !important;
}

/* Button Refinement */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(243, 111, 33, 0.4);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 111, 33, 0.6);
    color: #fff;
}

/* Intro Box */

/* Logo & Animation Styles */
.navbar-brand .logo-container {
    display: flex;
    flex-direction: column;
    /* Stacked layout */
    align-items: center;
    line-height: 1;
    padding: 5px 0;
}

.logo-icon {
    width: 140px;
    /* Wider to span the text */
    height: auto;
    color: var(--primary-color);
    margin-bottom: -8px;
    /* Pull text up into the "cutout" */
    z-index: 1;
    transition: transform 0.4s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    /* Bold Sans to match reference */
    font-weight: 800;
    /* Extra bold */
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    /* Wide spacing for tagline */
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 4px;
    padding-top: 2px;
}

/* Hover Effect */
.navbar-brand:hover .logo-icon {
    transform: translateY(-2px);
    /* Slight lift */
}

.navbar-brand:hover .logo-title {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Persistent Mobile Call Button */
.mobile-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    /* Bronze */
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s;
    animation: pulse-btn 2s infinite;
}

.mobile-call-btn:hover,
.mobile-call-btn:focus {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    color: #fff !important;
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(191, 164, 112, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(191, 164, 112, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(191, 164, 112, 0);
    }
}

/* =========================================
   Home Page Revamp Styles (Jan 2026)
   ========================================= */

/* Ken Burns Effect for Slider */
@keyframes kenBurns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.15);
    }
}

.ken-burns {
    animation: kenBurns 20s ease-out infinite alternate;
    /* Smooth, slow zoom */
    transform-origin: center center;
}

/* Ensure carousel overflow is hidden so zoomed images don't bleed */
#heroCarousel .carousel-inner {
    overflow: hidden;
}


/* New Action Bar (CTA under slider) */
.action-bar {
    background-color: var(--secondary-color);
    /* Dark Slate */
    color: #fff;
    padding: 2.5rem 1rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
    /* Sit above other content */
    border-bottom: 4px solid var(--primary-color);
}

.action-bar h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-bar .phone-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.action-bar .phone-number:hover {
    color: #fff;
    transform: scale(1.02);
    text-shadow: 0 0 15px rgba(191, 164, 112, 0.6);
}

/* Shimmer/Pulse effect for the phone number to add "excitement" */
@keyframes goldShimmer {
    0% {
        color: var(--primary-color);
    }

    50% {
        color: #e6d3a3;
        /* Verified lighter gold */
    }

    100% {
        color: var(--primary-color);
    }
}

.action-bar .phone-number {
    animation: goldShimmer 3s infinite ease-in-out;
}

@media (max-width: 768px) {
    .action-bar h2 {
        font-size: 1.2rem;
    }

    .action-bar .phone-number {
        font-size: 2.5rem;
    }
}