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

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    /* Watercolor-inspired color palette */
    --primary-color: #5B8A9D;
    --secondary-color: #C98686;
    --accent-color: #E8B298;
    --light-blue: #A8CEDC;
    --soft-pink: #EAC7C7;
    --soft-yellow: #F4E4C1;
    --text-dark: #2C3E50;
    --text-light: #6C7A89;
    --white: #FFFFFF;
    --paper: #FFFEF9;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(91, 138, 157, 0.15);
    --shadow-medium: 0 8px 30px rgba(91, 138, 157, 0.2);
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background-color: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--soft-pink) 50%, var(--soft-yellow) 100%);
    overflow: hidden;
}

.watercolor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(168, 206, 220, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(234, 199, 199, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(244, 228, 193, 0.4) 0%, transparent 50%);
    animation: watercolorFlow 20s ease-in-out infinite;
}

@keyframes watercolorFlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.watercolor-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 2rem auto;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: block;
    width: fit-content;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

/* Watercolor Blobs */
.watercolor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
    animation: float 15s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--light-blue);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--soft-pink);
    bottom: -100px;
    right: -100px;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Content Cards */
.content-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(91, 138, 157, 0.25);
}

.card-icon {
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.youtube-card .card-icon {
    color: #FF0000;
}

.instagram-card .card-icon {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.card-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.card-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

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

.stat-icon {
    font-size: 2rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* YouTube Section */
.youtube-section {
    background: linear-gradient(to bottom, var(--paper), var(--white));
    position: relative;
}

/* Instagram Section */
.instagram-section {
    background: linear-gradient(to bottom, var(--white), var(--paper));
    position: relative;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.youtube-button {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: var(--white);
}

.youtube-button:hover {
    background: linear-gradient(135deg, #CC0000, #990000);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 0, 0, 0.3);
}

.instagram-button {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    color: var(--white);
}

.instagram-button:hover {
    background: linear-gradient(135deg, #C13584, #833AB4, #5851DB);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(225, 48, 108, 0.3);
}

/* Contact Section */
.contact-section {
    background: var(--white);
    text-align: center;
    padding: 80px 0;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.social-link {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all 0.4s ease;
}

.social-link.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: var(--white);
}

.social-link.youtube:hover::after {
    border-color: #FF0000;
    transform: scale(1.2);
}

.social-link.instagram {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    color: var(--white);
}

.social-link.instagram:hover::after {
    border-color: #E1306C;
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(5deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
}

.footer-credit {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.9;
}

.footer-credit a {
    color: var(--soft-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 2.5rem 1.5rem;
        max-width: 90%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .scroll-indicator {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

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

    .content-card {
        padding: 2.5rem 2rem;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .card-description {
        font-size: 1rem;
    }

    .card-stats {
        gap: 1.5rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-text {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 2rem;
    }

    .social-link {
        width: 70px;
        height: 70px;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

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

    .hero-content {
        padding: 2rem 1.2rem;
        max-width: 95%;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .watercolor-divider {
        width: 100px;
    }

    .scroll-indicator {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .content-card {
        padding: 2rem 1.5rem;
    }

    .card-icon svg {
        width: 60px;
        height: 60px;
    }

    .card-title {
        font-size: 1.4rem;
    }

    .card-stats {
        gap: 1rem;
    }

    .stat-icon {
        font-size: 1.3rem;
    }

    .stat-text {
        font-size: 0.8rem;
    }

    .social-link {
        width: 60px;
        height: 60px;
    }

    .social-link svg {
        width: 28px;
        height: 28px;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }

    .cta-button svg {
        width: 20px;
        height: 20px;
        margin-right: 8px !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .hero,
    .scroll-indicator,
    .cta-button,
    .social-links {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}