:root {
    --primary-black: #1a1a1a;
    --secondary-gray: #333333;
    --accent-gray: #4a4a4a;
    --text-white: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--primary-black);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Cloud Animation */
.clouds {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Lower z-index to ensure it stays behind content */
}

.cloud {
    position: absolute;
    background: url('sonarcloud.png') no-repeat center center;
    background-size: contain;
    animation: float 30s linear infinite;
    will-change: transform;
}

.cloud1 {
    width: 400px;
    height: 200px;
    top: 10%;
    left: 0;
    opacity: 0.3;
}

.cloud2 {
    width: 600px;
    height: 300px;
    top: 40%;
    left: 0;
    animation-delay: -5s;
    opacity: 0.2;
}

.cloud3 {
    width: 300px;
    height: 150px;
    top: 70%;
    left: 0;
    animation-delay: -10s;
    opacity: 0.4;
}

.cloud4 {
    width: 500px;
    height: 250px;
    top: 25%;
    left: 0;
    animation-delay: -7s;
    opacity: 0.25;
}

.cloud5 {
    width: 450px;
    height: 225px;
    top: 55%;
    left: 0;
    animation-delay: -3s;
    opacity: 0.35;
}

.cloud6 {
    width: 350px;
    height: 175px;
    top: 85%;
    left: 0;
    animation-delay: -8s;
    opacity: 0.3;
}

.cloud7 {
    width: 550px;
    height: 275px;
    top: 5%;
    left: 0;
    animation-delay: -12s;
    opacity: 0.2;
}

.cloud8 {
    width: 420px;
    height: 210px;
    top: 60%;
    left: 0;
    animation-delay: -15s;
    opacity: 0.25;
}

@keyframes float {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(calc(100vw + 100%));
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    gap: 20px;
}

@media (max-width: 768px) {
    nav {
        transform: translateY(-100%) !important;
        transition: transform 0.4s ease-out;
    }
    
    nav.scrolled {
        transform: translateY(0) !important;
    }
}

.home-page nav {
    justify-content: center;
}

.home-page nav .logo {
    position: absolute;
    left: 20px;
}

.home-page nav .nav-actions {
    position: absolute;
    right: 20px;
}

.location-page nav {
    justify-content: center;
}

.location-page nav .logo {
    position: absolute;
    left: 20px;
}

.location-page nav .nav-actions {
    position: absolute;
    right: 20px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
}

.logo a {
    color: var(--text-white);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.location-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.location-switcher a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.location-switcher a.active,
.location-switcher a:hover {
    opacity: 1;
}

.location-switcher span {
    opacity: 0.4;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    margin: 0 20px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.7;
}

.nav-links a:hover {
    color: #888;
    opacity: 1;
}

.nav-links a.active {
    opacity: 1;
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 20px rgba(255, 255, 255, 0.6),
                 0 0 30px rgba(255, 255, 255, 0.4);
    animation: navGlow 2s ease-in-out infinite alternate;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: navLineGlow 2s ease-in-out infinite alternate;
}

@keyframes navGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.6),
                     0 0 30px rgba(255, 255, 255, 0.4);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 255, 255, 1),
                     0 0 25px rgba(255, 255, 255, 0.8),
                     0 0 35px rgba(255, 255, 255, 0.6);
    }
}

@keyframes navLineGlow {
    from {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
        opacity: 0.8;
    }
    to {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
                    0 0 25px rgba(255, 255, 255, 0.6);
        opacity: 1;
    }
}

/* Smaller Book Now buttons with glow */
.book-now, .book-now-hero {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95), rgba(26, 26, 26, 0.95));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 255, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.book-now:hover, .book-now-hero:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.98), rgba(35, 35, 35, 0.98));
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(255, 255, 255, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.book-now:active, .book-now-hero:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 255, 255, 0.2);
}

/* Add a subtle shine effect */
.book-now::before, .book-now-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.book-now:hover::before, .book-now-hero:hover::before {
    transform: rotate(30deg) translateX(100%);
}

.book-now::after, .book-now-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 30px;
    z-index: 1;
    pointer-events: none;
}

.book-now:hover::after, .book-now-hero:hover::after {
    opacity: 1;
}

