/* Custom styles for Albright Window Tint */

:root {
    /* Primary color palette based on logo */
    --primary-teal: #2a606e;
    --dark-teal: #143642;
    --light-teal: #4a8795;
    --very-light-teal: #d5e8ed;
    --light-gray: #f5f7f8;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Albright branded elements */
.bg-albright-primary {
    background-color: var(--primary-teal);
}

.bg-albright-dark {
    background-color: var(--dark-teal);
}

.bg-albright-light {
    background-color: var(--light-teal);
}

.bg-albright-very-light {
    background-color: var(--very-light-teal);
}

.text-albright-primary {
    color: var(--primary-teal);
}

.text-albright-dark {
    color: var(--dark-teal);
}

.text-albright-light {
    color: var(--light-teal);
}

.border-albright-primary {
    border-color: var(--primary-teal);
}

.border-albright-light {
    border-color: var(--light-teal);
}

.hover-albright-dark:hover {
    background-color: var(--dark-teal);
}

.hover-albright-light:hover {
    background-color: var(--light-teal);
}

/* Custom hover effects for service cards */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gallery image hover effects */
.gallery-item {
    overflow: hidden;
    position: relative;
}

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

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

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(20, 54, 66, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.gallery-item:hover .overlay {
    height: 100%;
}

.gallery-item .overlay-content {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
}

/* Form styling */
.form-input {
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(42, 96, 110, 0.2);
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in;
}

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

.animate-slideUp {
    animation: slideInFromBottom 0.5s ease-out;
}

/* Hero section styling */
.hero-container {
    position: relative;
    overflow: hidden;
}

.hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Content panel without blur for static image background */
.hero-content-no-blur {
    animation: fadeIn 0.8s ease-out;
}

/* Text shadow for better readability over images */
.shadow-text {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.75), 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Enhanced hero text with text-stroke and stronger shadow for better readability */
.hero-text {
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

/* Mobile menu animations */
.mobile-menu-enter {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.mobile-menu-enter-active {
    max-height: 500px;
}

/* Gallery slider */
.gallery-slider {
    position: relative;
    overflow: hidden;
}

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

.gallery-slide.active {
    opacity: 1;
    position: relative;
}

.gallery-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-dot.active {
    background-color: white;
}

/* Custom styling for specific breakpoints */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Content panel mobile adjustments */
    .hero-content-panel {
        padding: 1.5rem;
        width: 90%;
        text-align: center;
    }
    
    /* Mobile optimizations */
    .mobile-compact-hero {
        height: 400px !important;
    }
    
    .mobile-compact-text p {
        margin-bottom: 0.75rem;
    }
    
    .mobile-hidden {
        display: none;
    }
    
    .mobile-compact-card {
        margin-bottom: 0.75rem;
    }
    
    .mobile-compact-card .card-body {
        padding: 0.75rem;
    }
    
    .mobile-compact-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .mobile-compact-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .mobile-compact-service-grid {
        gap: 0.75rem;
    }
    
    .mobile-compact-service-image {
        height: 160px !important;
    }
    
    .mobile-compact-cta {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .mobile-sticky-cta {
        position: sticky;
        bottom: 0;
        z-index: 40;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
}