/* ============================================
   INDEX STYLES — Main Page Styles
   Footer/Navbar styles are in shared/shared.css
   ============================================ */

/* ============================================
   BACKGROUND — Fixed, blurs on scroll
   ============================================ */

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://res.cloudinary.com/domutc3bw/image/upload/q_auto,f_auto/v1776859169/baba.com_island_s7x4nq.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: filter;
    transition: filter 0.05s linear;
    transform: scale(1.05);
    transform-origin: center;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 900px;
    padding: 0 10% 12vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
}

.hero-subtitle span {
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    border-right: 3px solid var(--primary-cyan);
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

/* Hero Social Links */
.hero-social {
    position: absolute;
    bottom: 3rem;
    right: 5%;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    z-index: 2;
}

.hero-social a {
    color: var(--light-text);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.hero-social a:hover {
    color: var(--primary-cyan);
    opacity: 1;
    text-shadow: 0 0 15px var(--primary-cyan);
    transform: translateY(-5px);
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--primary-cyan); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0.6;
    animation: scrollFade 2.5s ease-in-out infinite;
}

.scroll-indicator-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-cyan), transparent);
    position: relative;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 5px;
    height: 5px;
    background: var(--primary-cyan);
    border-radius: 50%;
    animation: scrollDot 2.5s ease-in-out infinite;
    box-shadow: 0 0 8px var(--primary-cyan);
}

@keyframes scrollFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(35px); opacity: 0; }
}

/* ============================================
   SECTION STYLES (homepage sections)
   ============================================ */

.hp-section {
    position: relative;
    z-index: 1;
    padding: 50px 5%;
}

.hp-section-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.hp-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.hp-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hp-section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.hp-section-cta {
    text-align: center;
    margin-top: 3.5rem;
}

.hp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hp-cta-btn:hover {
    background: var(--primary-cyan);
    color: var(--dark-bg);
    border-color: var(--primary-cyan);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 242, 255, 0.35);
}

.hp-cta-btn:hover i { transform: translateX(4px); }
.hp-cta-btn i { transition: transform 0.3s ease; font-size: 0.9rem; }

.hp-cta-btn--primary {
    background: rgba(0, 242, 255, 0.08);
    border-color: rgba(0, 242, 255, 0.25);
}

/* Section Dividers */
.hp-gallery-section::before,
.hp-about-section::before,
.hp-contact-section::before {
    content: '';
    display: block;
    width: min(90%, 1200px);
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   GALLERY PREVIEW SECTION
   ============================================ */

.hp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hp-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    display: block;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hp-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 20, 0.85) 0%, rgba(10, 14, 20, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.hp-gallery-overlay-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2px;
}

.hp-gallery-item:hover {
    border-color: rgba(0, 242, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

/* ============================================
   ABOUT THE ARTIST SECTION
   ============================================ */

.hp-about-layout {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 5rem;
    align-items: center;
}

.hp-about-image-wrapper { position: relative; }

.hp-about-image-wrapper img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.55);
    border-radius: 0;
}

.hp-about-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--primary-cyan);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.hp-about-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hp-about-bio {
    font-size: 1.2rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}

.hp-about-quote {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary-cyan);
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0 8px 8px 0;
}

.hp-about-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CONTACT CTA SECTION
   ============================================ */

.hp-contact-section {
    text-align: center;
    padding: 120px 5%;
}

.hp-contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.hp-contact-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hp-contact-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hp-contact-info-row { margin-bottom: 2.5rem; }

.hp-contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background: rgba(0, 242, 255, 0.04);
    border: 1px solid rgba(0, 242, 255, 0.1);
}

.hp-contact-email:hover {
    background: rgba(0, 242, 255, 0.1);
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.4);
    transform: translateY(-2px);
}


/* ============================================
   RESPONSIVE: Laptop (1200px)
   ============================================ */

@media (max-width: 1200px) {
    .hp-about-layout { gap: 3rem; }
}

/* ============================================
   RESPONSIVE: Tablet (992px)
   ============================================ */

@media (max-width: 992px) {
    .hp-section { padding: 80px 5%; }
    .hp-section-title { font-size: 2.4rem; }
    .hp-gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .hp-about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    .hp-about-image-col { order: -1; }
    .hp-about-image-wrapper img { max-width: 300px; }
    .hp-about-name { font-size: 2.4rem; }
    .hp-contact-title { font-size: 2.4rem; }
}

/* ============================================
   RESPONSIVE: Tablet Small (768px)
   ============================================ */

@media (max-width: 768px) {
    .hero { min-height: 100dvh; }
    .hero-bg { background-position: center bottom; }
    .hero-content { padding: 0 6% 16vh; max-width: 100%; }

    .hero-social {
        right: 50%;
        transform: translateX(50%);
        bottom: calc(1rem + env(safe-area-inset-bottom, 0));
        gap: 1.25rem;
    }
    .hero-social a { font-size: 1.5rem; }
    .hero-title { font-size: 2.5rem; white-space: normal; }
    .hero-subtitle { font-size: 1.3rem; }

    .hp-section { padding: 70px 5%; }
    .hp-section-header { margin-bottom: 3rem; }
    .hp-section-title { font-size: 2rem; }
    .hp-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ============================================
   RESPONSIVE: Narrow Phones (600px)
   ============================================ */

@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-content { padding: 0 5% 16vh; }
    .scroll-indicator { bottom: 1.5rem; }

    .hp-section { padding: 40px 5%; }
    .hp-section-title { font-size: 1.7rem; }
    .hp-section-subtitle { font-size: 1rem; }
    .hp-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .hp-gallery-item { aspect-ratio: 16 / 10; }
    .hp-about-name { font-size: 1.8rem; }
    .hp-about-bio { font-size: 1rem; }
    .hp-about-quote p { font-size: 1rem; }
    .hp-contact-title { font-size: 1.8rem; }
    .hp-contact-text { font-size: 1rem; }

    .hp-cta-btn {
        padding: 0.9rem 1.6rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}