/* Ensure text stays on top of the shine effect */
.book-now span, .book-now-hero span {
    position: relative;
    z-index: 2;
}

/* Specific styles for the hero button */
.book-now-hero {
    margin-top: 30px;
    padding: 14px 32px;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35),
                0 0 25px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
    letter-spacing: 2px;
}

.book-now-hero:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45),
                0 0 35px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-hero {
    min-height: 100vh;
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home-page nav .nav-links {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.home-page nav.scrolled .nav-links {
    opacity: 1;
    visibility: visible;
}

.location-page nav .nav-links {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.location-page nav.scrolled .nav-links {
    opacity: 1;
    visibility: visible;
}

.home-page section:not(.home-hero) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.home-page section:not(.home-hero).revealed {
    opacity: 1;
    transform: translateY(0);
}

.home-page footer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.home-page footer.revealed {
    opacity: 1;
    transform: translateY(0);
}

.home-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-top: 20px;
    margin-bottom: 15px;
}

.home-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
}

.home-about .about-content {
    max-width: 800px;
    text-align: center;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.home-locations {
    text-align: center;
}

.location-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
}

.location-card {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95), rgba(26, 26, 26, 0.95));
    border-radius: 16px;
    padding: 30px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.location-card:hover::before {
    opacity: 1;
}

.location-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.location-card:hover::after {
    opacity: 1;
}

.location-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.1);
}

.location-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location-meta {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.location-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.2px;
    position: relative;
    padding: 10px 20px;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.location-link::after {
    content: '→';
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.location-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.location-link:hover::after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .location-card-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .location-card {
        padding: 30px 25px;
    }
    
    .location-card h3 {
        font-size: 1.5rem;
    }
    
    .location-link {
        padding: 10px 20px;
        padding-right: 40px;
        font-size: 0.85rem;
    }
}

.home-contact {
    padding: 80px 20px;
}

.home-contact .contact-wrapper {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95), rgba(26, 26, 26, 0.95));
    padding: 50px 60px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.home-contact .contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.5;
}

.home-contact .contact-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.05);
}

.home-contact .contact-wrapper p {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.home-contact .contact-wrapper a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.home-contact .contact-wrapper a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s ease;
}

.home-contact .contact-wrapper a:hover {
    color: rgba(255, 255, 255, 1);
}

.home-contact .contact-wrapper a:hover::after {
    width: 100%;
}

.home-contact .contact-wrapper p:first-child {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .home-contact .contact-wrapper {
        padding: 35px 30px;
        max-width: 90%;
    }
    
    .home-contact .contact-wrapper p {
        font-size: 1rem;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .home-contact .contact-wrapper p:first-child {
        font-size: 1.1rem;
    }
}

.location-address {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    opacity: 0.9;
}

.team-role {
    margin: 5px 0 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.team-placeholder {
    text-align: center;
    opacity: 0.7;
}

/* Add a subtle pulse animation to the buttons */
@keyframes buttonGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
}

/* Apply the glow animation */
.book-now, .book-now-hero {
    animation: buttonGlow 3s infinite;
}

/* Mobile-specific enhancements */
@media (max-width: 768px) {
    .book-now {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .book-now-hero {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

section {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2; /* Ensure all sections are above clouds */
}

.location-page section {
    min-height: 100vh;
}

.home-page section {
    min-height: auto;
    padding: 100px 20px 80px;
}

#home {
    text-align: center;
}

#home .main-logo,
#home .location-name {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 0;
}

.service-card {
    background: var(--secondary-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.team-member {
    text-align: center;
    width: 270px;
    flex: 0 0 auto;
}

.member-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.large-img {
    width: 250px;
    height: 250px;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    margin-top: 30px;
    overflow: hidden;
    position: relative;
    background: var(--secondary-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.5;
    z-index: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.directions-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95), rgba(26, 26, 26, 0.95));
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.directions-button i {
    font-size: 1.1rem;
}

.directions-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(68, 68, 68, 0.95), rgba(34, 34, 34, 0.95));
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.directions-button:active {
    transform: translateY(-1px);
}

.contact-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
}

.contact-info {
    text-align: center;
    padding: 50px 60px;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95), rgba(26, 26, 26, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    max-width: 600px;
    width: 100%;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.5;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-info:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.05);
}

.contact-info:hover::after {
    opacity: 1;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    margin: 20px 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.contact-info p:hover {
    color: rgba(255, 255, 255, 1);
}

.contact-info .phone-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.contact-info .phone-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s ease;
}

.contact-info .phone-link:hover {
    color: rgba(255, 255, 255, 1);
}

.contact-info .phone-link:hover::after {
    width: 100%;
}

.main-logo {
    width: 450px;
    height: auto;
    margin-bottom: 30px;
}

.location-name {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--text-white);
    margin: -10px 0 20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.4),
                 0 0 30px rgba(255, 255, 255, 0.3),
                 0 0 40px rgba(255, 255, 255, 0.2);
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.glow {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3))
           drop-shadow(0 0 20px rgba(255, 255, 255, 0.2))
           drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    animation: glow 2s ease-in-out infinite alternate;
    will-change: filter;
}

