* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    -webkit-touch-callout: none;
}

button, a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

html {
    height: 100%;
    height: -webkit-fill-available;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
    color-scheme: light dark;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    color: #ffffff;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overscroll-behavior-x: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    padding-top: max(2rem, env(safe-area-inset-top));
    padding-left: max(3rem, env(safe-area-inset-left));
    padding-right: max(3rem, env(safe-area-inset-right));
    z-index: 100;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.header-nav a:hover {
    opacity: 1;
}

.header-logo {
    display: inline-block;
}

.header-logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.header-logo {
    cursor: pointer;
}

.header-logo img:hover {
    transform: scale(1.05);
}

/* Responsive Header */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 2rem;
    }

    .header-logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .header-logo img {
        height: 40px;
    }
}

/* Carousel Background */
.carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: -webkit-fill-available;
    z-index: -1;
    overflow: hidden;
    background: #000000;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Dynamic overlay gradients for text readability - only darkens where text appears */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Top gradient for logo/header */
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.2) 15%,
            rgba(0, 0, 0, 0) 25%
        ),
        /* Bottom-right gradient for event info */
        radial-gradient(
            ellipse at 85% 85%,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.3) 30%,
            rgba(0, 0, 0, 0) 60%
        );
    z-index: 1;
    pointer-events: none;
}

.carousel-slide.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: opacity 0.3s ease;
}

.carousel-slide img.lazy-load {
    opacity: 0;
}

.carousel-slide img:not(.lazy-load) {
    opacity: 1;
}

/* Mobile image positioning - optimized for 90% mobile users */
@media (max-width: 768px) {
    .carousel-slide img {
        object-position: center 40%;
    }

    /* HERO: Gorgeous women + guitarist - focus on faces and dresses */
    .carousel-slide:nth-child(1) img {
        object-position: center 45%;
    }

    /* Architectural dome shot - keep dome and crowd visible */
    .carousel-slide:nth-child(2) img {
        object-position: center 35%;
    }

    /* Group of friends - center on faces */
    .carousel-slide:nth-child(3) img {
        object-position: center 50%;
    }

    /* Colorful dance floor crowd - focus on people */
    .carousel-slide:nth-child(4) img {
        object-position: center 50%;
    }

    /* Pink columns from above - center on columns and crowd */
    .carousel-slide:nth-child(5) img {
        object-position: center 45%;
    }

    /* Band shot with Prospect House sign - shift left to show sign and guitarist */
    .carousel-slide:nth-child(6) img {
        object-position: 35% 40%;
    }

    /* Band from crowd perspective - focus on performers */
    .carousel-slide:nth-child(7) img {
        object-position: center 45%;
    }

    /* Black & white aerial - full venue view */
    .carousel-slide:nth-child(8) img {
        object-position: center 40%;
    }

    /* Couple with shoe drinking - shift left to show both people */
    .carousel-slide:nth-child(9) img {
        object-position: 40% 45%;
    }

    /* Black tie crowd with guy in center - focus on people */
    .carousel-slide:nth-child(10) img {
        object-position: center 50%;
    }

    /* B&W guy with sunglasses, arms up - editorial shot, center on subject */
    .carousel-slide:nth-child(11) img {
        object-position: center 45%;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
    /* More aggressive cropping for small portrait screens */
    .carousel-slide img {
        object-position: center 40%;
    }
}


/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ffffff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    opacity: 0;
}

body:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.2);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.9);
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .carousel-nav {
        width: 45px;
        height: 45px;
        opacity: 1;
    }

    .carousel-prev {
        left: 1.5rem;
    }

    .carousel-next {
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-nav {
        width: 48px;
        height: 48px;
        padding: 8px;
    }

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

    .carousel-prev {
        left: 0.5rem;
        left: max(0.5rem, env(safe-area-inset-left));
    }

    .carousel-next {
        right: 0.5rem;
        right: max(0.5rem, env(safe-area-inset-right));
    }
}

/* Carousel Counter */
.carousel-counter {
    position: absolute;
    bottom: 2rem;
    bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

body:hover .carousel-counter {
    opacity: 1;
}

.carousel-counter .current-slide {
    font-weight: 600;
}

.carousel-counter .counter-separator {
    margin: 0 0.4rem;
    opacity: 0.6;
}

.carousel-counter .total-slides {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .carousel-counter {
        opacity: 1;
        bottom: 1.5rem;
        bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 0.75rem));
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-counter {
        bottom: 1rem;
        bottom: max(1rem, calc(env(safe-area-inset-bottom) + 0.5rem));
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

/* Event Info Corner */
.event-info-corner {
    position: fixed;
    bottom: 3rem;
    bottom: max(3rem, calc(env(safe-area-inset-bottom) + 1rem));
    right: 3rem;
    right: max(3rem, calc(env(safe-area-inset-right) + 1rem));
    text-align: right;
    color: #ffffff;
    z-index: 50;
}

.event-info-corner h2 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.event-info-corner p {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    opacity: 0.95;
    line-height: 1.4;
}

.event-info-corner .event-time {
    margin-bottom: 1rem;
}

.event-info-corner .event-address {
    margin-bottom: 1rem;
}

.event-info-corner .event-details:last-of-type {
    margin-bottom: 0;
}

.event-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.event-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .event-info-corner {
        bottom: 2rem;
        bottom: max(2rem, calc(env(safe-area-inset-bottom) + 0.75rem));
        right: 2rem;
        right: max(2rem, calc(env(safe-area-inset-right) + 0.75rem));
    }

    .event-info-corner h2 {
        font-size: 0.95rem;
    }

    .event-info-corner p {
        font-size: 0.8rem;
    }

    .event-cta {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .event-info-corner {
        bottom: 3.5rem;
        bottom: max(3.5rem, calc(env(safe-area-inset-bottom) + 3rem));
        right: 1rem;
        right: max(1rem, env(safe-area-inset-right));
        max-width: calc(100vw - 2rem);
    }

    .event-info-corner h2 {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .event-info-corner p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .event-cta {
        font-size: 0.8rem;
        padding: 0.65rem 1.3rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.08em;
    }
}

/* Main Content */
.content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInDown 1.2s ease-out;
}

.logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.cta-button:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* About Section */
.about {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
}

.about-content {
    max-width: 800px;
    text-align: center;
}

.about h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Info Section */
.info {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.info-item p {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 300;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem;
    }

    .logo {
        width: 120px;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .about {
        padding: 4rem 1.5rem;
    }

    .info {
        padding: 4rem 1.5rem;
    }

    .info-grid {
        gap: 2rem;
    }

    .info-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 100px;
    }

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

    .about h2 {
        margin-bottom: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Landscape orientation optimizations for mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .header {
        padding: 1rem 2rem;
        padding-top: max(1rem, env(safe-area-inset-top));
        padding-left: max(2rem, env(safe-area-inset-left));
        padding-right: max(2rem, env(safe-area-inset-right));
    }

    .header-logo img {
        height: 35px;
    }

    .event-info-corner {
        top: 50%;
        bottom: auto;
        right: 1rem;
        right: max(1rem, calc(env(safe-area-inset-right) + 0.5rem));
        transform: translateY(-50%);
    }

    .event-info-corner h2 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .event-info-corner p {
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
    }

    .event-cta {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        margin-top: 0.5rem;
        min-height: 40px;
    }

    .carousel-counter {
        bottom: 0.75rem;
        bottom: max(0.75rem, calc(env(safe-area-inset-bottom) + 0.5rem));
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

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

/* Disable parallax and enable GPU acceleration on mobile */
@media (max-width: 768px) {
    .carousel-container {
        will-change: auto;
    }
}
