:root {
    --primary-color: #8a606a;
    --secondary-color: #996b76;
    --accent1-color: #e0c680;
    --accent2-color: #9b4a97;
    --dark-color: #333333;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --light-text: #ffffff;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;

    --transition: all 0.3s ease;
    --gold: #e0c680;
}

/* Password Protection Styles */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 96, 106, 0.95), rgba(155, 107, 118, 0.95));
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.password-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.password-modal {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.password-overlay.hidden .password-modal {
    transform: scale(0.8);
}

.password-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-family: var(--header-font);
}

.password-header p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

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

.password-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#password-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

#password-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(138, 96, 106, 0.1);
}

.password-submit-btn {
    padding: 15px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    min-width: 60px;
}

.password-submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.password-submit-btn:active {
    transform: translateY(0);
}

.password-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e74c3c;
    background: #fdf2f2;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 10px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.password-hint {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--accent1-color);
}

.password-hint p {
    margin: 0;
    color: #666;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-hint i {
    color: var(--accent1-color);
}

/* Hide main content when password overlay is visible */
body:has(.password-overlay:not(.hidden)) {
    overflow: hidden;
}

/* Responsive design for password modal */
@media (max-width: 480px) {
    .password-modal {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .password-header h2 {
        font-size: 1.5rem;
    }
    
    .password-input-group {
        flex-direction: column;
    }
    
    .password-submit-btn {
        width: 100%;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--header-font);
    font-weight: 600;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--body-font);
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.primary-btn:hover {
    background-color: var(--dark-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.secondary-btn:hover {
    background-color: var(--dark-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    transform-style: flat;
    isolation: isolate;
    will-change: transform;
}

header.scrolled {
    padding: 5px 0;
}

.navbar {
    padding: 20px 0;
    transition: var(--transition);
}

.navbar .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    transform: translateX(-30px);
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo span,
header .navbar .container .logo h1 span {
    color: var(--accent1-color);
    margin-left: 5px;
    font-size: inherit;
    display: inline;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin-left: 30px;
}

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

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '✈︎';
    position: absolute;
    left: 0;
    bottom: -12.5px;
    color: var(--secondary-color);
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.1s, left 0.3s ease;
    pointer-events: none;
}

.nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    opacity: 1;
    left: 95%;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.language-toggle {
    margin-left: 20px;
    position: relative;
}

.lang-btn {
    background-color: var(--primary-color);
    color: var(--accent1-color);
    border: 2px solid var(--accent1-color);
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn::before {
    content: "🌐";
    margin-right: 8px;
    font-size: 1rem;
}

.lang-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@keyframes pulse-attention {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Renamed from 'pulse' to prevent collision */
@keyframes marker-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Renamed from 'pulse' to prevent collision */
@keyframes shadow-pulse {
    from {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    to {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

.lang-btn.initial-load {
    animation: pulse-attention 2s ease-in-out 3;
}

#openMenu,
#closeMenu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

@media screen and (max-width: 1024px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-links li {
        margin-left: 15px;
    }
}

@media screen and (max-width: 768px) {
    header {
        height: auto;
        min-height: 70px;
        padding: 0;
        background-color: rgba(255, 255, 255, 0.98);
    }

    .navbar {
        padding: 0;
        width: 100%;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .navbar .container {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .navbar .container .logo {
        position: relative !important;
        left: 5px !important;
        top: -10px !important;
        transform: none !important;
        margin: 0 !important;
    }

    .logo {
        transform: none;
        position: static;
        display: flex;
        align-items: center;
    }

    .logo h1 {
        font-size: 1.5rem;
        margin: 0;
        white-space: nowrap;
    }

    .nav-content {
        position: static;
        flex: 1;
        display: flex;
        justify-content: flex-end;
        margin-left: 20px;
        height: 70px;
        align-items: center;
    }

    .language-toggle {
        position: relative;
        margin-right: 15px;
        display: flex;
        align-items: center;
    }

    #openMenu {
        position: relative;
        display: flex;
        align-items: center;
    }

    .lang-btn {
        padding: 8px 14px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1001;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

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

    #openMenu,
    #closeMenu {
        display: block;
    }

    #closeMenu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
    }

    /* Hero section mobile styles */
    .hero-section {
        min-height: calc(100vh - 80px);
        height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-content {
        margin-top: 0;
    }

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

    .subtitle {
        font-size: 1.5rem;
    }

    .countdown-item {
        margin: 0 10px;
    }

    .countdown-item span:first-child {
        font-size: 1.5rem;
        padding: 10px 15px;
        min-width: 60px;
    }

    .compass-rose {
        width: 80px;
        height: 80px;
        bottom: 30px;
        right: 30px;
    }

    .content-panel {
        padding: 25px;
    }

    /* Event cards mobile styles */
    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex: none;
        padding: 20px;
    }

    .dress-code-gallery {
        flex-wrap: wrap;
    }

    .dress-code-item {
        width: calc(50% - 10px);
    }

    .special-instructions::before {
        display: none;
    }

    .event-card::after {
        top: -10px;
        right: -10px;
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }

    /* Mobile responsive tables */
    .contact-table table,
    .contact-table thead,
    .contact-table tbody,
    .contact-table tr {
        display: block;
        width: 100%;
    }

    .contact-table thead {
        display: none;
    }

    .contact-table tr {
        display: block;
        margin-bottom: 15px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        padding: 5px;
    }

    .contact-table td {
        display: flex;
        text-align: right;
        position: relative;
        padding: 12px 10px 12px 50%;
        min-height: 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        font-size: 0.9rem;
    }

    .contact-table td:last-child {
        border-bottom: none;
    }

    .contact-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        text-align: left;
        font-weight: 600;
        color: var(--primary-color);
    }

    /* Celebrant cards mobile styles */
    .celebrant-card {
        transform: rotate(0deg) !important;
        max-width: 100%;
    }

    .celebrant-img {
        height: 250px;
    }

    .celebrant-card::before,
    .celebrant-card::after,
    .celebrant-img::after,
    .welcome-message::before {
        transform: scale(0.8);
    }
}

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

    .navbar .container {
        padding: 0 10px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .contact-table td {
        font-size: 0.875rem;
        padding: 10px 10px 10px 45%;
    }

    .contact-table td:before {
        font-size: 0.875rem;
    }

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.875rem;
    }

    .btn.primary-btn {
        font-size: 1rem;
        padding: 10px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 10px 15px !important;
        height: auto !important;
        min-height: 44px;
        width: 100%;
    }

    #upload-button {
        gap: 8px;
    }

    #upload-button i {
        margin-right: 0;
    }

    .passport-btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto !important;
    }

    .passport-btn .btn-text {
        width: 100%;
        text-align: center;
    }

    .logo h1 span {
        display: block;
        margin-left: 0;
        font-size: 1rem;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.875rem;
    }

    .lang-btn::before {
        font-size: 1rem;
        margin-right: 5px;
    }

    header .navbar .container .logo h1 span {
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 393px) {
    .navbar .container .logo {
        position: relative !important;
        left: 0px !important;
        top: 0px !important;
        transform: none !important;
        margin: 0 !important;
        max-width: 60%;
    }

    .logo h1 {
        font-size: 1.5rem !important;
        line-height: 1 !important;
        white-space: nowrap;
    }

    .logo h1 span {
        font-size: 1rem !important;
        display: block;
        margin-top: 2px;
    }

    .contact-table td {
        display: block !important;
        text-align: left !important;
        padding: 5px 10px !important;
        position: relative !important;
        min-height: auto !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .contact-table td:before {
        content: attr(data-label);
        position: static !important;
        display: block !important;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 3px;
        width: 100% !important;
    }
}

@media screen and (max-width: 360px) {
    header .navbar .container .logo h1 span {
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 576px) {
    .countdown-container {
        flex-wrap: wrap;
    }

    .countdown-item {
        margin: 10px;
    }

    .contact-content {
        flex-direction: column;
    }

    .hotel-img img {
        height: 180px;
    }

    .hotel-info {
        padding: 15px;
    }

    .hotel-stars {
        font-size: 1rem;
    }
}

@media screen and (max-width: 992px) {
    .main-title {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.6rem;
    }

    .maps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-section {
        padding: 60px 0;
    }

    .contact-content {
        gap: 30px;
    }

    .contact-table {
        padding: 25px;
    }

    .contact-form {
        padding: 25px;
    }
}

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://api.mapbox.com/styles/v1/mapbox/navigation-day-v1/static/-100.393,20.588,7,0/1200x800?access_token=pk.eyJ1IjoiZXNreTEyMyIsImEiOiJjbTg4NTduYmQwbXA3MmpweHc4dWcxa2l4In0.GSuhCI4X41xQ2Y3anMuxvg');
    background-size: cover;
    background-position: center;
    filter: sepia(20%) saturate(80%);
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out;
    z-index: 1;
}

.map-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z' fill='%23D4AF37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(45deg, var(--primary-color), #614141);
    opacity: 0.9;
    z-index: -1;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(50, 30, 30, 0.7), rgba(50, 30, 30, 0.5));
    z-index: 2;
}

.map-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px 50px rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.compass-rose {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 120px;
    height: 120px;
    opacity: 0.7;
    transform: rotate(15deg);
    z-index: 5;
}

.route-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.route {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent1-color), transparent);
    height: 2px;
    opacity: 0.5;
    overflow: hidden;
}

.route::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 100%;
    background-color: var(--accent1-color);
    filter: blur(2px);
    animation: flowLight 3s infinite linear;
}

@keyframes flowLight {
    0% {
        left: -50px;
    }

    100% {
        left: 100%;
    }
}

.route-1 {
    top: 30%;
    left: 10%;
    width: 40%;
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.route-2 {
    top: 45%;
    left: 25%;
    width: 50%;
    transform: rotate(10deg);
    animation-delay: 1s;
}

.route-3 {
    top: 60%;
    left: 5%;
    width: 45%;
    transform: rotate(-5deg);
    animation-delay: 2s;
}

.airplane {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 6;
}

.airplane svg {
    width: 100%;
    height: 100%;
}

.airplane-1 {
    top: 28%;
    left: 38%;
    animation: flyPlane1 20s infinite linear;
}

.airplane-2 {
    top: 57%;
    left: 25%;
    animation: flyPlane2 25s infinite linear;
}

@keyframes flyPlane1 {
    0% {
        transform: translate(-200px, 50px) rotate(75deg);
    }

    100% {
        transform: translate(1200px, -150px) rotate(75deg);
    }
}

@keyframes flyPlane2 {
    0% {
        transform: translate(-150px, -30px) rotate(85deg);
    }

    100% {
        transform: translate(1200px, -50px) rotate(85deg);
    }
}

.destination-marker {
    position: absolute;
    top: 40%;
    left: 60%;
    width: 50px;
    height: 50px;
    z-index: 6;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    animation: marker-pulse 2s infinite;
}

.x-mark {
    position: absolute;
    font-family: 'Times New Roman', serif;
    color: var(--accent1-color);
    opacity: 0.6;
    font-size: 1.25rem;
    z-index: 5;
}

.x-mark-1 {
    top: 35%;
    left: 22%;
}

.x-mark-2 {
    top: 55%;
    left: 40%;
}

.x-mark-3 {
    top: 30%;
    left: 75%;
}

/* RSVP Section */
.form-container {
    background-color: #fdfaf4;
    padding: 20px;
    border: 4px double #8a606a;
    width: 400px;
    position: relative;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    font-size: 0.75rem;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

.form-header {
    font-family: 'Baskervville', serif;
    color: #8a606a;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.section-header {
    color: #996b76;
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

label {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: #5a4b4b;
}

input,
textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #996b76;
    background: #f9f6f2;
    border-radius: 4px;
    font-size: 0.875rem;
}

.checkbox-group {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.checkbox-group input {
    width: 14px;
    height: 14px;
    accent-color: #8a606a;
}

.stamp {
    font-size: 1rem;
    color: #e0c680;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    bottom: 10px;
    right: 10px;
    transform: rotate(-10deg);
    border: 2px solid #e0c680;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(224, 198, 128, 0.2);
}

hr {
    border: none;
    height: 1px;
    background-color: #996b76;
    margin-top: 10px;
    margin-bottom: 10px;
}

.rsvplogo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: auto;
    z-index: 1;
}

#guests {
    display: none;
}

.submit-button {
    background-color: #8a606a;
    color: #fdfaf4;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    width: 150px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #996b76;
}

.travel-section {
    padding: 100px 0;
    background-color: var(--light-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 193, 7, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 60%, rgba(255, 64, 129, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(3, 169, 244, 0.05) 0%, transparent 20%);
    position: relative;
    overflow: hidden;
}

.travel-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
            var(--primary-color),
            var(--secondary-color),
            #FF6B6B,
            #4ECDC4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.paper-plane-icon {
    color: var(--primary-color);
    animation: fly 6s infinite ease-in-out;
    font-size: 1.5rem;
}

@keyframes fly {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    25% {
        transform: translateY(-10px) rotate(-10deg);
    }

    50% {
        transform: translateY(5px) rotate(10deg);
    }

    75% {
        transform: translateY(-5px) rotate(0);
    }
}

.festive-banner {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
}

.banner-text {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0.8;
    border-radius: 50%;
}

.confetti-1 {
    background-color: #FF6B6B;
    top: 10%;
    left: 20%;
    animation: confetti-fall 7s infinite linear;
}

.confetti-2 {
    background-color: #4ECDC4;
    top: 50%;
    left: 50%;
    animation: confetti-fall 5s infinite linear;
}

.confetti-3 {
    background-color: #FFE66D;
    top: 30%;
    left: 80%;
    animation: confetti-fall 6s infinite linear;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(60px) rotate(360deg);
        opacity: 0;
    }
}

.travel-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.travel-card {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.travel-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.travel-card:hover .card-icon-container {
    transform: rotate(5deg) scale(1.1);
}

.card-icon-container {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.card-icon-container i {
    color: white;
    font-size: 1.5rem;
}

.travel-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.travel-card h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.travel-card:hover h3::after {
    width: 100%;
}

.travel-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    white-space: pre-line;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 40%, rgba(var(--primary-color-rgb), 0.1) 40%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.travel-card:hover .card-decoration {
    opacity: 1;
}

.travel-card.currency-card {
    padding-bottom: 15px;
}

.travel-card.currency-card p {
    margin: 0 0 5px 0;
    flex-grow: 0;
}

.travel-card.currency-card .currency-widget {
    margin: 0;
    padding: 0;
}

.currency-widget {
    width: 100%;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    background-color: #f9f9f9;
    margin: 5px 0;
}

.currency-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 8px !important;
    padding: 0 5px;
}

.transport-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    opacity: 0.7;
}

.transport-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    animation: moveTransport 2s infinite ease-in-out;
}

