/* CSS Variables for color scheme and typography */
:root {
    /* Color Palette */
    --color-mint: #7ED4C3;
    --color-coral: #F27D7D;
    --color-light-pink: #FDBCBC;
    --color-lavender: #C086C9;
    --color-deep-purple: #8A278F;
    --color-turquoise: #00C4C4;
    --color-white: #FFFFFF;
    --color-cream: #F9F6F2;
    --color-dark: #333333;
    --color-gold: #D4AF37;

    /* Typography */
    --font-heading: 'Sour Gummy', Georgia, 'Times New Roman', serif;
    --font-title: 'Gorditas', Georgia, 'Times New Roman', serif;
    --font-body: 'Gudea', Arial, Helvetica, sans-serif;

    /* Font sizes */
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-md: 1.125rem;
    /* 18px */
    --font-size-lg: 1.25rem;
    /* 20px */
    --font-size-xl: 1.5rem;
    /* 24px */
    --font-size-2xl: 2rem;
    /* 32px */
    --font-size-3xl: 2.5rem;
    /* 40px */
    --font-size-4xl: 3rem;
    /* 48px */

    /* Font weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.25rem;
    /* 4px */
    --spacing-sm: 0.5rem;
    /* 8px */
    --spacing-md: 1rem;
    /* 16px */
    --spacing-lg: 1.5rem;
    /* 24px */
    --spacing-xl: 2rem;
    /* 32px */
    --spacing-2xl: 3rem;
    /* 48px */
    --spacing-3xl: 4rem;
    /* 64px */

    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 32px;
    --border-radius-full: 9999px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-dark);
    background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-white) 100%);
    position: relative;
    overflow-x: hidden;
}

/* Background texture and decorative elements */
body::before {
    content: '';
    position: fixed;
    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 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%237ED4C3' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
    z-index: -2;
    pointer-events: none;
}

/* Floating background shapes */
.bg-shape {
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.bg-shape-1 {
    width: 65vw;
    height: 65vw;
    background: linear-gradient(135deg, var(--color-mint), var(--color-turquoise));
    top: -25vw;
    right: -25vw;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: morph 15s linear infinite;
    opacity: 0.7;
}

.bg-shape-2 {
    width: 45vw;
    height: 45vw;
    background: linear-gradient(135deg, var(--color-light-pink), var(--color-coral));
    bottom: -20vw;
    left: -20vw;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: morph 18s linear infinite;
    opacity: 0.5;
}

.bg-shape-3 {
    width: 35vw;
    height: 35vw;
    background: linear-gradient(135deg, var(--color-lavender), var(--color-deep-purple));
    top: 40%;
    left: -15vw;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: morph 20s linear infinite;
    opacity: 0.25;
}

.bg-shape-4 {
    width: 25vw;
    height: 25vw;
    background: linear-gradient(135deg, var(--color-gold), var(--color-light-pink));
    bottom: 20%;
    right: -10vw;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: morph 15s linear infinite;
    opacity: 0.25;
}

/* Decorative elements */
.decorative-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.shape-circle {
    border-radius: 50%;
    background: var(--color-mint);
    opacity: 0.25;
}

.shape-wave {
    background: var(--color-light-pink);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    opacity: 0.25;
}

/* Gold accents */
.gold-accent {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23D4AF37' 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 3z'/%3E%3C/svg%3E");
    opacity: 0.6;
    position: absolute;
    z-index: -1;
}

/* Flower elements */
.flower {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23FDBCBC' d='M50 0 C60 25 75 40 100 50 C75 60 60 75 50 100 C40 75 25 60 0 50 C25 40 40 25 50 0'/%3E%3C/svg%3E");
    background-size: contain;
    z-index: -1;
    opacity: 0.5;
    animation: float 10s ease-in-out infinite;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
    position: relative;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

h1 {
    font-family: var(--font-title);
    font-size: calc(var(--font-size-4xl) * 1.5);
    font-weight: var(--font-weight-bold);
    color: var(--color-deep-purple);
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

h2 {
    font-size: calc(var(--font-size-2xl) * 1.25);
    background: linear-gradient(90deg, var(--color-deep-purple), var(--color-lavender));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-xl);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-mint), var(--color-coral), var(--color-gold));
    border-radius: var(--border-radius-full);
    opacity: 0.8;
    animation: gradientShift 6s ease infinite;
    background-size: 300% 100%;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h3 {
    font-size: calc(var(--font-size-xl) * 1.25);
    color: var(--color-coral);
    font-style: normal;
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-light-pink), transparent);
    border-radius: var(--border-radius-full);
}

