/* Landing Page - Tiled Grid Design */

:root {
    --grid-gap: 0px;
    --overlay-color: rgba(0, 0, 0, 0.45);
    --text-color: #ffffff;
    --accent-color: #e5e5e5;
    --font-primary: "Jost", sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #111;
    font-family: var(--font-primary);
}

/* Background Grid */
.landing-grid-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: grid;
    /* 5 columns on desktop */
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 25vh;
    /* 4 rows to fill 100vh */
    gap: var(--grid-gap);
    overflow: hidden;
}

.grid-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3s ease;
    filter: brightness(0.9);
}

/* Subtle animation on load */
.grid-item img {
    animation: zoomIn 1.5s ease-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Content Overlay */
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: var(--overlay-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    /* backdrop-filter: blur(2px); REMOVED per user request */
}

/* Typography & Layout */
.hero-content {
    max-width: 900px;
    padding: 2rem;
    animation: fadeIn 1.2s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    margin-top: 0.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-details {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-location {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-disciplines {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin: 0;
}

.hero-disciplines span {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.cta-button {
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-primary {
    /* Main CTA style */
    font-weight: 500;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.cta-secondary {
    /* Secondary style */
    font-weight: 400;
}

/* Contact Info (Moved under buttons) */
.hero-footer {
    /* Removed absolute positioning */
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0;
}

.hero-footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-footer a:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .landing-grid-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
        grid-auto-rows: 20vh;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 0.1em;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .hero-details {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

    .hero-disciplines {
        font-size: 0.8rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-bottom: 2.5rem;
    }

    .cta-button {
        width: 100%;
        box-sizing: border-box;
    }

    .hero-footer {
        flex-direction: column;
        gap: 1rem;
    }
}