/* Color Scheme from Logo */
:root {
    --dark-blue-teal: #1a3a3f;      /* Dark Blue/Teal */
    --light-olive-green: #a8b88a;   /* Light Olive Green */
    --medium-olive-green: #6b8e5a;  /* Medium Olive Green */
    --vibrant-teal: #00b4a6;        /* Vibrant Teal */
    --dark-teal-forest: #2d5a4a;    /* Dark Teal/Forest Green */
    --gray-bg: #e5e5e5;              /* Gray background */
    --white: #ffffff;
    --text-dark: #333333;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--gray-bg);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background-color: var(--dark-blue-teal);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
}

.iaeste-logo {
    height: 70px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--vibrant-teal);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Sections */
.section {
    min-height: 60vh;
    padding: 4rem 0;
}

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

h1, h2 {
    color: var(--dark-blue-teal);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid var(--vibrant-teal);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--dark-teal-forest);
    margin-top: 1rem;
}


/* Home Section */
.home-section {
    padding: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background-image: url('images/slide-slovenia-ljubljana-castle.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 1rem 3rem;
}

/* Hero title + countdown block (title on top, countdown below) - in flow so no overlap */
.hero-title-block {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 2rem;
}

.countdown-main {
    margin-top: 1.5rem;
}

.countdown-title {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: bold;
    font-family: serif;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.countdown-timer {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-box {
    background-color: var(--dark-teal-forest);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    min-width: 80px;
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.countdown-label-small {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: bold;
    font-family: serif;
    text-transform: capitalize;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0;
    flex: 1 1 auto;
}

.hero-title-block .title-main {
    margin: 0;
}

.main-title {
    color: var(--white);
    font-size: 5rem;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    margin-top: 30px;
    line-height: 1;
}

.hero-container {
    max-width: 1200px;
}

.hero-main {
    text-align: center;
}

.event-date {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.content-text h3 {
    color: var(--dark-teal-forest);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.content-text .signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--vibrant-teal);
    text-align: right;
    font-weight: 600;
    color: var(--dark-teal-forest);
    font-size: 1.2rem;
}

/* Content Boxes */
.content-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

/* Pictures Section */
.pictures-section {
    margin-top: 3rem;
}

.pictures-section h3 {
    color: var(--dark-blue-teal);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--vibrant-teal);
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.gallery-item {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--light-olive-green) 0%, var(--medium-olive-green) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Map Section */
.map-section {
    margin-top: 3rem;
}

.map-section h3 {
    color: var(--dark-blue-teal);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--vibrant-teal);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.address-info {
    background-color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.address-text {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.address-text strong {
    color: var(--dark-teal-forest);
    font-size: 1.2rem;
}

.hostel-link {
    color: var(--dark-teal-forest);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hostel-link:hover {
    color: var(--vibrant-teal);
    text-decoration: underline;
}

.map-container {
    margin-top: 2rem;
}

.map-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.map-link {
    text-align: center;
    margin-top: 1rem;
}

.map-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--vibrant-teal);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.map-button:hover {
    background-color: var(--dark-teal-forest);
}

/* Registration Section Styles */
.event-details {
    background-color: var(--gray-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--vibrant-teal);
}

.event-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.registration-categories {
    margin: 2rem 0;
}

.category-box {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--light-olive-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-box h4 {
    color: var(--dark-teal-forest);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.category-box p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

.pricing-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 3px solid var(--vibrant-teal);
}

.pricing-section h3 {
    color: var(--dark-blue-teal);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 4px solid var(--vibrant-teal);
}

.pricing-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-teal-forest);
    margin-bottom: 0.75rem;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue-teal);
}

.fee-includes {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 3px solid var(--vibrant-teal);
}

.fee-includes h3 {
    color: var(--dark-blue-teal);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.includes-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.includes-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.includes-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--vibrant-teal);
    font-weight: 700;
    font-size: 1rem;
}

.register-button-container {
    text-align: center;
    margin: 2rem 0;
}

.register-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--vibrant-teal);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 180, 166, 0.3);
}

.register-button:hover {
    background-color: var(--dark-teal-forest);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 166, 0.4);
}

