/* where-we-work.css */

/* Hero Section with Parallax */
.work-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-color: #000;
    /* Fallback */
}

.work-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/project-santa-lucia.jpg');
    /* Use an existing image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    opacity: 0.6;
    z-index: 1;
}

.work-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.work-hero h1 {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1.5s ease-out;
}

.work-hero p {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

/* Locations Section */
.locations-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333;
}

.locations-section h2 {
    color: #2c3e50;
}

.location-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .location-card {
        flex-direction: row;
        align-items: center;
    }

    .location-card:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.location-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-info {
    flex: 1;
    padding: 40px;
}

.location-info h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.location-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.location-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #555;
}

.location-info li::before {
    content: '📍';
    /* Or a checkmark SVG */
    margin-right: 10px;
}

/* Future/Expansion Section with Video */
.expansion-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
}

.expansion-section h2 {
    color: #ffffff;
}

.expansion-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.expansion-section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery Grid */
.gallery-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.gallery-section h2 {
    color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}