/* Attractions Page Special Styles */

/* Page Hero with Custom Typography */
.page-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%235BA3F5" fill-opacity="0.4" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

/* Hand-crafted Font Styles */
.hero-title-styled {
    font-family: 'Oswald', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(45deg, #FFFFFF, #E6F2FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    animation: slideInDown 1s ease;
}

.hero-title-styled::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFFFFF, transparent);
}

.hero-subtitle-styled {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    margin-top: 1.5rem;
    animation: fadeIn 1.5s ease 0.5s;
    animation-fill-mode: both;
}

/* Section Title Variations */
.section-title-fancy {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.section-title-fancy::before {
    content: '~';
    font-family: 'Lobster', cursive;
    font-size: 4rem;
    position: absolute;
    left: -50px;
    top: -10px;
    color: var(--sand-color);
    opacity: 0.5;
}

.section-title-fancy::after {
    content: '~';
    font-family: 'Lobster', cursive;
    font-size: 4rem;
    position: absolute;
    right: -50px;
    top: -10px;
    color: var(--sand-color);
    opacity: 0.5;
    transform: scaleX(-1);
}

.section-title-script {
    font-family: 'Lobster', cursive;
    font-size: 3rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title-script::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 300;
}

/* Attractions Section */
.attractions-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Attraction Cards with Enhanced Typography */
.attraction-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.attraction-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
}

.attraction-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Specific image backgrounds */
.moody-gardens-image {
    background-image: url('../images/moody-gardens-faded.png');
    position: relative;
}

.moody-gardens-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0.3) 100%);
}

.pleasure-pier-image {
    background-image: url('../images/pleasure-pier.jpg');
}

.strand-image {
    background-image: url('../images/historic-strand.jpg');
}

.beach-image {
    background-image: url('../images/galveston-beach.jpg');
}

.murdochs-image {
    background-image: linear-gradient(135deg, #4A90E2, #5BA3F5);
}

.tree-sculpture-image {
    background-image: linear-gradient(135deg, #66a6ff, #89f7fe);
}

.attraction-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.attraction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(74, 144, 226, 0.9), rgba(91, 163, 245, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.attraction-card:hover .attraction-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.attraction-title-overlay {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.btn-learn-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 25px;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.attraction-content {
    padding: 2rem;
}

.attraction-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.attraction-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
}

.attraction-meta i {
    color: var(--primary-blue);
    margin-right: 5px;
}

.attraction-description {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.attraction-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Special Moody Gardens Styles */
.moody-gardens-card {
    position: relative;
}

.moody-pyramids {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(91, 163, 245, 0.05));
    border-radius: 12px;
}

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

.pyramid-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    background: var(--light-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pyramid-item span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.moody-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.moody-link:hover {
    color: var(--secondary-blue);
    transform: translateX(5px);
}

/* Enhanced Moody Gardens image overlay */
.moody-gardens-image .attraction-overlay {
    background: linear-gradient(to bottom, 
        rgba(74, 144, 226, 0.85), 
        rgba(91, 163, 245, 0.95));
}

/* Full Screen Moody Gardens Hero Section */
.moody-gardens-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('../images/moody-gardens-faded.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
}

.moody-gardens-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.2) 40%, 
        rgba(255,255,255,0.3) 100%);
    z-index: 1;
}

.moody-gardens-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.05) 0%, 
        rgba(255,255,255,0) 50%, 
        rgba(91, 163, 245, 0.1) 100%);
    z-index: 2;
}

.moody-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
    width: 100%;
}

.moody-text-container {
    animation: fadeInScale 1.5s ease-out;
}

/* Custom Typography for Moody Gardens */
.moody-hero-title {
    margin-bottom: 2rem;
}

.moody-title-top {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 18vw, 14rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 0.9;
    color: #2C3E50;
    text-transform: uppercase;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.1),
        4px 4px 8px rgba(0,0,0,0.05),
        6px 6px 12px rgba(0,0,0,0.03);
    animation: slideInFromLeft 1.2s ease-out;
}

.moody-title-bottom {
    display: block;
    font-family: 'Italiana', serif;
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 400;
    color: #4A90E2;
    text-transform: capitalize;
    letter-spacing: 0.1em;
    margin-top: -1rem;
    text-shadow: 
        1px 1px 2px rgba(0,0,0,0.1),
        2px 2px 4px rgba(74, 144, 226, 0.1);
    animation: slideInFromRight 1.2s ease-out 0.2s;
    animation-fill-mode: both;
}

.moody-hero-divider {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #4A90E2, 
        transparent);
    margin: 2rem auto;
    position: relative;
    animation: expandWidth 1.5s ease-out 0.5s;
    animation-fill-mode: both;
}

.moody-hero-divider::before,
.moody-hero-divider::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #4A90E2;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.moody-hero-divider::before {
    left: -3px;
}

.moody-hero-divider::after {
    right: -3px;
}

.moody-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: #6C757D;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    animation: fadeIn 1.5s ease-out 0.8s;
    animation-fill-mode: both;
}

.moody-pyramids-inline {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s ease-out 1s;
    animation-fill-mode: both;
}

.pyramid-inline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.pyramid-inline-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.pyramid-inline-item i {
    font-size: 2.5rem;
    color: #4A90E2;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    width: 80px;
    height: 80px;
    border-radius: 25% 75% 75% 25% / 75% 25% 75% 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 20px rgba(74, 144, 226, 0.2),
        inset 0 2px 10px rgba(255,255,255,0.5);
    animation: float 3s ease-in-out infinite;
}

.pyramid-inline-item:nth-child(2) i {
    animation-delay: 1s;
}

.pyramid-inline-item:nth-child(3) i {
    animation-delay: 2s;
}

.pyramid-inline-item span {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2C3E50;
}

.btn-moody-explore {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    background: linear-gradient(135deg, #4A90E2, #5BA3F5);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
    animation: fadeInUp 1.5s ease-out 1.2s;
    animation-fill-mode: both;
}

.btn-moody-explore::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-moody-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5);
}

.btn-moody-explore:hover::before {
    width: 300px;
    height: 300px;
}

.btn-moody-explore i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-moody-explore:hover i {
    transform: translateX(5px);
}

/* Animations for Moody Gardens Section */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 150px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    75% {
        transform: translateY(4px) rotate(-1deg);
    }
}

/* Experiences Section */
.experiences-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--sand-color) 100%);
}

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

.experience-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

.experience-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.experience-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Active Navigation State */
.nav-menu a.active {
    color: var(--primary-blue);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
}

/* Responsive Design for Attractions */
@media (max-width: 768px) {
    .hero-title-styled {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle-styled {
        font-size: 1.5rem;
    }
    
    .section-title-fancy {
        font-size: 2.5rem;
    }
    
    .section-title-fancy::before,
    .section-title-fancy::after {
        display: none;
    }
    
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .attraction-title {
        font-size: 1.5rem;
    }
    
    .experiences-grid {
        grid-template-columns: 1fr;
    }
    
    .moody-pyramids {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pyramid-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }
    
    /* Moody Gardens Hero Responsive */
    .moody-title-top {
        font-size: clamp(4rem, 15vw, 8rem);
    }
    
    .moody-title-bottom {
        font-size: clamp(3rem, 10vw, 6rem);
    }
    
    .moody-pyramids-inline {
        flex-direction: column;
        align-items: center;
    }
    
    .pyramid-inline-item i {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-title-styled {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-styled {
        font-size: 1.2rem;
    }
    
    .attraction-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}