@media (max-width: 768px) {
    .glow {
        animation: none;
    }
    
    #home .main-logo.glow,
    #home .location-name.glow {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3))
               drop-shadow(0 0 20px rgba(255, 255, 255, 0.2))
               drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3))
               drop-shadow(0 0 20px rgba(255, 255, 255, 0.2))
               drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    }
    to {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4))
               drop-shadow(0 0 25px rgba(255, 255, 255, 0.3))
               drop-shadow(0 0 35px rgba(255, 255, 255, 0.2));
    }
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--secondary-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-actions {
        width: auto;
        justify-content: flex-end;
        margin-left: auto;
    }
    
    .home-page nav .nav-actions,
    .location-page nav .nav-actions {
        position: absolute;
        right: 15px;
        left: auto;
    }
    
    .nav-actions .book-now {
        display: none;
    }
    
    .location-switcher {
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .location-switcher a {
        font-size: 0.95rem;
    }
    
    .location-card-grid {
        gap: 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .contact-info {
        padding: 35px 30px;
        border-radius: 15px;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .contact-info p {
        font-size: 1rem;
        margin: 18px 0;
        flex-direction: column;
        gap: 8px;
    }
    
    .main-logo {
        width: 250px;
    }
    
    .location-name {
        font-size: 2rem;
        letter-spacing: 5px;
        margin: -5px 0 15px;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                     0 0 20px rgba(255, 255, 255, 0.4),
                     0 0 30px rgba(255, 255, 255, 0.3);
        filter: none;
    }
    
    .footer-logo {
        width: 100px;
    }

    .map-container {
        height: 350px;
        border-radius: 15px;
        margin-top: 20px;
    }
    
    .directions-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .directions-button i {
        font-size: 1rem;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; /* Force 2 columns */
        gap: 10px;
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .service-card {
        padding: 12px;
        min-height: auto;
        font-size: 0.85rem;
    }
    
    .service-card h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .service-card p {
        margin: 0;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .location-name {
        font-size: 1.5rem;
        letter-spacing: 3px;
        margin: -5px 0 12px;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.5),
                     0 0 15px rgba(255, 255, 255, 0.4),
                     0 0 25px rgba(255, 255, 255, 0.3);
        filter: none;
    }
    
    .services-grid {
        gap: 8px;
        padding: 10px;
    }
    
    .service-card {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .service-card h3 {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    .contact-info {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .contact-info p {
        font-size: 0.95rem;
        margin: 15px 0;
    }
    
    .map-container {
        height: 300px;
        border-radius: 12px;
    }
    
    .directions-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .directions-button i {
        font-size: 0.9rem;
    }
}

.video-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    padding: 50px 0;
    background: var(--primary-black);
}

/* Add a gradient overlay to smooth the transitions */
.video-container::before,
.video-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.video-container::before {
    top: 0;
    background: linear-gradient(to bottom, var(--primary-black) 0%, transparent 100%);
}

.video-container::after {
    bottom: 0;
    background: linear-gradient(to top, var(--primary-black) 0%, transparent 100%);
}

#backgroundVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    opacity: 0.3;
    pointer-events: none;
}

.video-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#services {
    padding: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
    background: var(--primary-black);
}

.services-grid {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.service-card {
    background: rgba(51, 51, 51, 0.8);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card h3 {
    margin-bottom: 10px;
}

@media (min-width: 769px) {
    .services-grid {
        align-items: center;
        min-height: 60vh;
        margin-top: 0;
        grid-template-columns: repeat(4, 1fr);
        max-width: 90%;
    }

    .video-content {
        justify-content: center;
        min-height: 100vh;
        max-width: 90%;
        margin: 0 auto;
    }

    .video-content h2 {
        margin-bottom: 50px;
        font-size: clamp(2rem, 3vw, 3rem);
    }

    .team-grid {
        max-width: 90%;
    }
    
    .team-member {
        width: 100%;
        max-width: 300px;
    }

    .contact-container {
        max-width: 90%;
    }

    .map-container {
        max-width: 90%;
    }

    .main-logo {
        width: clamp(350px, 40vw, 450px);
    }

    section {
        padding: 100px 5%;
    }

    .service-card {
        padding: clamp(20px, 3vw, 30px);
    }

    .contact-info {
        padding: clamp(25px, 4vw, 40px);
        width: clamp(300px, 50vw, 600px);
    }
}

/* Add large screen optimizations */
@media (min-width: 1400px) {
    .services-grid, 
    .team-grid,
    .contact-container,
    .map-container,
    .video-content {
        max-width: 1400px;
    }
}

#location h2 {
    margin-bottom: 20px;
}

/* Our Space Gallery */
#space {
    padding: 80px 20px;
    position: relative;
    z-index: 5;
}

.gallery-container {
    width: 100%;
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
    z-index: 5;
}

.swipe-gallery {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    background-color: var(--primary-black);
    z-index: 5;
}

.swipe-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 600px;
    position: relative;
    background-color: var(--primary-black);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 6;
    position: relative;
}

.gallery-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    z-index: 7;
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.swipe-gallery:hover .gallery-prev,
.swipe-gallery:hover .gallery-next {
    opacity: 0.9;
}

.gallery-prev:hover, .gallery-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.gallery-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px auto;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-dot.active {
    background: var(--text-white);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .gallery-slide {
        height: 400px;
    }
    
    .gallery-prev, .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
        opacity: 0.4;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
    }
    
    .gallery-dots {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .gallery-slide {
        height: 300px;
    }
    
    .gallery-prev, .gallery-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .gallery-prev {
        left: 5px;
    }
    
    .gallery-next {
        right: 5px;
    }
}

/* Dream Come True Section */
#dream {
    min-height: 100vh;
    padding: 80px 20px;
    position: relative;
    z-index: 5;
    background-color: transparent;
    text-align: center;
}

#dream h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

#dream h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

.dream-another {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #FFD700;
    margin: 0 0 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
                 0 0 20px rgba(255, 215, 0, 0.3),
                 0 0 30px rgba(255, 215, 0, 0.2);
    animation: goldenGlow 2s ease-in-out infinite alternate;
}

@keyframes goldenGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
                     0 0 20px rgba(255, 215, 0, 0.3),
                     0 0 30px rgba(255, 215, 0, 0.2);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.7),
                     0 0 25px rgba(255, 215, 0, 0.5),
                     0 0 35px rgba(255, 215, 0, 0.3);
    }
}