p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-md);
    color: var(--color-dark);
    line-height: 1.8;
    letter-spacing: 0.01em;
}

strong {
    font-weight: var(--font-weight-semibold);
}

a {
    color: var(--color-deep-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

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

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Decorative elements */
.decorative-shape {
    position: absolute;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle {
    border-radius: 50%;
    background: var(--color-mint);
}

.shape-wave {
    background: var(--color-light-pink);
    border-radius: 64% 36% 70% 30% / 30% 64% 36% 70%;
}

/* Header Styles */
header {
    background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0.9));
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 30% 5%;
    border-bottom-right-radius: 30% 5%;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--color-mint), var(--color-coral), var(--color-lavender));
}

header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C300,20 400,0 500,10 C600,20 700,15 900,8 C1000,5 1100,10 1200,20 L1200,30 L0,30 Z' fill='white'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

.header-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 64% 36% 70% 30% / 30% 64% 36% 70%;
    background: linear-gradient(135deg, rgba(126, 212, 195, 0.2), rgba(192, 134, 201, 0.2));
    top: -150px;
    right: -150px;
    z-index: 0;
    animation: morph 15s linear infinite;
}

header .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .subtitle {
    font-size: calc(var(--font-size-lg) * 1.25);
    color: var(--color-coral);
    font-weight: var(--font-weight-light);
    font-style: normal;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 5;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-full);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-mint), var(--color-turquoise));
    opacity: 0;
    border-radius: var(--border-radius-full);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.lang-btn img {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: var(--border-radius-full);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-btn.active {
    border-color: var(--color-gold);
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: var(--border-radius-full);
}

.lang-btn:hover {
    border-color: var(--color-light-pink);
}

.lang-btn:hover::before {
    opacity: 0.1;
}

.lang-btn:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-btn:active {
    transform: translateY(1px);
}

/* Section Styles */
.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
    margin-top: 120px;
}

.section:first-child {
    margin-top: 0;
}

.section:nth-child(odd) {
    background-color: white;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--color-cream);
    position: relative;
}

.section:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: white;
    border-radius: 100% 100% 0 0;
}

.section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--color-cream);
    border-radius: 100% 100% 0 0;
}

.section:nth-child(3n+1)::after {
    content: '';
    position: absolute;
    top: -10px;
    right: 10%;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23F27D7D' d='M50 0 C60 25 75 40 100 50 C75 60 60 75 50 100 C40 75 25 60 0 50 C25 40 40 25 50 0'/%3E%3C/svg%3E");
    background-size: contain;
    z-index: 1;
    opacity: 0.5;
    animation: float 8s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.section:nth-child(3n+2)::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%237ED4C3' d='M50 0 C60 25 75 40 100 50 C75 60 60 75 50 100 C40 75 25 60 0 50 C25 40 40 25 50 0'/%3E%3C/svg%3E");
    background-size: contain;
    z-index: 1;
    opacity: 0.5;
    animation: float 10s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.section:nth-child(3n)::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 8%;
    width: 70px;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23C086C9' d='M50 0 C60 25 75 40 100 50 C75 60 60 75 50 100 C40 75 25 60 0 50 C25 40 40 25 50 0'/%3E%3C/svg%3E");
    background-size: contain;
    z-index: 1;
    opacity: 0.5;
    animation: float 12s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

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

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

@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }

    33% {
        border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%;
    }

    66% {
        border-radius: 40% 60% 43% 57% / 47% 40% 60% 53%;
    }

    100% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
}

