/* 
* Axima Website - Pastel Rainbow Theme
* A monster taming RPG website
*/

/* ===== VARIABLES ===== */
:root {
    /* Pastel Rainbow Colors */
    --pastel-red: #ffb3ba;
    --pastel-orange: #ffdfba;
    --pastel-yellow: #ffffba;
    --pastel-green: #baffc9;
    --pastel-blue: #bae1ff;
    --pastel-purple: #e2baff;
    
    /* Main Colors */
    --primary-color: var(--pastel-purple);
    --secondary-color: var(--pastel-blue);
    --accent-color: var(--pastel-green);
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #1a1a2e;
    
    /* Font Sizes */
    --h1-size: 3.5rem;
    --h2-size: 2.5rem;
    --h3-size: 2rem;
    --h4-size: 1.5rem;
    --body-size: 1rem;
    --small-size: 0.875rem;
    
    /* Other */
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: var(--body-size);
    line-height: 1.6;
    color: var(--text-color);
    background: #f8f8f8;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

section {
    padding: 100px 0;
}

/* Background Images with Parallax Effect */
.bg-section-1 {
    background: url('../assets/images/bg-section1.png') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.bg-section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 0;
}

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

.bg-section-2 {
    background: url('../assets/images/bg-section1.png') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.bg-section-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 0;
}

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

/* Regular section backgrounds for those without special backgrounds */
section:not(.hero):not(.bg-section-1):not(.bg-section-2):not(.newsletter):not(.footer) {
    position: relative;
}

section:not(.hero):not(.bg-section-1):not(.bg-section-2):not(.newsletter):not(.footer)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

section:not(.hero):not(.bg-section-1):not(.bg-section-2):not(.newsletter):not(.footer) .container {
    position: relative;
    z-index: 1;
}

/* Different background images for each section */
.gallery {
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-blue));
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

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

.news {
    background: url('../assets/images/bg-section1.png') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 0;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: var(--h2-size);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    background: linear-gradient(to right, var(--pastel-red), var(--pastel-orange), var(--pastel-yellow), var(--pastel-green), var(--pastel-blue), var(--pastel-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--pastel-red), var(--pastel-orange), var(--pastel-yellow), var(--pastel-green), var(--pastel-blue), var(--pastel-purple));
    margin: 0 auto;
    border-radius: 2px;
}

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

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

.btn-primary:hover {
    background-color: #d1a1ff;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
    background-color: #a1c6ff;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.15);
}

/* Glowing Wishlist Button */
.btn-wishlist {
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-blue), var(--pastel-green));
    color: var(--text-color);
    font-weight: 600;
    border-radius: 30px;
    padding: 14px 34px;
    box-shadow: 0 8px 25px rgba(226, 186, 255, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-wishlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-blue), var(--pastel-green));
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0.8;
}

.glow-button {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 5px 20px rgba(226, 186, 255, 0.5);
    }
    100% {
        box-shadow: 0 8px 30px rgba(186, 225, 255, 0.8);
    }
}

.btn-wishlist:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(226, 186, 255, 0.7);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: var(--light-text);
}

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

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slowed video playback */
.slowed-video {
    animation: slowMotion 1s forwards;
}

@keyframes slowMotion {
    to {
        animation-play-state: running;
    }
}

/* JavaScript will set the playback rate */
video.slowed-video {
    animation: none;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    background: linear-gradient(to right, var(--pastel-red), var(--pastel-orange), var(--pastel-yellow), var(--pastel-green), var(--pastel-blue), var(--pastel-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--pastel-red), var(--pastel-orange), var(--pastel-yellow), var(--pastel-green), var(--pastel-blue), var(--pastel-purple));
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--pastel-yellow);
    transform: translateY(-3px);
}

/* Custom Bluesky Icon */
.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make the icon white */
    transition: var(--transition);
}

.social-links a:hover .social-icon {
    filter: brightness(1) invert(0); /* Return to original color on hover */
    transform: translateY(-3px);
}

.bsky-icon {
    margin-top: 4px; /* Increased from 2px to 4px to move it down slightly */
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    padding: 0 20px;
    margin-top: 20px;
}

/* Animated Logo */
.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 300px;
}

.animated-logo {
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    font-size: var(--h1-size);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: var(--light-text);
    animation: bounce 2s infinite;
}

.scroll-down p {
    margin-bottom: 10px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: url('../assets/images/bg-section1.png') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 0;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-video {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 350px;
}

.about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h3 {
    font-size: var(--h3-size);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.about-features .feature {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-features .feature-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-features .feature i,
.about-features .feature .feature-img {
    margin-bottom: 15px;
}

.about-features .feature i {
    font-size: 2rem;
    color: var(--pastel-yellow);
}

.about-features .feature .feature-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.about-features .feature h4 {
    font-size: var(--h4-size);
    margin-bottom: 10px;
    color: var(--light-text);
}

.about-features .feature p {
    color: var(--light-text);
}

/* ===== FEATURES OVERVIEW SECTION ===== */
.features-overview {
    text-align: center;
    background: #ffffff;
    padding-bottom: 0;
}

.features-overview-content {
    max-width: 800px;
    margin: 0 auto;
}

.features-intro {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-blue));
    position: relative;
    padding-top: 30px;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    border-image: linear-gradient(to right, var(--pastel-purple), var(--pastel-blue), var(--pastel-green), var(--pastel-yellow), var(--pastel-orange), var(--pastel-red)) 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: inset 0 3px 15px rgba(0, 0, 0, 0.4), 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--pastel-purple), var(--pastel-blue), var(--pastel-green), var(--pastel-yellow), var(--pastel-orange), var(--pastel-red));
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-blue));
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.feature-card p {
    color: var(--light-text);
}