.dream-video-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
    position: relative;
    z-index: 5;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 0 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

.dream-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(255, 255, 255, 0.15);
}

#dreamVideo {
    width: 100%;
    height: auto;
    display: block;
    background-color: transparent;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Add shine effect to the video container */
.dream-video-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 6s infinite linear;
    z-index: 6;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* Adjustments for dream video on mobile - even larger */
@media (max-width: 768px) {
    .dream-video-container {
        width: 100%;
        max-width: 100%;
        margin: 20px auto 0;
        border-radius: 10px;
        /* Remove height constraints to allow video to be larger */
        height: auto;
    }
    
    #dreamVideo {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 16; /* Make it appear much longer/taller */
        object-fit: cover;
    }
    
    /* Increase the section padding to accommodate larger video */
    #dream {
        padding-bottom: 80px;
    }
    
    .dream-another {
        font-size: 3rem;
        letter-spacing: 6px;
        margin: 0 0 15px;
    }
    }
    
@media (max-width: 480px) {
    .dream-video-container {
        margin: 15px auto 0;
        border-radius: 8px;
    }
    
    #dreamVideo {
        aspect-ratio: 16 / 20; /* Even taller aspect ratio for smaller screens */
    }
    
    /* Ensure enough space at the bottom */
    #dream {
        padding-bottom: 60px;
    }
    
    .dream-another {
        font-size: 2.5rem;
        letter-spacing: 4px;
        margin: 0 0 10px;
    }
}