/* Alternating section backgrounds */
.location-section {
    background-color: var(--white);
}

.registration-section {
    background-color: var(--gray-bg);
}

.workshops-section {
    background-color: var(--white);
}

.pct-section {
    background-color: var(--gray-bg);
}

.terms-section {
    background-color: var(--white);
}

.terms-section-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-bg);
}
.pct-section-divider {
    border: none;
    border-top: 2px solid var(--gray-bg);
    margin: 2rem 0;
}
.pct-section .terms-section-item:first-of-type {
    padding-top: 0;
}

.terms-section-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section-item h3 {
    color: var(--dark-blue-teal);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--vibrant-teal);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.terms-section-item p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.terms-section-item p strong {
    color: var(--dark-teal-forest);
}

.liability-list {
    list-style: disc;
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.liability-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* PCT (Post-Conference Tour) */
.pct-section .content-box {
    padding: 2rem;
}
.pct-title {
    color: var(--dark-blue-teal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.pct-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}
.pct-highlight-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--gray-bg) 100%);
    border: 2px solid var(--light-olive-green);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pct-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 74, 0.12);
}
.pct-highlight-card-price {
    border-color: var(--vibrant-teal);
    background: linear-gradient(145deg, rgba(0, 180, 166, 0.08) 0%, var(--white) 100%);
}
.pct-highlight-card-price .pct-highlight-value {
    color: var(--dark-teal-forest);
    font-weight: 600;
}
.pct-highlight-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.pct-highlight-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-blue-teal);
    margin-bottom: 0.35rem;
}
.pct-highlight-value {
    display: block;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-dark);
}
.pct-highlight-value small {
    font-size: 0.85em;
    color: var(--text-dark);
    opacity: 0.9;
}
.pct-cta {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark-teal-forest);
}

/* PCT gallery carousel */
.pct-gallery {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-bg);
}
.pct-gallery h3 {
    color: var(--dark-blue-teal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.pct-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.pct-carousel-track-container {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-height: 280px;
    background: var(--gray-bg);
}
.pct-carousel-track {
    display: flex;
    transition: transform 0.4s ease-out;
    min-height: 280px;
}
.pct-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pct-carousel-slide img {
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
.pct-carousel-slide.img-failed img {
    display: none;
}
.pct-carousel-slide.img-failed::after {
    content: 'Image not supported in this browser. (HEIC works only in Safari. Convert to JPEG for all browsers.)';
    position: absolute;
    inset: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 1rem;
    background: var(--gray-bg);
    border-radius: 8px;
}
.pct-slide-credit {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 0.75rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    pointer-events: none;
}
.pct-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--dark-blue-teal);
    color: var(--white);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.pct-carousel-btn:hover {
    background: var(--vibrant-teal);
    transform: translateY(-50%) scale(1.05);
}
.pct-carousel-btn:active {
    transform: translateY(-50%) scale(0.98);
}
.pct-carousel-prev {
    left: -24px;
}
.pct-carousel-next {
    right: -24px;
}
.pct-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.pct-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--vibrant-teal);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.pct-carousel-dot:hover {
    background: var(--light-olive-green);
}
.pct-carousel-dot.active {
    background: var(--vibrant-teal);
    transform: scale(1.2);
}

.contact-section {
    background-color: var(--gray-bg);
}

/* Contact page */
.contact-content {
    max-width: 800px;
    margin: 2rem auto 0;
}

.contact-intro {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--dark-teal-forest);
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.5rem;
}

.contact-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.contact-list li::before {
    content: "•";
    position: absolute;
    left: 0.3rem;
    top: 0;
    color: var(--vibrant-teal);
    font-size: 1.2rem;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: var(--dark-teal-forest);
}

