body {
    font-family: Arial, sans-serif;
}

/* IFRAME */
.ratio iframe {
    border-radius: 12px;
}

/* EVENTS */
.event-img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    background: #f4f4f4;
    display: block;
}

.overview-page .card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
}

.overview-page .card-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.overview-page .card-text {
    white-space: normal;
}

.event-social-icons {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.event-social-icons a {
    display: inline-block;
    margin: 0 8px;
    font-size: 1.4rem;
    color: #0d6efd;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.event-social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* ADMIN PAGE */
.admin-page {
    background: #f5f7fb;
    margin: 0;
    font-family: Arial, sans-serif;
}

.admin-topbar {
    background: #1f2937;
    padding: 14px 20px;
}

.admin-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.admin-nav-link,
.admin-sub-link,
.admin-nav-label {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.admin-nav-link.active,
.admin-sub-link.active {
    text-decoration: underline;
}

.admin-nav-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.admin-nav-label {
    opacity: 0.9;
}

.admin-logout-link {
    margin-left: auto;
}

.admin-container {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 16px 40px;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.admin-subtitle {
    margin: 6px 0 0;
    color: #6b7280;
}

.admin-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.admin-alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}

.admin-alert-success {
    background: #eaf8ee;
    color: #166534;
}

.admin-alert-error {
    background: #fdecec;
    color: #991b1b;
}

.admin-btn {
    display: inline-block;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.admin-btn-primary {
    background: #2563eb;
    color: #fff;
}

.admin-btn-secondary {
    background: #6b7280;
    color: #fff;
}

.admin-btn-danger {
    background: #dc2626;
    color: #fff;
}

.admin-btn-small {
    padding: 7px 10px;
    font-size: 0.9rem;
}

.admin-btn-full {
    width: 100%;
}

.admin-inline-form {
    display: inline-block;
    margin-left: 8px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}

.admin-table th:first-child,
.admin-table td:first-child {
    width: 110px;
    min-width: 110px;
}

.admin-thumb {
    width: 90px;
    height: 60px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
}

.admin-muted {
    color: #6b7280;
}

.admin-form-row {
    margin-bottom: 14px;
}

.admin-help-text {
    color: #6b7280;
    font-size: 0.95rem;
}

.admin-user-info {
    color: #d1d5db;
    font-weight: 500;
    margin-left: auto;
    margin-right: 10px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.photo-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}

.photo-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.photo-meta {
    margin-bottom: 12px;
}

.photo-filename {
    font-weight: 600;
    word-break: break-word;
    margin-bottom: 6px;
}

.photo-details {
    color: #6b7280;
    font-size: 0.9rem;
}

/* ABOUT PAGE */
.overview-page {
    background: linear-gradient(to bottom, #f4fbf8, #eaf6f0);
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    color: #234034;
}

.overview-page .container {
    max-width: 1100px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #1e5a46;
}

.page-header .subtitle {
    font-size: 1.1rem;
    color: #4f6f62;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
    color: #1d6b52;
    border-bottom: 2px solid #dceee5;
    padding-bottom: 10px;
}

.content-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #2d5c4b;
}

.content-card p {
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-card ul {
    padding-left: 22px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.experience-block {
    margin-bottom: 24px;
}

.highlight-text {
    background: #eef8f2;
    border-left: 4px solid #62a87c;
    padding: 14px 16px;
    border-radius: 10px;
    margin-top: 20px;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.identity-item {
    background: #f6fbf8;
    border: 1px solid #ddeee5;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.identity-item h3 {
    margin-bottom: 8px;
    color: #1f6a50;
}

.final-card {
    background: linear-gradient(to right, #ffffff, #f3fbf7);
}

.hero {
    height: 70vh;
    background: url('../img/camp.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e6d3a3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7),
    0 8px 20px rgba(0, 0, 0, 0.6);
}

.boat {
    min-height: 70vh;
    background: url('../img/beach.jpg') center center / cover no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.camping {
    min-height: 70vh;
    background: url('../img/campsite.jpg') center center / cover no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.booking-card {
    max-width: 260px;
    margin: 0 auto;
}

.booking-card .card-body {
    background: #e9f2ec;
    border-radius: 10px;
    padding: 12px 14px;
}

.booking-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.booking-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #555;
}

.booking-card .btn {
    padding: 6px 12px;
    font-size: 0.9rem;
}

.btn-primary {
    background: #2f6b4f;
    border: none;
}

.btn-primary:hover {
    background: #24533d;
}

.section-title {
    font-size: 2.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: #2f6b4f;
    margin-bottom: 5px;
}

.section-sub {
    font-size: 1.1rem;
    color: #6c757d;
}

/* SOCIAL ICONS */
.social-icons a {
    text-decoration: none !important;
}

.social-icons a:hover {
    text-decoration: none !important;
}

.social-icon {
    font-size: 1.5rem;
    transition: 0.3s;
    display: inline-block;
}

.social-icon.facebook {
    color: #1877f2;
}

.social-icon.instagram {
    color: #e1306c;
}

.social-icon.youtube {
    color: #ff0000;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* DIRECTIONS */
.directions-hero {
    background: url('../img/river-header.jpg') center center / cover no-repeat;
    min-height: 280px;
    position: relative;
}

.directions-hero-overlay {
    background: linear-gradient(rgba(20, 35, 25, 0.35), rgba(20, 35, 25, 0.35));
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.directions-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    margin-bottom: 12px;
}

.directions-subtitle {
    font-size: 1.25rem;
    color: #f4f4f4;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.directions-page {
    background: #f4f1eb;
}

.directions-card,
.map-shell {
    background: #ede7dd;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    padding: 22px;
}

.directions-card-title {
    color: #21527c;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.directions-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.directions-input {
    border-radius: 10px;
    min-height: 48px;
    font-size: 1.05rem;
    border: 1px solid #cfc8bd;
    background: #f8f8f8;
}

.directions-btn-primary {
    background: linear-gradient(to bottom, #2f6cc3, #2356a3);
    border: none;
    color: #fff;
    font-weight: 700;
    min-height: 52px;
    border-radius: 8px;
}

.directions-btn-primary:hover {
    background: linear-gradient(to bottom, #2b63b4, #1f4c92);
    color: #fff;
}

.directions-btn-secondary {
    background: #dcdcdc;
    border: 1px solid #c3c3c3;
    color: #444;
    font-style: italic;
    font-weight: 600;
    min-height: 52px;
    border-radius: 8px;
}

.directions-btn-secondary:hover {
    background: #d2d2d2;
    color: #333;
}

.destination-box {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 18px 0;
}

.destination-box h5 {
    color: #21527c;
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 1.45rem;
}

.destination-box p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #2d2d2d;
}

.route-info {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #222;
}

.directions-btn-google {
    background: #2f8d24;
    border: none;
    color: #fff;
    font-weight: 700;
    min-height: 54px;
    border-radius: 8px;
    font-size: 1.2rem;
}

.directions-btn-google:hover {
    background: #28791f;
    color: #fff;
}

.directions-btn-apple {
    background: #2f3339;
    border: none;
    color: #fff;
    font-weight: 700;
    min-height: 54px;
    border-radius: 8px;
    font-size: 1.2rem;
}

.directions-btn-apple:hover {
    background: #24282d;
    color: #fff;
}

#map {
    width: 100%;
    height: 640px;
    min-height: 420px;
    border-radius: 10px;
    overflow: hidden;
}

.leaflet-routing-container {
    max-width: 320px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

/* CAROUSEL */
.carousel {
    border-radius: 14px;
}

.carousel img {
    border-radius: 14px;
}

.gallery-carousel-img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 450px;
    margin: 0 auto;
    object-fit: contain;
    background: transparent;

    /* IMPORTANT */
}

.carousel-item {
    text-align: center;
    background: transparent;

    /* was gray — now matches page */
}

.carousel-inner {
    background: transparent;
}

.carousel,
.carousel-inner,
.carousel-item {
    background: transparent !important;
}

/* MOBILE */
@media (max-width: 991px) {
    .directions-title {
        font-size: 3rem;
    }

    .directions-subtitle {
        font-size: 1.05rem;
    }

    #map {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero,
    .boat,
    .camping {
        height: auto;
        min-height: 420px;
        padding: 40px 20px;
        background-size: cover;
        background-position: center center;
    }

    .hero h1,
    .boat h1,
    .camping h1 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-card {
        padding: 22px;
    }

    .content-card h2 {
        font-size: 1.4rem;
    }

    .gallery-carousel-img {
        display: block;
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 300px;
        margin: 0 auto;
        object-fit: contain;
        object-position: center;
    }

    .directions-hero,
    .directions-hero-overlay {
        min-height: 220px;
    }

    .directions-title {
        font-size: 2.4rem;
    }

    .directions-subtitle {
        font-size: 1rem;
    }

    .directions-card,
    .map-shell {
        padding: 16px;
    }

    .directions-card-title {
        font-size: 1.7rem;
    }

    .destination-box h5 {
        font-size: 1.2rem;
    }

    .destination-box p,
    .route-info {
        font-size: 1rem;
    }

    #map {
        height: 420px;
        min-height: 420px;
    }
}

/* CARDS */
.card {
    border-radius: 12px;
}

/* BUTTON TOUCH SIZE */
.btn {
    min-height: 48px;
}