/* Global Styles */
:root {
    --primary-color: #8B5A9B;
    --secondary-color: #D4A5D4;
    --accent-color: #6A4C93;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F9F7FA;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Top */
.header-top {
    background: var(--text-dark);
    border-bottom: 1px solid #E8E8E8;
    font-size: 0.9rem;
}

.phone-number {
    color: var(--primary-color);
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-text {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 15px;
}

.nav-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.btn-booking {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 90, 155, 0.3);
}

.btn-booking:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 155, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/b42e1c2cfd0a4dba9d7e3ac3692b58a5.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    padding: 100px 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-hero {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mission Section */
.mission-section {
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: var(--white);
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-wrapper img {
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.text-accent {
    color: var(--accent-color);
    font-weight: 600;
}

.content-text {
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: justify;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 90, 155, 0.3);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 155, 0.4);
}

/* Challenge Section */
.challenge-section {
    background: var(--bg-light);
}

.challenge-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.book-image-wrapper {
    padding: 20px;
}

.book-cover {
    max-width: 350px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Registration Section */
.registration-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.registration-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    color: var(--text-dark);
}

.form-control {
    border-radius: 10px;
    padding: 12px 20px;
    border: 2px solid #E8E8E8;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 90, 155, 0.25);
}

.btn-checkout {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 50px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 90, 155, 0.4);
}

.btn-checkout:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 90, 155, 0.5);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--white);
}

.newsletter-card {
    padding: 30px;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-info {
    padding: 30px;
}

.contact-item {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-icons-large {
    display: flex;
    gap: 20px;
}

.social-link-large {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link-large:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .registration-card {
        padding: 30px 20px;
    }
    
    .section-title::after {
        width: 60px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
img {
    opacity: 0;
    animation: imageLoad 0.5s ease-in forwards;
}

@keyframes imageLoad {
    to {
        opacity: 1;
    }
}