/* Footer */
.footer {
    background-color: var(--dark-blue-teal);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design - Tablets and below */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-blue-teal);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    .content-box {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
    }

    .pct-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    .pct-highlight-card {
        padding: 1.25rem 1rem;
    }

    /* Home hero: stack title, countdown, content on mobile (no overlap) */
    .home-section .hero-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0.75rem 2rem;
        min-height: auto;
    }

    .home-section .hero-title-block {
        position: static;
        transform: none;
        margin-bottom: 1.5rem;
    }

    .home-section .main-title {
        margin-top: 0;
    }

    .home-section .countdown-main {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-section .countdown-title {
        text-align: center;
    }

    .home-section .countdown-timer {
        justify-content: center;
    }

    .home-section .hero-content {
        width: 100%;
        padding: 0 0 1rem;
    }

    .home-section .event-date {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    .countdown-title {
        font-size: 0.9rem;
    }

    .countdown-timer {
        gap: 0.5rem;
    }

    .countdown-box {
        padding: 0.7rem 1rem;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label-small {
        font-size: 0.75rem;
    }

    .logo-container {
        gap: 0.5rem;
    }

    .logo-img {
        height: 50px;
    }

    .iaeste-logo {
        height: 50px;
        max-width: 100px;
    }

    .main-title {
        font-size: 3rem;
    }

    .event-date {
        font-size: 1.8rem;
    }

    .hero-content {
        padding: 3rem 1rem;
    }

    .content-text {
        padding: 1.5rem 1rem;
    }

    .content-text h3 {
        font-size: 1.2rem;
    }

    .content-text p {
        font-size: 1rem;
    }

    /* Registration / pricing - stack on narrow screens */
    .pricing-list li strong {
        min-width: 0;
        display: block;
        margin-bottom: 0.25rem;
    }

    .address-info {
        padding: 1rem;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    .terms-section-item {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .terms-section-item h3 {
        font-size: 1.25rem;
    }

    .liability-list {
        padding-left: 1.25rem;
    }

    .pct-carousel-prev {
        left: 8px;
    }
    .pct-carousel-next {
        right: 8px;
    }
    .pct-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

/* Responsive Design - Phones */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .logo-img {
        height: 42px;
    }

    .iaeste-logo {
        height: 42px;
        max-width: 80px;
    }

    .nav-menu {
        top: 64px;
        padding: 1.5rem 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .section {
        padding: 1.5rem 0;
        min-height: 40vh;
    }

    .content-box {
        padding: 1.25rem 0.75rem;
    }

    /* Hero - compact for small phones (stacked layout from 768px remains) */
    .hero-image {
        min-height: 75vh;
    }

    .home-section .hero-image {
        min-height: auto;
    }

    .countdown-title {
        font-size: 0.8rem;
    }

    .countdown-timer {
        gap: 0.35rem;
    }

    .countdown-box {
        padding: 0.5rem 0.65rem;
        min-width: 52px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label-small {
        font-size: 0.65rem;
    }

    .main-title {
        font-size: 2.25rem;
    }

    .event-date {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .home-section .event-date {
        margin-bottom: 1.25rem;
    }

    .hero-content {
        padding: 2rem 0.5rem;
    }

    .home-section .hero-content {
        padding: 0 0 0.75rem;
    }

    .content-text {
        padding: 1rem 0.75rem;
    }

    .content-text h3 {
        font-size: 1.1rem;
    }

    .content-text p {
        font-size: 0.95rem;
    }

    .content-text .signature {
        font-size: 1rem;
    }

    .category-box {
        padding: 1rem;
    }

    .event-details {
        padding: 1rem;
    }

    .map-wrapper iframe {
        height: 250px;
    }

    .terms-section-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .terms-section-item h3 {
        font-size: 1.1rem;
    }

    .terms-section-item p,
    .liability-list li {
        font-size: 0.95rem;
    }

    /* Allow long emails/URLs to break */
    .content-box p,
    .terms-section-item p {
        word-break: break-word;
    }

    .pct-carousel-slide img {
        max-height: 260px;
    }

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

    .footer {
        padding: 1.25rem 0.75rem;
    }

    .footer p {
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item,
    .gallery-placeholder {
        height: 200px;
    }
}

/* Logo link */
.logo a {
    text-decoration: none;
    display: inline-block;
}

/* Active link highlighting */
.nav-link.active {
    color: var(--vibrant-teal);
    border-bottom: 2px solid var(--vibrant-teal);
}
