/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary: #ec4899;
    --dark: #0f0a1e;
    --dark-card: #1a1333;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --white: #ffffff;
    --success: #10b981;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background-color: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 230px;
    width: auto;
    background: transparent;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link.cta-nav {
    background: var(--gradient);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--white);
}

.nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0a1e 0%, #1a1333 50%, #2d1b69 100%);
    position: relative;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    width: auto;
    min-width: 300px;
    display: block;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.feature-card {
    background: var(--dark-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.2);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-highlight {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.feature-number {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.feature-highlight-text {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--white);
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-card) 100%);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Events Section */
.events {
    padding: 100px 0;
    background-color: var(--dark);
}

.events-calendar {
    max-width: 900px;
    margin: 0 auto;
}

.calendar-embed {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.calendar-frame {
    width: 100%;
    min-height: 500px;
    border: none;
    display: block;
}

.regular-events {
    background: var(--dark-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.regular-events h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--white);
    text-align: center;
}

.event-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    align-items: center;
}

.event-day {
    font-weight: 700;
    color: var(--primary-light);
    font-size: 1.1rem;
}

.event-venue {
    font-weight: 600;
    color: var(--white);
}

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

/* Book Section */
.book-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark) 100%);
}

.book-content {
    max-width: 700px;
    margin: 0 auto;
    background: var(--dark-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.book-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 10px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-note a {
    color: var(--primary-light);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--dark-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(124, 58, 237, 0.2);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
    border-color: var(--primary);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.contact-info {
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Social Links */
.social-links {
    text-align: center;
    margin-top: 60px;
}

.social-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    background: var(--dark-card);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-light);
}

.social-link:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.social-icon {
    width: 28px;
    height: 28px;
}

/* Footer */
.footer {
    background-color: var(--dark-card);
    padding: 40px 0;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-link {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(15, 10, 30, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(124, 58, 237, 0.2);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        border-radius: 8px;
        background: rgba(124, 58, 237, 0.1);
    }

    .nav-link.cta-nav {
        background: var(--gradient);
        margin-top: 10px;
    }

    .hero {
        min-height: 80vh;
        padding: 100px 20px 60px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        min-height: auto;
        padding: 30px 20px;
    }

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

    .book-form {
        grid-template-columns: 1fr;
    }

    .book-content {
        padding: 30px 20px;
    }

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

    .event-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .calendar-frame {
        min-height: 400px;
    }

    .regular-events {
        padding: 25px 20px;
    }

    .social-icons {
        gap: 15px;
    }

    .social-link {
        width: 55px;
        height: 55px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .feature-number {
        font-size: 3.5rem;
    }

    .feature-highlight-text {
        font-size: 1.2rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .book-content {
        padding: 25px 15px;
    }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .header {
        -webkit-backdrop-filter: blur(10px);
    }
    
    input,
    select,
    textarea {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Edge-specific fixes */
@supports (-ms-ime-align: auto) {
    .feature-card {
        min-height: 300px;
    }
}

/* Print styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .hero-buttons,
    .book-form {
        display: none;
    }
}

/* Footer Logo Styles */
.footer-logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo {
    height: 240px;
    width: auto;
    opacity: 0.9;
    background: transparent;
}

.footer-links a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-pink);
}

/* Fix for tile overlapping - ensure proper spacing on all screen sizes */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    align-items: stretch;
    width: 100%;
}

.feature-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive fixes for very small screens */
@media (max-width: 320px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        min-height: 250px;
        padding: 30px 20px;
    }
}

/* Tablet fixes */
@media (min-width: 768px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Prevent any overflow */
.container {
    width: 100%;
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

/* Hero Logo Styles */
.hero-logo-container {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.hero-logo {
    width: 500px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(124, 58, 237, 0.5));
    animation: float 3s ease-in-out infinite;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive hero logo */
@media (max-width: 768px) {
    .hero-logo {
        width: 280px;
    }
}

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

/* Enhanced event items spacing */
.event-item {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: translateX(5px);
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-day {
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.event-venue {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

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

/* Enhanced Calendar Styles - Make it Larger and More Prominent */
.calendar-embed {
    background: rgba(124, 58, 237, 0.1);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}

.calendar-frame {
    border-radius: 16px;
    min-height: 700px;
    display: block;
}

/* Responsive calendar sizing */
@media (max-width: 768px) {
    .calendar-frame {
        min-height: 500px;
    }
    
    .calendar-embed {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .calendar-frame {
        min-height: 400px;
    }
    
    .calendar-embed {
        padding: 15px;
    }
}

/* Make header logo background transparent */
.logo-img {
    background: transparent;
}

/* Video Calendar Specific Styles */
.calendar-frame::-webkit-media-controls {
    display: none !important;
}

.calendar-frame {
    pointer-events: none; /* Prevent interaction to hide controls */
}

video.calendar-frame {
    object-fit: contain;
    background: transparent;
}

/* Re-enable pointer events for embed container for potential future interactions */
.calendar-embed {
    pointer-events: auto;
}

/* ============================================
   MOBILE OPTIMIZATIONS 
   ============================================ */

/* Mobile Header - Reduce padding for hero logo visibility */
@media (max-width: 768px) {
    header {
        padding: 10px 0 !important;
        min-height: 60px !important;
    }
    
    .logo-img {
        height: 80px !important;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Ensure hero logo is visible on mobile */
    .hero {
        padding-top: 80px !important;
    }
    
    .hero-logo {
        width: 200px !important;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 0 !important;
        min-height: 50px !important;
    }
    
    .logo-img {
        height: 60px !important;
    }
    
    .hero {
        padding-top: 70px !important;
    }
    
    .hero-logo {
        width: 180px !important;
        margin-top: 15px;
    }
}

/* Mobile Calendar Fixes */
@media (max-width: 768px) {
    .calendar-embed {
        padding: 15px !important;
        margin: 0 -15px 30px -15px;
        border-radius: 0 !important;
    }
    
    .calendar-frame,
    video.calendar-frame {
        height: 400px !important;
        min-height: 400px !important;
        width: 100% !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 480px) {
    .calendar-embed {
        padding: 10px !important;
        margin: 0 -10px 20px -10px;
    }
    
    .calendar-frame,
    video.calendar-frame {
        height: 300px !important;
        min-height: 300px !important;
    }
}

/* Mobile Footer - Center logo */
@media (max-width: 768px) {
    .footer-logo-section {
        text-align: center !important;
        margin-bottom: 30px;
    }
    
    .footer-logo {
        height: 120px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    footer .container {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 15px;
    }
}

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

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .nav {
        gap: 15px;
    }
    
    .nav a {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav a {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Mobile Form Optimizations */
@media (max-width: 768px) {
    .btn-large {
        min-width: 250px;
        font-size: 16px;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {
    .btn-large {
        min-width: 200px;
        font-size: 14px;
        padding: 12px 24px;
    }
}

/* Mobile Section Spacing */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
}
/* ============================================
   MOBILE OPTIMIZATIONS - Critical Fixes
   ============================================ */

/* 1. HEADER - Reduce padding so hero logo is visible */
@media (max-width: 768px) {
    header {
        padding: 10px 0 !important;
        min-height: auto !important;
    }
    
    .logo-img {
        height: 80px !important;
    }
    
    /* Adjust hero section to show logo */
    .hero {
        padding-top: 90px !important;
        padding-bottom: 40px !important;
    }
    
    .hero-content h1 {
        font-size: 32px !important;
    }
    
    .hero-content p {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 0 !important;
    }
    
    .logo-img {
        height: 60px !important;
    }
    
    .hero {
        padding-top: 75px !important;
        padding-bottom: 30px !important;
    }
    
    .hero-content h1 {
        font-size: 28px !important;
    }
}

/* 2. CALENDAR - Fix display on mobile */
@media (max-width: 768px) {
    .calendar-embed {
        padding: 12px !important;
        margin: 0 0 30px 0 !important;
        border-radius: 12px !important;
    }
    
    .calendar-frame,
    video.calendar-frame {
        height: 450px !important;
        min-height: 450px !important;
        width: 100% !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .calendar-embed {
        padding: 8px !important;
        margin: 0 0 20px 0 !important;
    }
    
    .calendar-frame,
    video.calendar-frame {
        height: 350px !important;
        min-height: 350px !important;
    }
}

/* 3. FOOTER - Center logo on mobile */
@media (max-width: 768px) {
    .footer-logo-section {
        text-align: center !important;
        margin-bottom: 30px !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .footer-logo {
        height: 140px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    footer .container {
        text-align: center !important;
    }
    
    .footer-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    footer p {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        height: 110px !important;
    }
}

/* Navigation improvements for mobile */
@media (max-width: 768px) {
    .nav {
        gap: 12px;
    }
    
    .nav a {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 5px 0;
    }
    
    .nav a {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Form button mobile optimization */
@media (max-width: 768px) {
    .btn-large {
        min-width: 240px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .btn-large {
        min-width: 200px !important;
        font-size: 14px !important;
    }
}

/* Section spacing for mobile */
@media (max-width: 768px) {
    section {
        padding: 50px 0 !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    section {
        padding: 35px 0 !important;
    }
    
    .container {
        padding: 0 15px !important;
    }
}
