/**
 * Hero Page Styles
 * Designed for easy migration to Shopify
 * 
 * Font Notes:
 * - Abril Fatface: Used for "AZNABA" brand name (via Google Fonts)
 * - ITC Avant Garde Gothic: Used for UI text
 *   Note: Currently using Montserrat as a similar alternative. To use the exact ITC Avant Garde Gothic font,
 *   purchase a license and add @font-face declaration in this file, then replace 'Montserrat' with the font family name.
 */

/* ============================================
   HERO PAGE CONTAINER
   ============================================ */
.hero-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
}

.hero-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
}

.nav-menu-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    transition: opacity 0.3s ease;
}

.nav-menu-group:hover {
    opacity: 0.7;
}

.hero-nav .nav-icon {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.hero-nav .nav-icon:hover {
    opacity: 0.7;
}

.hero-nav .nav-icon svg {
    width: 24px;
    height: 24px;
}

.menu-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 40px 80px;
}

/* ============================================
   BRAND NAME OVERLAY
   ============================================ */
.brand-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    pointer-events: none;
    z-index: 5;
    padding: 0 40px;
}

.brand-letter {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(60px, 12vw, 180px);
    font-weight: 400;
    color: #ffffff;
    line-height: 0.9;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Positioning individual letters based on the split-screen design */
/* Left side: AZ */
.brand-az {
    position: absolute;
    left: 15%;
    transform: translateX(-50%);
}

/* Center split: N */
.brand-n {
    position: absolute;
    left: 48%;
    transform: translateX(-50%);
}

/* Right side start: A */
.brand-a {
    position: absolute;
    left: 52%;
    transform: translateX(-50%);
}

/* Right side: BA */
.brand-ba {
    position: absolute;
    left: 85%;
    transform: translateX(-50%);
}

/* ============================================
   HERO BOTTOM SECTION
   ============================================ */
.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.trending-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 2.5vw, 32px);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.explore-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 18px);
    color: #000000;
    background: #ffffff;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #ffffff;
    white-space: nowrap;
}

.explore-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.explore-button:active {
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .landing-nav {
        padding: 15px 20px;
    }

    .an-logo {
        height: 35px;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .brand-letter {
        font-size: clamp(40px, 10vw, 120px);
    }

    .menu-text {
        font-size: 14px;
    }

    .nav-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 12px 15px;
    }

    .an-logo {
        height: 30px;
    }

    .nav-right {
        gap: 12px;
    }

    .menu-text {
        display: none;
    }

    .hero-content {
        padding: 80px 15px 40px;
    }

    .brand-letter {
        font-size: clamp(32px, 8vw, 80px);
    }

    .trending-text {
        font-size: clamp(16px, 4vw, 24px);
    }

    .explore-button {
        padding: 14px 32px;
        font-size: clamp(12px, 3vw, 16px);
    }

    .hero-bottom {
        bottom: 40px;
        gap: 20px;
    }

    .cover-image {
        object-position: left center;
    }
}

@media (max-width: 480px) {
    .brand-name {
        flex-wrap: wrap;
        gap: 0;
    }

    .brand-az,
    .brand-n,
    .brand-a,
    .brand-ba {
        position: relative;
        left: auto;
        transform: none;
    }

    .brand-name {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 8px;
    }
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.hero-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.hero-search-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.hero-search-close {
    position: absolute;
    top: 32px;
    right: 40px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 4px 8px;
}

.hero-search-close:hover {
    opacity: 1;
}

.hero-search-form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    width: min(640px, 80vw);
    gap: 12px;
    padding-bottom: 12px;
    transform: translateY(20px);
    transition: transform 0.35s ease;
}

.hero-search-overlay.is-open .hero-search-form {
    transform: translateY(0);
}

.hero-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.hero-search-submit {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 4px;
    flex-shrink: 0;
}

.hero-search-submit:hover {
    opacity: 1;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .landing-nav,
    .explore-button {
        display: none;
    }
}

