/* ============================================
   Clemson Pi Kappa Phi - Index Page Styles
   ============================================ */

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/hero-parallax.jpg');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    filter: grayscale(100%);
    opacity: 0.3;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

/* Aurora Effect */
.aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.aurora-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    mix-blend-mode: screen;
    z-index: 0;
}

.aurora-light-1 {
    width: calc(350px * var(--aurora-scale));
    height: calc(350px * var(--aurora-scale));
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    top: var(--logo-center-y);
    left: 50%;
    transform: translate(-50%, -50%);
    animation: aurora1 12s infinite alternate ease-in-out;
}

.aurora-light-2 {
    width: calc(200px * var(--aurora-scale));
    height: calc(200px * var(--aurora-scale));
    background: #002D4F;
    top: calc(var(--logo-center-y) - 5%);
    left: 55%;
    transform: translate(-50%, -50%);
    animation: aurora2 8s infinite alternate-reverse ease-in-out;
}

.aurora-light-3 {
    width: calc(250px * var(--aurora-scale));
    height: calc(250px * var(--aurora-scale));
    background: #563D09;
    top: calc(var(--logo-center-y) + 5%);
    left: 45%;
    transform: translate(-50%, -50%);
    animation: aurora3 15s infinite alternate ease-in-out;
}

@keyframes aurora1 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.25; }
    50% { transform: translate(-60%, -40%) scale(1.2); opacity: 0.35; }
    100% { transform: translate(-40%, -60%) scale(0.8); opacity: 0.3; }
}

@keyframes aurora2 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    33% { transform: translate(-40%, -60%) scale(1.1); opacity: 0.3; }
    66% { transform: translate(-60%, -40%) scale(0.9); opacity: 0.25; }
    100% { transform: translate(-45%, -55%) scale(1.2); opacity: 0.35; }
}

@keyframes aurora3 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    25% { transform: translate(-55%, -45%) scale(0.9); opacity: 0.25; }
    50% { transform: translate(-45%, -55%) scale(1.1); opacity: 0.35; }
    75% { transform: translate(-40%, -60%) scale(1.2); opacity: 0.3; }
    100% { transform: translate(-60%, -40%) scale(0.8); opacity: 0.2; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: heroFadeIn 1.2s ease forwards;
    opacity: 0;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 2rem;
    }
}

/* ============================================
   Section Spacing
   ============================================ */
.page-section {
    padding: 100px 0;
}

/* ============================================
   Gallery Section
   ============================================ */
/* Masonry layout */
.gallery-grid {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.gallery-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background: var(--glass-dark);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

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

.gallery-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--text-muted);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
    transition: color 0.2s;
    z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--text-muted);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-heading {
        font-size: 2rem;
    }

    .gallery-grid {
        gap: 8px;
    }

    .gallery-column {
        gap: 8px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
        padding: 10px;
    }
}

/* ============================================
   War of Roses Section
   ============================================ */
.war-of-roses-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    aspect-ratio: 4/3;
    background: var(--glass-light);
}

.war-of-roses-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.war-of-roses-content h3 {
    font-family: 'Sofia Sans', sans-serif;
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.war-of-roses-content p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .war-of-roses-content h2 {
        font-size: 2rem;
    }
}

/* ============================================
   CTA Section (Rush)
   ============================================ */
.cta-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-subtext {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.rush-card {
    background: var(--glass-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.rush-card h3 {
    font-family: 'Sofia Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.contact-item a {
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .cta-heading {
        font-size: 2rem;
    }
}

/* ============================================
   Instagram Banner
   ============================================ */
.instagram-banner {
    background: var(--glass-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px 0;
}

.instagram-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.instagram-banner-text h2 {
    font-size: 2rem;
    margin-bottom: 4px;
}

.instagram-banner-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.instagram-banner .glass-button {
    padding: 14px 24px;
    font-size: 1.05rem;
}

.instagram-banner .glass-button svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .instagram-banner-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .instagram-banner-text h2 {
        font-size: 1.6rem;
    }
}