.about-text {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 2;
}

.about-image {
    flex: 1;
    position: relative;
    text-align: center;
    padding: var(--spacing-md);
    z-index: 2;
}

/* Image styles */
.about-image picture,
.tours-images picture,
.museum-item picture,
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img,
.tours-images img,
.museum-item img,
.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    object-fit: contain;
}

/* Image hover effects */
.about-image img:hover,
.tours-images img:hover,
.museum-item img:hover,
.gallery-image:hover {
    transform: scale(1.02);
}

.about-image picture:hover,
.tours-images picture:hover,
.museum-item picture:hover,
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image overlay on hover */
.about-image picture::after,
.tours-images picture::after,
.museum-item picture::after,
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(126, 212, 195, 0.2), rgba(242, 125, 125, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.about-image picture:hover::after,
.tours-images picture:hover::after,
.museum-item picture:hover::after,
.gallery-item:hover::after {
    opacity: 1;
}

/* Specific image styles */
.about-image picture {
    height: auto;
    border-radius: var(--border-radius-md);
}

.main-profile-image {
    object-fit: contain;
    object-position: center bottom;
    border-radius: var(--border-radius-lg);
}

.tours-images picture {
    height: auto;
    max-height: 400px;
    border-radius: var(--border-radius-lg);
}

.tour-image {
    object-fit: contain;
    max-height: 400px;
}

.museum-item picture {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
}

.museum-image {
    object-fit: cover;
}

/* Specific positioning for museum images */
.museum-item:first-child .museum-image {
    object-position: center 70%;
    /* Show more building, less sky */
}

.museum-item:nth-of-type(2) .museum-image {
    object-position: center 20%;
    /* Shifted up to show more of the face at the bottom */
}

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

.museum-item:hover .museum-image {
    transform: scale(1.05);
}

/* Left border styling */
.museum-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-coral);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    z-index: 2;
}

.museum-item h3 {
    color: var(--color-coral);
    font-style: normal;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    margin-bottom: var(--spacing-md);
    display: inline-block;
    position: relative;
}

.museum-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-coral), transparent);
    border-radius: var(--border-radius-full);
}

.museum-item p {
    margin-bottom: var(--spacing-md);
}

.museum-item a {
    color: var(--color-deep-purple);
    font-weight: var(--font-weight-semibold);
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    position: relative;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-white), rgba(255, 255, 255, 0.9));
    border-radius: var(--border-radius-full);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.contact-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, var(--color-coral), var(--color-mint));
    border-radius: var(--border-radius-full) 0 0 var(--border-radius-full);
    opacity: 0.8;
}

.contact-icon {
    font-size: var(--font-size-xl);
    color: var(--color-coral);
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-deep-purple), var(--color-lavender));
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 30% 5%;
    border-top-right-radius: 30% 5%;
}

footer::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C300,10 400,25 500,15 C600,5 700,10 900,20 C1000,25 1100,15 1200,10 L1200,0 L0,0 Z' fill='%238A278F'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer p {
    margin-bottom: 0;
    color: var(--color-white);
    font-size: var(--font-size-sm);
    position: relative;
    display: inline-block;
}

footer p::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Gold accents */
.gold-accent {
    color: var(--color-gold);
    font-weight: var(--font-weight-bold);
}

/* Remove these image placeholder styles as they are no longer needed */
/* Image Placeholders - Will be replaced with real images */
.image-placeholder {
    display: none;
}

.image-placeholder::after {
    display: none;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    height: 225px;
    /* Fixed height for consistency */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Changed to cover to fill the container */
    object-position: center center;
    /* Center the image */
    display: block;
    transition: transform 0.5s ease;
}

/* Specific alignment for problematic images */
.gallery-item:first-child .gallery-image {
    object-position: center 40%;
    /* Adjust to show more of the canal and less sky */
}