/* ===== GALLERY SECTION - CAROUSEL ===== */
.gallery-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.gallery-text {
    padding-right: 20px;
}

.gallery-text h3 {
    font-size: var(--h3-size);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.gallery-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 400px;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.carousel-slide {
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    height: 100%;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.carousel-prev, .carousel-next {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    margin: 0 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-prev:hover, .carousel-next:hover {
    color: var(--text-color);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
    transform: scale(1.2);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow: auto;
    justify-content: center;
    align-items: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--light-text);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content {
    display: block;
    max-width: 80%;
    max-height: 80%;
    box-shadow: 0 5px 45px rgba(0, 0, 0, 0.5);
}

/* ===== NEWS SECTION ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: rgba(0, 0, 0, 0.85);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: var(--transition);
    padding: 25px;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: inset 0 3px 15px rgba(0, 0, 0, 0.4), 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 0;
}

.news-date {
    font-size: var(--small-size);
    color: #666;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-content p {
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
}

.read-more:hover {
    color: #a863fc;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-blue));
    padding: 80px 0;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

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

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    border-image: linear-gradient(to right, var(--pastel-purple), var(--pastel-blue), var(--pastel-green), var(--pastel-yellow), var(--pastel-orange), var(--pastel-red)) 1;
}

.newsletter h2 {
    color: var(--light-text);
    font-size: var(--h2-size);
    margin-bottom: 20px;
}

.newsletter h2 span {
    background: linear-gradient(to right, var(--pastel-red), var(--pastel-orange), var(--pastel-yellow), var(--pastel-green), var(--pastel-blue), var(--pastel-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.newsletter p {
    color: var(--light-text);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.9);
}

/* ===== WISHLIST BANNER SECTION ===== */
.wishlist-banner {
    background: #121212;
    padding: 0;
    text-align: center;
    width: 100%;
}

.wishlist-banner .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.wishlist-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--pastel-red), var(--pastel-orange), var(--pastel-yellow), var(--pastel-green), var(--pastel-blue), var(--pastel-purple));
    border-radius: 2px;
}

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

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

.footer-links ul li a:hover {
    color: var(--pastel-yellow);
    padding-left: 5px;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    transition: var(--transition);
}

.footer-social .social-icons a:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: var(--dark-bg);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    :root {
        --h1-size: 3rem;
        --h2-size: 2.2rem;
        --h3-size: 1.8rem;
    }
    
    .about-content, .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .about-video {
        margin-bottom: 30px;
    }
    
    .gallery-text {
        order: 2;
        padding-right: 0;
    }
    
    .carousel-container {
        order: 1;
        margin-bottom: 30px;
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 2rem;
        --h3-size: 1.5rem;
    }
    
    .carousel-container {
        height: 250px;
    }
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.95);
        padding: 20px;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        z-index: 1000;
    }
}

/* Text color fixes for better readability */
.about-text h3, 
.about-text p,
.gallery-text h3,
.gallery-text p,
.features-intro,
.section-header h2:not(.newsletter h2):not(.footer h2) {
    color: var(--light-text);
}

.section-header h2 span {
    color: var(--pastel-yellow);
}

/* News card text styling */
.news-card h3,
.news-card p,
.news-content .read-more {
    color: var(--light-text);
}

/* Make news cards more readable */
.news-card {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.news-content .news-date {
    color: var(--pastel-yellow);
}

/* Ensure good contrast in gallery carousel controls */
.carousel-prev, .carousel-next {
    color: var(--light-text);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.carousel-indicator {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Article Modal */
.article-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-modal.show {
    opacity: 1;
    display: block;
}

.article-modal-content {
    background: rgba(0, 0, 0, 0.85);
    margin: 5% auto;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 80%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    border-image: linear-gradient(to right, var(--pastel-purple), var(--pastel-blue), var(--pastel-green), var(--pastel-yellow), var(--pastel-orange), var(--pastel-red)) 1;
}

.article-modal.show .article-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.article-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--light-text);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.article-close:hover {
    color: var(--pastel-yellow);
    transform: rotate(90deg);
}

.article-date {
    color: var(--pastel-yellow);
    font-size: var(--small-size);
    margin-bottom: 15px;
}

.article-modal-content h2 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-body {
    color: var(--light-text);
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 15px;
}

/* Rainbow text effect */
.rainbow-text,
.section-header h2,
.news-content h3,
.gallery-title,
.about-text h3,
.nav-links a.active,
.about .section-header h2,
.gallery .section-header h2,
.news .section-header h2,
h2 span {
    background: linear-gradient(to right, var(--pastel-red), var(--pastel-orange), var(--pastel-yellow), var(--pastel-green), var(--pastel-blue), var(--pastel-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
} 