/* Larger dream video on bigger screens */
@media (min-width: 1200px) {
    .dream-video-container {
        max-width: 80%;
        margin: 50px auto 0;
    }
}

@media (min-width: 1600px) {
    .dream-video-container {
        max-width: 70%;
    }
    
    #dreamVideo {
        border-radius: 15px;
    }
}

@media (min-width: 2000px) {
    .dream-video-container {
        max-width: 60%;
    }
}

.phone-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.phone-link:hover {
    opacity: 0.8;
}

/* Consistent heading styles with glow effect - smaller size */
section h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-white);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3))
           drop-shadow(0 0 16px rgba(255, 255, 255, 0.2));
    animation: headingGlow 2s ease-in-out infinite alternate;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

@keyframes headingGlow {
    from {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3))
               drop-shadow(0 0 16px rgba(255, 255, 255, 0.2));
    }
    to {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4))
               drop-shadow(0 0 24px rgba(255, 255, 255, 0.3));
    }
}

/* Mobile adjustments for headings */
@media (max-width: 768px) {
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    section h2::after {
        width: 60px;
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    section h2 {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.social-link {
    display: flex;
    align-items: center;
    color: var(--text-white);
    text-decoration: none;
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link i {
    margin-right: 8px;
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    .social-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
}

/* Reduce spacing between specific sections on mobile */
@media (max-width: 768px) {
    #space, #location, #contact, #dream {
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    /* Add specific adjustments for consecutive sections */
    #location {
        padding-top: 40px;
    }
    
    #contact {
        padding-top: 40px;
    }
    
    #dream {
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    #space, #location, #contact, #dream {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    /* Further reduce for smaller screens */
    #location {
        padding-top: 30px;
    }
    
    #contact {
        padding-top: 30px;
    }
    
    #dream {
        padding-top: 30px;
    }
}

