/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rancho&family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');

/* Colors */
:root {
    --primary-color: #2d368f;
    --secondary-color: #ffffff;
    --lighter-blue-color: #4853a3;
    --darker-blue-color: #19257c;
    --light-blue-color: #6a76d3;
    --lightest-blue-color: #babfe5;
}

/* Body and HTML styling */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "TikTok Sans", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings:
      "slnt" 0,
      "FLAR" 0,
      "VOLM" 0;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Font styling utilities */
.font-family-roboto {
    font-family: 'Roboto', sans-serif;
}

.rancho-regular {
    font-family: "Rancho", cursive;
    font-weight: 400;
    font-style: normal;
}

.tiktok-sans-regular {
    font-family: "TikTok Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}


/* Font weight utilities */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Full-screen video background container */
.video-background-holder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    /* Fallback background image - always visible behind video */
    background-image: url('/img/video-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Video background styling */
.video-background-holder video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay */
.video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 34, 114, 0.85);
    z-index: 2;
}

/* Content container */
.video-background-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    padding: 2rem 1rem;
    padding-top: 4rem;
}

/* Content wrapper for responsive centering */
.video-background-content .container {
    display: flex;
    justify-content: center;
}

/* Content area */
.video-background-content .d-flex {
    width: 100%;
    max-width: 1000px;
    padding: 2rem 0;
}

.all-caps {
    text-transform: uppercase;
}

.letter-spacing {
    letter-spacing: 0.1em;
}

/* Logo styling */
.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

/* Contact button styling */
.contact-button-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-button {
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    min-width: 250px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--lightest-blue-color);
    color: var(--primary-color);
}

.contact-button:focus {
    background-color: var(--lightest-blue-color);
    color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 54, 143, 0.25);
}

/* Address container styling */
.address-container {
    margin: 1.5rem 0;
    color: white;
}

.address-container p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.address-container a {
    color: var(--light-blue-color);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
}

.address-container a:hover {
    color: var(--lightest-blue-color);
    text-decoration: underline;
}

/* Phone number styling */
.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lightest-blue-color) !important;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.phone-number:hover {
    color: var(--secondary-color) !important;
    text-decoration: none !important;
}

/* Directions link styling */
.directions-link {
    color: var(--secondary-color) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-top: 1rem;
    padding: 0.3rem 0.8rem;
    border: 2px solid var(--lightest-blue-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.directions-link:focus {
    background-color: var(--lightest-blue-color);
    color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(45, 54, 143, 0.25);
}

.directions-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--lightest-blue-color);
    text-decoration: none !important;
}

.directions-link i {
    margin-right: 0.5rem;
}

/* Photo Gallery Section */
.gallery-section {
    position: relative;
    z-index: 3;
    margin-top: 3rem;
    padding: 2rem 1rem;
}

.gallery-section h4 {
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45, 54, 143, 0.5);
    border: 2px solid var(--light-blue-color);
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(45, 54, 143, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Footer styling */
footer {
    position: relative;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    margin-top: auto;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-background-content {
        padding: 1.5rem 1rem;
        padding-top: 3rem;
    }

    .video-background-content .d-flex {
        padding: 1rem 0;
    }

    .logo {
        max-width: 300px;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .contact-button-container {
        gap: 1rem;
        flex-direction: column;
    }

    .contact-button {
        padding: 0.65rem 2rem;
        font-size: 1rem;
        min-width: 180px;
        width: 100%;
        max-width: 300px;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
        padding: 0.5rem;
    }

    .gallery-section {
        margin-top: 2rem;
        padding: 1.5rem 0.5rem;
    }

    .gallery-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 250px;
    }

    h3 {
        font-size: 1.1rem;
    }

    .contact-button {
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
        min-width: 160px;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .gallery-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}