/* 
La Trifecta - Modern Rock Aesthetics 
Inspired by Stripe's fluidity and Rock 'n Roll soul.
*/

:root {
    --primary-color: #1DB954;  /* Spotify Green */
    --secondary-color: #121212; /* Modern Spotify Black */
    --accent-color: #1DB954;   /* Green Accents */
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Montserrat', sans-serif;
    --font-title: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.3, 0, 0.4, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 900;
    letter-spacing: -2px;
}

h1 { font-size: 7rem; line-height: 0.85; margin-bottom: 2rem; }
h2 { font-size: 4rem; margin-bottom: 3rem; text-align: left; }
h3 { font-size: 2.5rem; margin-bottom: 1.5rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    padding: 3rem 0;
    position: relative;
    width: 100%;
    z-index: 1000;
    background: #000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 120px; /* Adjusted from massive to better fit */
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
    transition: var(--transition);
}

@media (max-width: 768px) {
    .logo { height: 80px; }
}

.logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 32, 32, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    transform: scale(1.04);
    background: #1ed760;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.3);
}

.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.04);
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Cards & Glassmorphism */
.glass-card {
    background: #111;
    border: 1px solid var(--glass-border);
    border-radius: 4px; /* Sharper edges for impact */
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Booking Section */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.transfer-info {
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
}

/* Event Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.event-card {
    background: #181818;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.event-card:hover {
    transform: translateY(-10px);
    background: #282828;
    box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

.event-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    padding: 12px;
    transition: var(--transition);
}

.event-card:hover .event-img {
    border-radius: 50%; /* Vinyl look on hover */
    transform: rotate(5deg);
}

.event-info {
    padding: 0 1.5rem 2rem;
    text-align: center;
}

.event-date-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-color);
    color: #000;
    border-radius: 500px;
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.event-time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Captcha */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.captcha-label {
    background: #eee;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    user-select: none;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input, textarea, select {
    background: #111;
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 4px;
    color: white;
    font-family: var(--font-main);
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    padding: 6rem 0;
    background: #000;
    color: var(--accent-color);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    height: 80px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Admin Dashboard Specific */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 1rem;
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table td {
    padding: 1.5rem 1rem;
    background: #181818;
    color: var(--text-main);
    border-bottom: none;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.admin-table tbody tr:hover td {
    background: #282828;
}

/* Rounded corners for the rows */
.admin-table td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.admin-table td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-new { background: var(--accent-color); color: white; }
.status-confirmed { background: #2ecc71; color: white; }

/* Responsive Orchestration */
@media (max-width: 900px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.8rem; }
    
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    
    .hero { height: auto; padding: 120px 0 60px; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero h1 { font-size: 2.8rem; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .hero p { font-size: 1.1rem; }

    .nav-links { display: none; }
    
    /* Stacked Layouts */
    #about .glass-card, 
    #availability .glass-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    h1 { font-size: 2.8rem; } 
    .hero h1 { font-size: 2.4rem; }
    .btn { width: 100%; text-align: center; }
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active img {
    transform: scale(1);
}

.close-lb {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
    z-index: 10100;
    transition: var(--transition);
}

.close-lb:hover {
    color: var(--primary-color);
}

/* Past Events Styling */
.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.event-card-past {
    background: #121212;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    transition: var(--transition);
    filter: grayscale(100%) opacity(0.6);
}

.event-card-past:hover {
    filter: grayscale(0%) opacity(1);
    background: #181818;
}

.past-img-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    padding: 8px;
}

.past-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.event-card-past:hover .past-img {
    border-radius: 50%;
}

.past-info {
    padding: 0.5rem 1rem 1.2rem;
    text-align: center;
}

.past-date {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.2rem;
}

.past-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.event-card-past:hover .past-title {
    color: #fff;
}
