:root {
    --primary: #13f2f2;
    --primary-dark: #0ecccc;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-light: #f0f0f0;
    --text-gray: #a0a0a0;
    --font-main: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    background: none;
    border: none;
    outline: none;
}

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

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
    animation: float 6s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-gray);
    min-height: 1.6em; /* Prevent layout shift during typing */
}

/* Typing Cursor Effect */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--primary);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Countdown Styles */
.countdown-container {
    text-align: center;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(19, 242, 242, 0.2);
    box-shadow: 0 0 30px rgba(19, 242, 242, 0.05);
}

.countdown-label {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-unit span {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(45deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(19, 242, 242, 0.3);
}

.time-unit small {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 5px;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .countdown-timer {
        gap: 15px;
    }
    .time-unit span {
        font-size: 2rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(19, 242, 242, 0.4);
    transform: translateY(-3px);
}

/* Section Styling */
.section-dark {
    background-color: var(--bg-darker);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.history-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for children */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-animation.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.is-visible > *:nth-child(4) { transition-delay: 0.4s; }

/* Timeline/Events Modernization */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* The vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--primary);
}

.event-card {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    border: none; /* Reset old border */
    margin-bottom: 30px;
    display: block; /* Reset flex */
}

/* Circle on the line */
.event-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-dark);
    border: 3px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary);
    transition: all 0.3s ease;
}

.event-card:hover::after {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Left side */
.event-card:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Right side */
.event-card:nth-child(even) {
    left: 50%;
}

.event-card:nth-child(even)::after {
    left: -10px;
}

.event-content {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(19, 242, 242, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.event-card:hover .event-content {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(19, 242, 242, 0.15);
}

.event-card:hover .event-content::before {
    transform: translateX(100%);
}

/* Home Game Highlight */
.event-card.home-game .event-content {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(19, 242, 242, 0.2);
    background: linear-gradient(135deg, rgba(19, 242, 242, 0.1), rgba(255, 255, 255, 0.05));
}

.event-card.home-game .event-date {
    font-size: 2.2rem;
    text-shadow: 0 0 15px var(--primary);
}

.event-card.home-game::after {
    background-color: var(--primary);
    box-shadow: 0 0 20px var(--primary);
    transform: scale(1.3);
}

.event-date {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    border: none; /* Reset */
    padding: 0;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 0 10px rgba(19, 242, 242, 0.3);
}

.event-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #fff;
}

/* Past Event Styling */
.event-card.past {
    opacity: 0.6;
    filter: grayscale(0.8);
}

.event-card.past .event-content {
    border-color: rgba(255, 255, 255, 0.1);
}

.event-card.past .event-date {
    text-decoration: line-through;
    color: var(--text-gray);
}

.event-card.past::after {
    background-color: var(--bg-dark);
    border-color: var(--text-gray);
    box-shadow: none;
    content: '✓';
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Hidden Events for "Show More" */
.event-card.hidden,
.event-card.hidden-past {
    display: none !important;
}

#load-more-container {
    margin-top: 30px;
    text-align: center;
}

/* Mobile Timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .event-card {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .event-card:nth-child(odd) {
        text-align: left;
    }
    
    .event-card:nth-child(odd), .event-card:nth-child(even) {
        left: 0;
    }
    
    .event-card::after {
        left: 21px; /* Align with line */
    }
    
    .event-card:nth-child(even)::after {
        left: 21px;
    }
}

/* Memorial Section */
.memorial-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.memorial-quote {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 40px;
    color: var(--text-light);
    line-height: 1.4;
}

.quote-author {
    display: block;
    font-size: 1rem;
    margin-top: 15px;
    color: var(--primary);
    font-style: normal;
    font-weight: 700;
}

.memorial-intro {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--text-gray);
}

.memorial-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.memorial-card {
    text-align: center;
    width: 250px;
}

.memorial-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--primary);
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.memorial-card:hover img {
    filter: grayscale(0%);
    box-shadow: 0 0 30px rgba(19, 242, 242, 0.3);
}

.memorial-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.memorial-date {
    color: var(--primary);
    font-weight: 700;
}

/* Contact Form */
.center-text {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255,255,255,0.05);
}

/* ------------------------------------------------------------------
   NARRENRUF BANNER
   ------------------------------------------------------------------ */