.transport-icon:nth-child(2) {
    animation-delay: 0.3s;
}

.transport-icon:nth-child(3) {
    animation-delay: 0.6s;
}

.travel-card:hover .transport-icon {
    color: var(--secondary-color);
}

@keyframes moveTransport {
    0% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(-5px);
    }
}

.fun-fact-container {
    margin-bottom: 50px;
}

.fun-fact {
    background-color: #FFF8E1;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: shadow-pulse 3s infinite alternate;
}

.fun-fact::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
}

.fun-fact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.fun-fact-icon i {
    color: white;
    font-size: 1.5rem;
}

.fun-fact p {
    margin: 0;
    color: #333;
}

.fun-fact span {
    font-weight: bold;
    color: var(--secondary-color);
}

.map-container {
    text-align: center;
    position: relative;
    margin-bottom: 50px;
    padding: 0 20px;
}

.map-container iframe {
    border: none;
}

.map-container iframe+div {
    display: none !important;
}

.map-container iframe+div+div {
    display: none !important;
}

.map-container h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.map-wrapper {
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.map-wrapper .map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
    position: relative;
    z-index: 1;
}

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

@media (max-width: 768px) {
    .map-container {
        padding: 0 15px;
    }

    .map-wrapper {
        padding: 15px;
    }

    .map-wrapper h3 {
        font-size: 1.3rem;
    }

    .maps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .travel-card {
        max-width: 100%;
    }

    .festive-banner {
        padding: 10px;
        margin-bottom: 30px;
    }

    .banner-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .map-container {
        padding: 0 10px;
    }

    .map-wrapper {
        padding: 10px;
    }

    .map-wrapper h3 {
        font-size: 1rem;
    }

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

.travel-footer {
    text-align: center;
    padding: 30px 0;
    position: relative;
}


.travel-celebration-message {
    text-align: center;
    margin: 20px 0 30px;
}

.travel-celebration-message p {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-style: italic;
    margin: 0;
}

.travel-footer p {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.travel-footer-decoration {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 15px auto 0;
    border-radius: 10px;
}

/* Accommodation Section */
.accommodation-section {
    padding: 100px 0;
    background-color: white;
}

.accommodation-category {
    margin: 40px 0 20px;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.5rem;
    position: relative;
}

.accommodation-category::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 2px;
    background-color: var(--accent1-color);
    transform: translateX(-50%);
}

.hotel-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.hotel-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1 1 300px;
    max-width: 350px;
    transition: var(--transition);
}