/* Sound toggle button */
.sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.sound-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.sound-toggle i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .sound-toggle {
        bottom: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .sound-toggle {
        bottom: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
    
    .sound-toggle i {
        font-size: 1rem;
    }
}

.barber-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    margin-top: 5px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.barber-social:hover {
    transform: scale(1.2);
    color: #E1306C; /* Instagram brand color */
}

.barber-social i {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

/* Dream swipe animation */
.dream-loader-container {
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    transition: all 0.5s ease;
}

.swipe-indicator {
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.swipe-indicator p {
    margin-bottom: 10px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.swipe-indicator i {
    font-size: 1.5rem;
    animation: slideRight 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
}

.dream-swipe-container {
    width: 100%;
    margin: 0 auto;
}

.dream-swipe-track {
    width: 100%;
    height: 60px;
    background: rgba(51, 51, 51, 0.7);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dream-swipe-handle {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #333333, #1a1a1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 2;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dream-swipe-handle:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.dream-swipe-handle i {
    color: white;
    font-size: 1.2rem;
}

.dream-loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #333333, #666666, #999999);
    background-size: 200% 100%;
    animation: gradientMove 2s linear infinite;
    border-radius: 30px;
    transition: width 0.3s ease;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.dream-loading-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.5s ease;
}

.explosion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, white, transparent);
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.explode {
    animation: explode 1s forwards;
}

@keyframes explode {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Simplified play overlay for mobile */
.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.play-button-overlay button {
    background: none;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.play-button-overlay button:hover {
    transform: scale(1.1);
}

.play-button-overlay button i {
    font-size: 2rem;
    margin-right: 10px;
}

/* Dreamy animation elements */
.dream-stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.dream-star {
    position: absolute;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
}

.dream-mist {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 998;
}

.dream-mist.animate {
    animation: dreamMist 2s forwards;
}

@keyframes dreamMist {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Subtle heading glow for mobile - only for main section headings */
@media (max-width: 768px) {
    section > h2 {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3),
                     0 0 15px rgba(255, 255, 255, 0.2);
        animation: headingGlow 4s ease-in-out infinite alternate;
    }
    
    @keyframes headingGlow {
        from {
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.3),
                         0 0 15px rgba(255, 255, 255, 0.2);
        }
        to {
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                         0 0 20px rgba(255, 255, 255, 0.3);
        }
    }
    
    /* Slightly enhanced glow for the dream section heading */
    #dream > h2 {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                     0 0 20px rgba(255, 255, 255, 0.3);
        animation: dreamHeadingGlow 4s ease-in-out infinite alternate;
    }
    
    @keyframes dreamHeadingGlow {
        from {
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                         0 0 20px rgba(255, 255, 255, 0.3);
        }
        to {
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
                         0 0 25px rgba(255, 255, 255, 0.4);
        }
    }
    
    /* Explicitly remove glow from inner elements */
    .service-card h3,
    .team-member h3,
    .contact-info h3 {
        text-shadow: none;
        animation: none;
    }
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.4s ease;
    pointer-events: none;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.booking-modal.active .modal-overlay {
    opacity: 1;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.98), rgba(26, 26, 26, 0.98));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px;
    max-width: 520px;
    width: 90%;
    z-index: 10001;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                0 0 40px rgba(255, 255, 255, 0.03);
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.5s ease;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.5;
}

.booking-modal.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(255, 255, 255, 0.08) inset,
                0 0 50px rgba(255, 255, 255, 0.05);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.8;
    z-index: 10;
}

.modal-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin-bottom: 12px;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 300;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(20, 20, 20, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-option::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.modal-option:hover::before {
    left: 100%;
}

.modal-option:hover {
    transform: translateX(6px) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(25, 25, 25, 0.9));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.modal-option:hover::after {
    opacity: 1;
}

.modal-option h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.modal-option:hover h3 {
    color: rgba(255, 255, 255, 1);
}

.modal-option p {
    margin: 6px 0 0;
    font-size: 0.95rem;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.modal-option:hover p {
    opacity: 0.9;
}

.modal-arrow {
    font-size: 1.6rem;
    opacity: 0.65;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: 12px;
}

.modal-option:hover .modal-arrow {
    opacity: 1;
    transform: translateX(8px) scale(1.1);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 50px 20px 30px;
        max-width: 90%;
        margin: 20px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    
    .modal-content h2 {
        font-size: 1.6rem;
        margin-top: 0;
        padding-right: 30px;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .modal-options {
        gap: 12px;
    }
    
    .modal-option {
        padding: 18px 20px;
    }
    
    .modal-option h3 {
        font-size: 1.1rem;
    }
    
    .modal-option p {
        font-size: 0.85rem;
    }
    
    .modal-arrow {
        font-size: 1.3rem;
    }
}





.footer-links a {
    position: relative;
    color: #ffffff;              /* white text */
    text-decoration: none;
    cursor: default;
    opacity: 0.85;               /* slightly muted like normal text */
    transition: opacity 0.2s ease;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #ffffff;         /* white underline */
    transition: width 0.2s ease;
}

.footer-links a:hover {
    cursor: pointer;             /* link cursor */
    opacity: 1;                  /* full white on hover */
}

.footer-links a:hover::after {
    width: 100%;
}









@media (max-width: 480px) {
    .modal-content {
        padding: 45px 15px 25px;
        max-width: calc(100% - 20px);
        margin: 10px;
        border-radius: 15px;
    }
    
    .modal-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .modal-content h2 {
        font-size: 1.4rem;
        padding-right: 25px;
    }
    
    .modal-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .modal-option {
        padding: 15px 18px;
    }
    
    .modal-option h3 {
        font-size: 1rem;
    }
    
    .modal-option p {
        font-size: 0.8rem;
    }
    
    .modal-arrow {
        font-size: 1.1rem;
    }
}