.gallery-item:nth-child(3) .gallery-image {
    object-position: center 40%;
    /* Adjust to show more of the mural */
}

/* Add a more elegant drop cap style to the first paragraph of tours section */
#tours .tours-text p:first-of-type::first-letter {
    font-size: 2em;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-heading);
    color: var(--color-coral);
    float: left;
    line-height: 0.8;
    margin-right: 0.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.section .container {
    position: relative;
    z-index: 1;
}

.section h2 {
    margin-bottom: var(--spacing-2xl);
    position: relative;
    display: inline-block;
    font-size: calc(var(--font-size-2xl) * 1.25);
}

.section h2::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -30px;
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23F27D7D' fill-opacity='0.2' d='M50 0 C60 25 75 40 100 50 C75 60 60 75 50 100 C40 75 25 60 0 50 C25 40 40 25 50 0'/%3E%3C/svg%3E");
    background-size: contain;
    z-index: -1;
    opacity: 0.8;
}

/* Section-specific heading styles - only override what's different from base */
#tours h2,
#museum h2 {
    font-weight: var(--font-weight-bold);
    font-size: calc(var(--font-size-2xl) * 1.5);
    letter-spacing: 0.03em;
}

#tours h2::after {
    height: 5px;
    background: linear-gradient(90deg, var(--color-mint), var(--color-coral), var(--color-gold));
    animation: gradientShift 8s ease infinite;
}

#museum h2::after {
    height: 5px;
    background: linear-gradient(90deg, var(--color-coral), var(--color-mint), var(--color-gold));
    animation: gradientShift 8s ease infinite;
}

/* About section specific styles */
.about-image::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background-color: var(--color-light-pink);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    opacity: 0.4;
    z-index: -1;
    top: -10%;
    right: -10%;
    animation: morph 15s linear infinite;
}

.about-content::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23D4AF37' 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 3z'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    top: -50px;
    left: -30px;
    opacity: 0.6;
    z-index: 1;
}

/* Tours Section */
.tours-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2xl);
    position: relative;
    margin-top: var(--spacing-xl);
    align-items: center;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

.tours-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--border-radius-xl);
    background: linear-gradient(135deg, var(--color-mint), var(--color-coral), var(--color-lavender)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    z-index: 0;
}

.tours-text {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding: var(--spacing-md);
    z-index: 2;
}

.tours-text::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: linear-gradient(135deg, rgba(126, 212, 195, 0.1), rgba(255, 255, 255, 0));
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    opacity: 0.4;
    z-index: -1;
    top: -20%;
    left: -20%;
    animation: morph 20s linear infinite;
}

.tours-text p:first-of-type {
    font-size: var(--font-size-lg);
    color: var(--color-deep-purple);
    font-weight: var(--font-weight-semibold);
}

.tours-text strong {
    color: var(--color-coral);
    font-weight: var(--font-weight-bold);
    position: relative;
    display: inline-block;
}

.tours-text strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-mint);
    opacity: 0.5;
}

.tours-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.tours-images picture::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(126, 212, 195, 0.2), rgba(192, 134, 201, 0.2));
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.tours-images picture:hover::before {
    opacity: 1;
}

/* Museum Section */
.museum-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
    position: relative;
    margin-top: var(--spacing-2xl);
}

.museum-item {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.museum-item-content {
    padding: var(--spacing-xl);
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.museum-item:hover .museum-image {
    transform: scale(1.05);
}

/* Left border styling */
.museum-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-coral);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    z-index: 2;
}

.museum-item h3 {
    color: var(--color-coral);
    font-style: normal;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    margin-bottom: var(--spacing-md);
    display: inline-block;
    position: relative;
}

.museum-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-coral), transparent);
    border-radius: var(--border-radius-full);
}

.museum-item p {
    margin-bottom: var(--spacing-md);
}

.museum-item a {
    color: var(--color-deep-purple);
    font-weight: var(--font-weight-semibold);
}