.narrenruf-banner {
    background: var(--bg-dark);
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(19, 242, 242, 0.2);
    border-bottom: 1px solid rgba(19, 242, 242, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.narrenruf-content {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: pulse-scale 2s infinite ease-in-out;
}

.narrenruf-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.narrenruf-text .highlight {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(19, 242, 242, 0.6);
}

@keyframes pulse-scale {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

@media (max-width: 768px) {
    .narrenruf-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .narrenruf-text {
        font-size: 1.8rem;
    }
}

/* ------------------------------------------------------------------
   COOKIE BANNER
   ------------------------------------------------------------------ */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Start hidden */
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--primary);
    padding: 20px;
    z-index: 10000;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-button-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.cookie-link {
    color: var(--text-gray);
    text-decoration: underline;
    font-size: 0.85rem;
    white-space: nowrap;
}

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

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
.footer {
    background-color: var(--bg-darker);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-legal {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-legal a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

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

.footer-legal .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.2);
}

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

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Legal Pages */
.legal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary);
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.small-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.instagram-item {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay svg {
    fill: #fff;
    width: 40px;
    height: 40px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover .instagram-overlay svg {
    transform: scale(1);
}

/* Haes Page Specifics */
.hero-small {
    height: 30vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: var(--bg-dark);
    /* Background image removed as requested */
    background-size: cover;
    background-position: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.5), var(--bg-dark));
    z-index: 1;
}

.hero-small .container {
    position: relative;
    z-index: 2;
}

.hero-small h1 {
    font-size: 3rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(19, 242, 242, 0.3);
}

.haes-section {
    padding: 0;
}

.haes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.haes-grid.reverse {
    direction: rtl;
}

.haes-grid.reverse > * {
    direction: ltr;
}

.haes-content h2 {
    text-align: left;
    margin-bottom: 30px;
}

.haes-content h2::after {
    left: 0;
    transform: none;
}

.haes-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.haes-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.haes-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.haes-image:hover img {
    transform: scale(1.02);
}

/* Hotspots */
.hotspot-container {
    position: relative;
    width: 100%;
}

/* Remove default image hover for hotspot image to avoid conflict */
.hotspot-container img:hover {
    transform: none;
}

.hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transform: translateX(-50%); /* Center horizontally */
}

.hotspot:focus {
    outline: none;
}

.hotspot:focus .hotspot-marker {
    box-shadow: 0 0 0 3px rgba(19, 242, 242, 0.5);
}

.hotspot-marker {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Optional: Keep circular or make rectangular based on need */
    background-color: transparent; /* Invisible as requested */
    box-shadow: none;
    position: relative;
    transition: all 0.3s ease;
    animation: none;
}

.hotspot:hover .hotspot-marker {
    background-color: rgba(19, 242, 242, 0.1); /* Slight highlight on hover */
    box-shadow: 0 0 20px rgba(19, 242, 242, 0.2);
}

/* Tooltip Styling */
.hotspot-tooltip {
    position: absolute;
    bottom: 100%; /* Position above the hotspot */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--primary);
    width: 220px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 15px; /* Spacing from hotspot */
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background-color: rgba(10, 10, 10, 0.95);
    border-right: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}

.hotspot-tooltip h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.hotspot-tooltip p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Show Tooltip on Hover/Focus */
.hotspot:hover .hotspot-tooltip,
.hotspot:focus .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Tooltip variants */
.hotspot-tooltip.tooltip-bottom {
    bottom: auto;
    top: 100%;
    margin-bottom: 0;
    margin-top: 15px;
}

.hotspot-tooltip.tooltip-bottom::after {
    bottom: auto;
    top: -8px;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid var(--primary);
    border-top: 1px solid var(--primary);
}

.spacer {
    height: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 60px 0; /* Reduce section padding on mobile */
    }

    .hero h1 {
        font-size: 2.2rem; /* Slightly smaller for better fit */
        word-wrap: break-word; /* Prevent overflow */
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
        width: 100%; /* Ensure full width for centering */
    }

    /* Mobile Navigation */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        padding: 20px;
        text-align: center;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(19, 242, 242, 0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .nav.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.8rem;
        padding: 5px;
        z-index: 1001;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    /* History & Grid Adjustments */
    .history-content, .haes-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .history-image img, .haes-image img {
        max-height: 400px; /* Limit height of stacked images */
        width: 100%;
        object-fit: cover;
    }
    
    .haes-grid.reverse {
        direction: ltr;
    }
    
    .memorial-grid {
        flex-direction: column;
        align-items: center;
    }

    /* Footer Adjustments */
    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal .separator {
        display: none;
    }

    /* Instagram Grid Mobile */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 10px;
    }
    
    /* Mobile Tooltip Adjustments */
    .hotspot {
        width: 70px !important;
        height: 70px !important;
    }

    .hotspot-tooltip {
        width: 180px;
        padding: 15px;
        /* Revert to default positioning logic (Desktop) to allow mixed above/below placement */
    }
    
    /* Remove forced below-positioning for mobile to respect .tooltip-bottom class */
    .hotspot-tooltip::after {
        /* Reset to default or inherit from desktop */
    }
}

/* Centered layout for Haes sections without images */
.haes-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.haes-centered .haes-content h2 {
    text-align: center;
    left: auto;
    transform: none;
}

.haes-centered .haes-content h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Form Status Styles */
#form-status {
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    transition: all 0.3s ease;
}

#form-status.success {
    background-color: rgba(19, 242, 242, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

#form-status.error {
    background-color: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid #ff4444;
}
