/* CSS Variables */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #3EB489;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Header & Navigation */
.site-header {
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.main-nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo:hover {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
    }
}

/* Messages */
.messages {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1.5rem;
}

.message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin: 0;
}

/* Welcome Section */
.welcome-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-light);
}

.welcome-section h1 {
    margin-bottom: 0.5rem;
}

.contact-info-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-item {
    text-align: center;
}

.info-item a {
    color: #000;
}

.info-item a:hover {
    color: #333;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature h3 {
    color: var(--accent-color);
}

/* Events Preview */
.upcoming-events-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.upcoming-events-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.events-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-card {
    display: flex;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.event-date {
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .month {
    font-size: 0.875rem;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.75rem;
    font-weight: 700;
}

.event-details {
    padding: 1rem;
}

.event-details h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.event-details h3 a {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section .btn {
    margin: 0.5rem;
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

/* About page - all text black */
.about-content a,
.about-content .feature h3 {
    color: #000;
}

.about-story,
.about-facility,
.about-services {
    margin-bottom: 3rem;
}

.about-image {
    max-width: 300px;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
}

blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
}

.facility-features {
    list-style: none;
}

.facility-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Contact Page */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    color: #000;
    margin-bottom: 0.25rem;
}

/* Contact page - all text black */
.contact-content,
.contact-content h2,
.contact-content h3,
.contact-content p,
.contact-content a,
.contact-content label,
.map-section,
.map-section h2,
.map-section p,
.map-section strong {
    color: #000;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

/* Map */
.map-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.parking-info {
    text-align: center;
    margin-top: 1rem;
}

/* Events Calendar */
.calendar-section {
    padding: 4rem 0;
}

.no-events {
    text-align: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.events-list {
    margin-top: 2rem;
}

.event-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.event-date-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    min-width: 60px;
}

.event-date-badge .month {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.event-date-badge .day {
    font-size: 1.5rem;
    font-weight: 700;
}

.event-info h4 {
    margin-bottom: 0.25rem;
}

.event-info h4 a {
    color: var(--primary-color);
}

/* Event Detail */
.event-detail-content {
    padding: 4rem 0;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .event-detail-grid {
        grid-template-columns: 1fr;
    }
}

.event-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.subscription-box,
.contact-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Policies */
.policies-content {
    padding: 4rem 0;
}

.policies-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.policy-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.policy-section h2 {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
}

.policy-section ul {
    list-style: none;
}

.policy-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.policy-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
}

.policies-footer a {
    color: #000;
}

.policies-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Pricing */
.pricing-content {
    padding: 4rem 0;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.pricing-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.price-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-custom {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-custom ul {
    display: inline-block;
    text-align: left;
    margin: 1rem 0;
}

.pricing-notes {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.pricing-notes h3 {
    margin-bottom: 0.5rem;
}

.contact-quick {
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-info h3,
.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-info a,
.footer-links a,
.footer-social a {
    color: rgba(255,255,255,0.8);
}

.footer-info a:hover,
.footer-links a:hover,
.footer-social a:hover {
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .welcome-section,
    .features-section,
    .upcoming-events-section,
    .cta-section,
    .about-content,
    .contact-content,
    .calendar-section,
    .event-detail-content,
    .policies-content,
    .pricing-content {
        padding: 2rem 0;
    }

    .contact-info-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .event-meta {
        grid-template-columns: 1fr;
    }

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

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 300px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide {
    background: #1a1a2e;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2rem;
    color: white;
}

.hero-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    border: none;
}

.slideshow-dot.active {
    background: white;
}

/* Calendar */
.calendar {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.calendar th {
    background: var(--primary-color, #1a1a2e);
    color: white;
    padding: 1rem;
    text-align: center;
}

.calendar td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    vertical-align: top;
    height: 100px;
    width: 14.28%;
}

.calendar td.empty {
    background: #f9f9f9;
}

.calendar td.today {
    background: #fff3cd;
}

.calendar .day-number {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.calendar .day-events {
    font-size: 0.85rem;
}

.calendar .event-link {
    display: block;
    background: var(--accent-color, #e94560);
    color: white;
    padding: 2px 5px;
    margin: 2px 0;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar .event-link:hover {
    background: var(--primary-color, #1a1a2e);
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav h2 {
    margin: 0;
}

.calendar-nav a {
    padding: 0.5rem 1rem;
    background: var(--primary-color, #1a1a2e);
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.calendar-nav a:hover {
    background: var(--accent-color, #e94560);
}

/* Gallery */
.gallery-section {
    padding: 4rem 0;
}

.gallery-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color, #1a1a2e);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #000;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.9;
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
}

.gallery-item-caption h3 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.gallery-item-caption p {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Video items */
.video-item {
    position: relative;
}

.video-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #000;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(233, 69, 96, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-item:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(233, 69, 96, 1);
}

.video-play-overlay::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-item.playing .video-play-overlay {
    display: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.lightbox-close:hover {
    color: var(--accent-color, #e94560);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.lightbox-caption h3 {
    color: white;
    margin: 0;
}

.lightbox-caption p {
    margin: 0.5rem 0 0;
    opacity: 0.8;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.no-items {
    text-align: center;
    padding: 3rem;
    background: var(--bg-light, #f8f9fa);
    border-radius: 8px;
    color: var(--text-light, #666);
}

/* Responsive: Calendar, Gallery */
@media (max-width: 768px) {
    .calendar td {
        height: 60px;
        padding: 0.25rem;
    }
    .calendar .event-link {
        font-size: 0.65rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .gallery-item img,
    .video-item video {
        height: 200px;
    }
    .lightbox-nav {
        font-size: 2rem;
    }
}