.hotel-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.hotel-card-link:hover .hotel-card {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hotel-img {
    overflow: hidden;
}

.hotel-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.hotel-card:hover .hotel-img img {
    transform: scale(1.05);
}

.hotel-info {
    padding: 20px;
    text-align: center;
}

.hotel-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-range {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 15px 0;
}

.hotel-stars {
    color: var(--accent1-color);
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hotel-distance {
    font-size: 0.875rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.accommodation-map-section {
    margin-top: 60px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accommodation-map-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.accommodation-map-section p {
    text-align: center;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.accommodation-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accommodation-note {
    margin-top: 30px;
    padding: 15px 20px;
    background-color: rgba(224, 198, 128, 0.15);
    border-left: 4px solid var(--accent1-color);
    border-radius: 0 5px 5px 0;
}

@media (max-width: 768px) {
    .accommodation-category {
        font-size: 1.5rem;
    }

    .hotel-card-link {
        max-width: 100%;
    }

    .accommodation-map-section {
        padding: 20px 15px;
    }
}

/* Tourism Section */
.tourism-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.attraction-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.attraction-card {
    flex: 1 1 300px;
    max-width: 500px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.attraction-img {
    overflow: hidden;
}

.attraction-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.attraction-card:hover .attraction-img img {
    transform: scale(1.05);
}

.attraction-info {
    padding: 20px;
}

.attraction-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.events-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='44' height='12' viewBox='0 0 44 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v-2L0 0v10l4 2h16zm18 0l4-2V0L22 10v2h16zM20 0v8L4 0h16zm18 0L22 8V0h16z' fill='%23996b76' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.event-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.event-card {
    display: flex;
    margin-bottom: 50px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.event-card::after {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 70px;
    height: 70px;
    background-color: rgba(224, 198, 128, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    padding: 5px;
}

.event-card:nth-child(1)::after {
    content: "Day 1";
}

.event-card:nth-child(2)::after {
    content: "Day 2";
    background-color: rgba(153, 107, 118, 0.9);
    color: white;
}

.event-date {
    flex: 0 0 200px;
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.event-date::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 0;
}

.event-date h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.event-date p {
    position: relative;
    z-index: 1;
}

.event-details {
    flex: 1;
    padding: 30px;
}

.event-details h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-time,
.event-location {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.dress-code {
    margin: 15px 0 5px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.dress-code p::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.dress-code p strong {
    position: relative;
    padding-left: 20px;
}

.dress-code p strong::before {
    content: none;
}

.dress-code p strong::after {
    content: " ";
    white-space: pre;
}

.event-card:nth-child(2) .dress-code p strong::before {
    background-color: var(--primary-color);
}

.event-card:nth-child(1) .dress-code p::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    background-color: var(--gold);
    border-radius: 50%;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.event-card:nth-child(2) .dress-code p::before {
    background-color: var(--primary-color);
}

.event-description {
    margin-top: 15px;
    margin-bottom: 0;
}

.dress-code p {
    display: flex;
    align-items: center;
    margin: 0;
}

.special-instructions {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 30px;
    background-color: #f9f7f0;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(138, 96, 106, 0.2);
}

.special-instructions-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.special-instructions-title::before {
    content: "✈️";
    margin-right: 10px;
    font-size: 1.5rem;
}

.special-instructions-content {
    margin-bottom: 20px;
}

.special-instructions ul {
    padding-left: 20px;
}

.special-instructions li {
    margin-bottom: 10px;
    position: relative;
}

.special-instructions li::marker {
    color: var(--accent1-color);
}

.special-instructions::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 40px;
    width: 80px;
    height: 80px;
    background-color: rgba(224, 198, 128, 0.2);
    border: 1px solid rgba(138, 96, 106, 0.2);
    transform: rotate(-5deg);
    border-radius: 5px;
    z-index: 1;
}

.dress-code-examples {
    margin-top: 40px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.dress-code-title {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
}

.dress-code-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent1-color);
    margin: 10px auto 0;
    opacity: 0.5;
}

.dress-code-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.dress-code-item {
    width: 120px;
    position: relative;
    transition: var(--transition);
}

.dress-code-item:hover {
    transform: translateY(-5px);
}

.dress-code-label {
    text-align: center;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.dress-code-img {
    width: 100%;
    height: 160px;
    border-radius: 5px;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.dress-code-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f9f7f0;
    transition: transform 0.3s ease;
}

.dress-code-item:hover .dress-code-img img {
    transform: scale(1.05);
}

.dress-code-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(224, 198, 128, 0.1);
    z-index: 1;
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.dress-code-item:hover .dress-code-img::after {
    background-color: rgba(224, 198, 128, 0.2);
}

.dress-code-item:hover .dress-code-img {
    border-color: var(--accent1-color);
}

/* Formality Scale Styles */
.formality-scale-container,
.womens-dress-code-container {
    margin-bottom: 40px;
}

.formality-scale-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.formality-scale {
    position: relative;
    padding: 30px 20px;
    background-color: #f9f8f5;
    border-radius: 8px;
    border: 1px solid rgba(138, 96, 106, 0.1);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--dark-color);
}

.scale-label-formal,
.scale-label-casual {
    position: relative;
    padding-bottom: 5px;
}

.scale-label-formal::after,
.scale-label-casual::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 40px;
}

.scale-label-formal::after {
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.scale-label-casual::after {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--accent1-color));
}

.formality-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.formality-group {
    position: relative;
}

.formality-label {
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-left: 3px solid var(--accent1-color);
    padding-left: 10px;
}

.formality-options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.formality-item {
    width: 150px;
    position: relative;
    transition: var(--transition);
}

.formality-item:hover {
    transform: translateY(-5px);
}

.day1-options {
    border-bottom: 1px dashed rgba(138, 96, 106, 0.2);
    padding-bottom: 30px;
}

/* Women's Options Styles */
.womens-options {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.womens-group {
    position: relative;
}

.womens-label {
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-left: 3px solid var(--accent1-color);
    padding-left: 10px;
}

.womens-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.womens-item {
    width: 150px;
    position: relative;
    transition: var(--transition);
}

.womens-item:hover {
    transform: translateY(-5px);
}

/* Common Dress Code Image Styles */
.formality-item .dress-code-img,
.womens-item .dress-code-img {
    height: 180px;
    border-radius: 8px;
}

/* Image indicator for clickability */
.dress-code-img::before {
    content: "👁️";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.dress-code-img:hover::before {
    opacity: 1;
}

/* Dress Code Info Styles */
.dress-code-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f8f5;
    border-radius: 8px;
    border: 1px solid rgba(138, 96, 106, 0.1);
    box-sizing: border-box;
    width: 100%;
}

.dress-code-info-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.dress-code-descriptions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.dress-code-description {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .dress-code-description {
        flex: 1 1 calc(50% - 20px);
    }
}

.dress-code-description h6 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.dress-code-description h6::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.dress-code-description:nth-child(2) h6::before {
    background-color: var(--primary-color);
}

.dress-code-description p {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Modal/Lightbox Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: -30px;
    right: -30px;
    color: white;
    font-size: 1.875rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 10;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--accent1-color);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid white;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    color: white;
    margin-top: 15px;
    text-align: center;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .formality-options,
    .womens-grid {
        justify-content: center;
    }

    .dress-code-descriptions {
        flex-direction: column;
    }

    .close-modal {
        top: -25px;
        right: -5px;
    }

    .modal-content {
        max-width: 95%;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-color);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--primary-color);
}

.faq-question i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-info,
.contact-form-container {
    flex: 1 1 450px;
}

.contact-table {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: var(--transition);
}

.contact-table h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.contact-table th {
    background-color: var(--primary-color);
    color: white;
    text-align: left;
    padding: 12px 15px;
}

.contact-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-table tr:last-child td {
    border-bottom: none;
}

.contact-form .btn.primary-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: auto;
    min-width: 180px;
    padding: 12px 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(138, 96, 106, 0.2);
}

@media screen and (max-width: 768px) {
    .contact-form .btn.primary-btn {
        width: 100%;
    }

    /* Mobile contact table */
    .form-container {
        width: 100%;
        max-width: 400px;
        padding: 15px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .contact-table {
        padding: 15px;
        width: 100%;
        overflow-x: auto;
        display: block;
    }

    .contact-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-item {
        padding: 20px 15px;
    }

    .contact-item i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .contact-item h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .contact-item p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {

    .contact-table th,
    .contact-table td {
        padding: 8px;
        font-size: 0.85rem;
    }
}

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

.hero-section {
    position: relative;
    overflow: hidden;
    transform-style: flat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-panel {
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    z-index: 20;
}

.main-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent1-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.date {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #fff;
}

.countdown-container {
    display: flex;
    justify-content: center;
    margin: 30px 0 40px;
}

.countdown-item {
    margin: 0 15px;
    text-align: center;
}

.countdown-item span:first-child {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    background-color: rgba(138, 60, 60, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 5px;
    min-width: 80px;
    color: #fff;
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent1-color);
}

.passport-btn {
    background-color: var(--primary-color);
    color: var(--accent1-color);
    border: 1px solid var(--accent1-color);
    padding: 12px 30px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 3px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.passport-btn::after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='1'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.5;
}

.passport-btn:hover {
    background-color: var(--accent1-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-section {
    padding: 100px 0;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657l1.415 1.414L13.857 0H11.03zm32.284 0L39.9 3.414 42.728 0h-9.9L29.414 3.414 26.586 0h-9.9l3.657 3.414L17.172 0H0v60h60V0H43.314zm0 34.142l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm-9.9 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm-9.9 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm-9.9 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm19.8 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414-3.414-3.414 3.414 3.414 3.414 3.414-3.414zm13.314 0l-3.414-3.414-3.414 3.414 3.414 3.414 3.414-3.414zm-26.628 0l-3.414-3.414-3.414 3.414 3.414 3.414 3.414-3.414zm13.314 0l-3.414-3.414-3.414 3.414 3.414 3.414 3.414-3.414zm13.314 0l-3.414-3.414-3.414 3.414 3.414 3.414 3.414-3.414zM9.557 22.743l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm-39.942 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm-39.942 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm-39.942 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zM22.87 48.657l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414zm13.314 0l-3.414 3.414 3.414 3.414 3.414-3.414-3.414-3.414z' fill='%23996b76' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
    padding: 40px 0;
}

.celebrant-card {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    background-color: #f9f7f0;
    border-radius: 0;
    overflow: visible;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(138, 96, 106, 0.3);
    padding-bottom: 20px;
    transform: rotate(-1deg);
}

.celebrant-card:nth-child(2) {
    transform: rotate(1deg);
}

.celebrant-card:nth-child(3) {
    transform: rotate(-0.5deg);
}

.celebrant-card:hover {
    transform: translateY(-10px) rotate(0deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.celebrant-img {
    overflow: hidden;
    border: 10px solid #f9f7f0;
    margin: 15px auto;
    width: calc(100% - 60px);
    height: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.celebrant-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(120deg, rgba(224, 198, 128, 0.2), rgba(138, 96, 106, 0.2));
    z-index: 1;
    pointer-events: none;
}

.celebrant-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: saturate(0.9);
}

.celebrant-card:hover .celebrant-img img {
    transform: scale(1.05);
    filter: saturate(1.1);
}

.celebrant-img::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -15px;
    width: 80px;
    height: 80px;
    background-color: rgba(224, 198, 128, 0.6);
    border-radius: 50%;
    transform: rotate(-15deg);
    z-index: 2;
    opacity: 0.9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.celebrant-card:nth-child(2) .celebrant-img::after {
    right: auto;
    left: -15px;
    transform: rotate(15deg);
    background-color: rgba(153, 107, 118, 0.6);
}

.celebrant-card:nth-child(3) .celebrant-img::after {
    display: none;
}

.celebrant-card::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 30px;
    background-color: rgba(224, 198, 128, 0.2);
    border: 1px solid rgba(138, 96, 106, 0.3);
    transform: rotate(-5deg);
    z-index: 1;
    font-family: monospace;
    font-size: 0.625rem;
    color: rgba(138, 96, 106, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.celebrant-card:nth-child(1)::before {
    content: "12·25·2025";
}

.celebrant-card:nth-child(2)::before,
.celebrant-card:nth-child(3)::before {
    display: none;
}

.celebrant-card h3 {
    margin-top: 20px;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.celebrant-card h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent1-color), transparent);
}

.celebrant-card p {
    padding: 10px 30px 20px;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

.celebrant-card::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0c680, #c9ae5f);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    top: 10px;
    left: 10px;
    z-index: 10;
}

.celebrant-card .pin {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #e0c680, #c9ae5f);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.celebrant-card .pin:nth-of-type(1) {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.celebrant-card .pin:nth-of-type(2) {
    bottom: 10px;
    left: 30px;
}

.welcome-message {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
    position: relative;
    padding: 30px;
    background-color: rgba(249, 247, 240, 0.7);
    border: 1px solid rgba(138, 96, 106, 0.2);
}

.welcome-message::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23e0c680' stroke-width='2'/%3E%3Cpath d='M50 5 L50 95 M5 50 L95 50 M26 26 L74 74 M26 74 L74 26' stroke='%238a606a' stroke-width='1' opacity='0.6'/%3E%3Ccircle cx='50' cy='50' r='5' fill='%238a606a'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.8;
}

.celebration-message {
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
    padding: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-style: italic;
}

/* Gallaery Section */
.gallery-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.event-photos {
    margin: 30px 0 50px;
}

.photo-album {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-gap: 8px;
    grid-auto-rows: minmax(80px, 100px);
    grid-auto-flow: dense;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    animation: fadeIn 0.5s ease-in-out;
    height: 100%;
}

.photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.photo-item.wide {
    grid-column: span 2;
}

.photo-item.tall {
    grid-row: span 2;
}

.photo-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

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

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.photo-item:hover .photo-info {
    transform: translateY(0);
}

.loading-indicator {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    padding: 50px 0;
}

.loading-indicator i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.no-photos-message,
.error-message {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    padding: 50px 0;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.error-message {
    background-color: #fff3f3;
}

.upload-section {
    margin: 20px 0 30px;
    text-align: center;
}

.btn.primary-btn i {
    font-size: 1rem;
}

.upload-progress {
    margin: 20px auto;
    max-width: 500px;
}

.progress-bar {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

#progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.photo-counter {
    font-size: 0.875rem;
    color: #666;
}

.pagination-nav {
    display: flex;
    justify-content: center;
    margin: 25px 0 15px;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination-nav button {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
    padding: 6px 12px;
    margin: 0 3px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.pagination-nav button:hover {
    background-color: #e9e9e9;
}

.pagination-nav button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-nav .page-info {
    display: inline-block;
    padding: 6px 0;
    color: #666;
    font-size: 0.875rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-controls select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 0.875rem;
}

.date-divider {
    grid-column: 1 / -1;
    margin: 15px 0 8px;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
}

#modal-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    background-color: #000;
    transition: opacity 0.3s ease;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
}

#modal-img.loading {
    opacity: 0.5;
}

.modal-caption {
    color: white;
    margin-top: 15px;
    font-size: 0.875rem;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    color: var(--light-text);
}

.footer-logo span {
    color: var(--secondary-color);
    margin-left: 5px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}