/* Password Protection Styles */
.password-protection {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--bg-body);
}

.password-protection.hidden {
    display: none;
}

.password-form {
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    background-color: var(--bg-container);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.password-form h2 {
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.password-form input {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-container);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.password-form button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    color: var(--button-text-color);
    background-color: var(--link-color);
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.password-form button:hover {
    background-color: var(--link-hover);
}

.password-error {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--error-color);
}

/* Photo Ops Page Styles - Original Design */
:root {
    --cream: #f7f4ed;
    --bark: #3d2b1f;
    --rust: #8b4513;
    --pine: #2d5a4a;
    --frost: #e8eef2;
    --river: #4a7c8b;
    --snow: #fafcfd;
    --gold: #c4954a;
    --button-text-color: #ffffff;
    --error-color: #d32f2f;
    --color-brown-dark: #4a3f35;
    --color-brown-medium: #5a4a3f;
    --color-brown-light: #6b5a4f;
    --color-white: #ffffff;
    --color-gold-variant: #d4a84b;
    --color-pine-variant: #3d7a6a;
}

.page-content {
    display: none;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--bark);
    background: var(--cream);
}

.page-content.visible {
    display: block;
}

.page-content .container {
    max-width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.page-content .breadcrumb {
    margin-bottom: 0;
    padding: 1rem 2rem;
    background: rgb(255 255 255 / 50%);
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin: 0;
    padding: 4rem 2rem;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, var(--pine) 0%, var(--bark) 100%);
}

.hero::before {
    position: absolute;
    background:
        radial-gradient(ellipse at 20% 80%, rgb(196 149 74 / 15%) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgb(139 69 19 / 10%) 0%, transparent 50%);
    pointer-events: none;
    content: '';
    inset: 0;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 6.25rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C200,80 400,20 600,50 C800,80 1000,20 1200,50 L1200,100 L0,100 Z' fill='%23F7F4ED'/%3E%3C/svg%3E");
    background-size: cover;
    content: '';
}

.hero-badge {
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--snow);
    background: rgb(196 149 74 / 90%);
    border-radius: 50px;
    animation: fade-down 0.8s ease-out;
}

.hero h1 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--snow);
    animation: fade-up 0.8s ease-out 0.2s backwards;
}

.hero h1 span {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    max-width: 600px;
    font-size: 1.25rem;
    font-weight: 300;
    color: rgb(255 255 255 / 85%);
    animation: fade-up 0.8s ease-out 0.4s backwards;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.photo-ops-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Intro Section */
.intro {
    padding: 5rem 2rem;
    text-align: center;
}

.intro-icon {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.intro h2 {
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--pine);
}

.intro p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-brown-medium);
}

/* Section Headers */
.section-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.section-header h2 {
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--bark);
}

.section-header p {
    font-size: 1rem;
    color: var(--rust);
}

/* Bridge Cards */
.bridges-grid {
    padding: 0 2rem 4rem;
}

.bridge-card {
    margin-bottom: 2.5rem;
    overflow: hidden;
    background: var(--snow);
    border-radius: 16px;
    box-shadow:
        0 4px 6px rgb(61 43 31 / 5%),
        0 10px 40px rgb(61 43 31 / 8%);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.bridge-card:hover {
    box-shadow:
        0 8px 12px rgb(61 43 31 / 8%),
        0 20px 60px rgb(61 43 31 / 12%);
    transform: translateY(-4px);
}

.bridge-image {
    width: 100%;
    height: 17.5rem;
    overflow: hidden;
}

.bridge-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
    object-fit: cover;
}

.bridge-card:hover .bridge-image img {
    transform: scale(1.03);
}

.bridge-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgb(61 43 31 / 8%);
}

.bridge-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.bridge-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--gold) 0%, var(--color-gold-variant) 100%);
    border-radius: 50px;
}

.bridge-rating svg {
    width: 14px;
    height: 14px;
}

.bridge-category {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--river);
}

.bridge-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--bark);
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-white);
    background: linear-gradient(135deg, #833ab4 0%, #e1306c 50%, #f77737 100%);
    border-radius: 8px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.instagram-link:hover {
    box-shadow: 0 4px 12px rgb(225 48 108 / 40%);
    transform: translateY(-2px);
}

.instagram-link svg {
    width: 18px;
    height: 18px;
}

.bridge-content {
    padding: 2rem;
}

.bridge-description {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--color-brown-dark);
}

.bridge-features {
    display: grid;
    gap: 1rem;
}

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

.feature-icon {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--pine) 0%, var(--color-pine-variant) 100%);
    border-radius: 10px;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-brown-medium);
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    background: var(--bark);
}

.map-section h2 {
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    color: var(--snow);
}

.map-section > p {
    margin-bottom: 2rem;
    text-align: center;
    color: rgb(255 255 255 / 70%);
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgb(0 0 0 / 30%);
}

.map-container img {
    display: block;
    width: 100%;
}

/* Sun Times Section */
.sun-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--frost) 100%);
}

.sun-section h2 {
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    color: var(--bark);
}

.sun-section > p {
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--rust);
}

.sun-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--snow);
    border-radius: 16px;
    box-shadow:
        0 4px 6px rgb(61 43 31 / 5%),
        0 10px 40px rgb(61 43 31 / 8%);
}

.sun-table {
    width: 100%;
    border-collapse: collapse;
}

.sun-table thead {
    color: var(--snow);
    background: linear-gradient(135deg, var(--pine) 0%, var(--bark) 100%);
}

.sun-table th {
    padding: 1.25rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: left;
}

.sun-table tbody tr {
    border-bottom: 1px solid rgb(61 43 31 / 8%);
    transition: background 0.2s ease;
}

.sun-table tbody tr:hover {
    background: var(--frost);
}

.sun-table tbody tr:last-child {
    border-bottom: none;
}

.sun-table td {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
}

.sun-table td:first-child {
    font-weight: 600;
    color: var(--bark);
}

.sun-table .time-sunrise {
    color: var(--rust);
}

.sun-table .time-sunset {
    color: var(--river);
}

.sun-table .golden-hour {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
}

.sun-note {
    padding: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-brown-light);
    background: var(--frost);
}

/* Tips Section */
.tips-section {
    padding: 4rem 2rem;
    color: var(--snow);
    background: var(--pine);
}

.tips-section h2 {
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tip-card {
    padding: 1.5rem;
    background: rgb(255 255 255 / 10%);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.tip-card h3 {
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--gold);
}

.tip-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgb(255 255 255 / 85%);
}

/* Footer */
.page-content footer {
    padding: 2rem;
    font-size: 0.9rem;
    text-align: center;
    color: rgb(255 255 255 / 70%);
    background: var(--bark);
}

.page-content footer strong {
    color: var(--gold);
}

/* Back Link Styles */
.back-link-container {
    margin-top: 2rem;
    padding: 2rem;
    text-align: center;
}

.back-link {
    font-weight: 600;
    color: var(--pine);
}

/* Responsive */
@media (width <= 768px) {
    .hero {
        min-height: 50vh;
        padding: 3rem 1.5rem;
    }

    .bridge-header,
    .bridge-content {
        padding: 1.5rem;
    }

    .sun-table th,
    .sun-table td {
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }
}
