/* ==========================================================================
   Main Styles - Brand Homepage (front-page.php)
   ========================================================================== */

/* --- UNIQUE FLOATING NAVIGATION --- */
nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: var(--transition);
    border: 1px solid rgba(26, 34, 56, 0.05);
}

nav.scrolled {
    top: 15px;
    padding: 10px 30px;
    border-radius: 100px;
    width: 95%;
}

.logo {
    font-family: 'Newsreader', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-sea);
    text-decoration: none;
    letter-spacing: -0.5px;
    z-index: 2100;
}

.logo span {
    color: var(--accent-sand);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-sea);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-sand);
}

.nav-cta {
    background: var(--deep-sea);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent-sand);
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2100;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--deep-sea);
    transition: 0.3s;
}

/* --- BRAND HERO --- */
.brand-hero {
    height: 90vh;
    background: var(--mist-blue);
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.brand-hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.brand-hero-content h1 {
    font-family: 'Newsreader', serif;
    font-size: clamp(3rem, 6vw, 4rem);
    line-height: 1;
    margin: 20px 0;
}

.hero-visual-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* --- LOCATIONS --- */
.locations-selector {
    padding: 120px 10%;
    background: var(--white);
}

.loc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.loc-card {
    position: relative;
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    transition: var(--transition);
}

.loc-card:hover {
    transform: translateY(-15px);
}

.loc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 34, 56, 0.8), transparent);
    z-index: 1;
}

.loc-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: 1.5s;
}

.loc-card:hover img {
    scale: 1.1;
}

.loc-content {
    position: relative;
    z-index: 2;
}

.loc-tag {
    background: var(--accent-sand);
    padding: 5px 15px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loc-card h3 {
    font-family: 'Newsreader', serif;
    font-size: 2.5rem;
    margin: 15px 0;
}

.loc-card.soon {
    filter: grayscale(1);
    cursor: default;
}

/* --- STANDARDS --- */
.standards {
    padding: 100px 10%;
    background: var(--mist-blue);
    border-radius: 80px 80px 0 0;
    text-align: center;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.std-item i {
    font-size: 2rem;
    color: var(--accent-sand);
    margin-bottom: 20px;
}

/* --- FOOTER --- */
footer {
    padding: 100px 10%;
    background: var(--deep-sea);
    color: white;
    border-radius: 80px 80px 0 0;
}

.f-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

/* --- MOBILE STYLES --- */
@media (max-width: 991px) {
    nav {
        width: 95%;
        padding: 10px 20px;
        top: 15px;
        border-radius: 50px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 2050;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--deep-sea);
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .brand-hero {
        padding: 140px 20px 60px;
        text-align: center;
        height: auto;
    }

    .brand-hero-content {
        max-width: 100%;
    }

    .brand-hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-visual-bg {
        display: none;
    }

    .locations-selector {
        padding: 60px 20px;
    }

    .locations-selector h2 {
        font-size: 2rem !important;
    }

    .loc-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .loc-card {
        height: 450px;
        padding: 30px;
        border-radius: 30px;
    }

    .loc-card h3 {
        font-size: 2rem;
    }

    .standards {
        padding: 80px 20px;
        border-radius: 40px 40px 0 0;
    }

    .standards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .std-item {
        padding: 10px;
    }

    footer {
        padding: 60px 20px;
        border-radius: 40px 40px 0 0;
    }

    .f-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
}

@media (max-width: 480px) {
    .standards-grid {
        grid-template-columns: 1fr;
    }
}