/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-green: #2E8B57;
    --light-green: #E8F5E9;
    --medium-green: #4CAF50;
    --dark-green: #1B5E20;
    --accent-gold: #FFD700;
    --text-dark: #333333;
    --text-light: #555555;
    --white: #FFFFFF;
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.3s ease;
}

body {
    background-color: var(--light-green);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeInBody 2s ease forwards;
}

@keyframes fadeInBody {
    to { opacity: 1; }
}

/* ===== FLOATING ELEMENTS ===== */
.floating-element {
    position: fixed;
    z-index: -1;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 70%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    animation-delay: 5s;
}

.floating-element:nth-child(3) {
    top: 30%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--medium-green) 0%, transparent 70%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* ===== MUSIC CONTROLS ===== */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.music-control:hover {
    transform: scale(1.1);
    background-color: var(--dark-green);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 15px rgba(46, 139, 87, 0.4); }
    50% { box-shadow: 0 5px 25px rgba(46, 139, 87, 0.8); }
}

/* ===== PDF CONTROLS ===== */
.pdf-control {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.pdf-control:hover {
    transform: scale(1.1);
    background-color: #b71c1c;
}

.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.pdf-modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.pdf-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.pdf-option-btn {
    padding: 1rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.pdf-option-btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
}

.close-modal {
    background-color: #ccc;
    color: #333;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background-color: #aaa;
}

/* ===== NAVIGATION ===== */
.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0 5%;
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    animation: slideDown 1s 0.5s ease forwards;
}

@keyframes slideDown {
    to { transform: translateY(0); }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-green);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInLeft 1s 1s ease forwards;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.logo i {
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu li {
    opacity: 0;
    animation: fadeInRight 0.5s ease forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 1.2s; }
.nav-menu li:nth-child(2) { animation-delay: 1.4s; }
.nav-menu li:nth-child(3) { animation-delay: 1.6s; }

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu li a:hover {
    color: var(--primary-green);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-green);
    bottom: 0;
    left: 0;
    transition: width var(--transition-slow);
    border-radius: 2px;
}

.nav-menu li a.active {
    color: var(--primary-green);
}

.nav-menu li a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-green);
}

/* ===== PAGE CONTAINER ===== */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
}

.page {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    flex: 1;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ===== PAGE 1: HOME ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 0;
}

.hero-image-container {
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 500px;
    margin-bottom: 2.5rem;
    position: relative;
    transform: scale(0.9);
    animation: zoomIn 1.5s 1s ease forwards;
}

@keyframes zoomIn {
    to { transform: scale(1); }
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
    transition: transform 8s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-text {
    max-width: 800px;
    margin: 2rem auto 0;
    opacity: 0;
    animation: fadeInUp 1s 1.5s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text h1 {
    font-size: 3.2rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== PAGE 2: LIVING WITH SEASONS ===== */
.seasons-intro {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.seasons-intro h1 {
    font-size: 2.8rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.seasons-intro h2 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-weight: 400;
}

.seasons-intro p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.season-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.season-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    cursor: pointer;
}

.season-card.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.season-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.season-img-container {
    height: 280px;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.season-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.1));
}

.season-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}

.season-card:hover .season-img {
    transform: scale(1.08);
}

.season-content {
    padding: 1.8rem;
}

.season-content h3 {
    font-size: 1.6rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.season-content h3 i {
    color: var(--accent-gold);
}

.season-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== PAGE 3: MODERN LIFE & TCM ===== */
.modern-life {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.modern-life-header {
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.modern-life-header h1 {
    font-size: 2.8rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.modern-life-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.modern-life-img-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 1s ease forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

.modern-life-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.modern-life-img-container:hover .modern-life-img {
    transform: scale(1.05);
}

.modern-life-text {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}

.modern-life-text h2 {
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
}

.modern-life-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.resources, .tcm-approach, .personalized {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.resources { animation-delay: 0.2s; }
.tcm-approach { animation-delay: 0.4s; }
.personalized { animation-delay: 0.6s; }

.resources h2, .tcm-approach h2, .personalized h2 {
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resources h2 i, .tcm-approach h2 i, .personalized h2 i {
    color: var(--primary-green);
}

.link-list {
    list-style: none;
    margin-top: 1.5rem;
}

.link-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInListItem 0.5s ease forwards;
}

.link-list li:nth-child(1) { animation-delay: 0.8s; }
.link-list li:nth-child(2) { animation-delay: 1s; }

@keyframes slideInListItem {
    to { opacity: 1; transform: translateX(0); }
}

.link-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.link-list li:hover:before {
    transform: translateX(5px);
}

.link-list a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.link-list a:hover {
    color: var(--dark-green);
    border-bottom: 1px solid var(--dark-green);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-green);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
    margin-top: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

footer p:last-child {
    margin-bottom: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-image-container {
        max-width: 1000px;
    }
    
    .hero-image {
        max-height: 500px;
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .seasons-intro h1, .modern-life-header h1 {
        font-size: 2.3rem;
    }
    
    .hero-image {
        max-height: 450px;
    }
    
    .season-img-container {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform var(--transition-slow), opacity var(--transition-slow);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-image-container {
        min-height: 400px;
    }
    
    .hero-image {
        max-height: 400px;
    }
    
    .seasons-intro h1, .modern-life-header h1 {
        font-size: 2rem;
    }
    
    .season-img-container {
        height: 220px;
    }
    
    .modern-life-img-container {
        height: 350px;
    }
    
    .pdf-control {
        bottom: 100px;
        right: 20px;
    }
    
    .music-control {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-image-container {
        min-height: 300px;
    }
    
    .hero-image {
        max-height: 300px;
    }
    
    .seasons-intro h1, .modern-life-header h1 {
        font-size: 1.7rem;
    }
    
    .season-card, .modern-life-text, .resources, .tcm-approach, .personalized {
        padding: 1.5rem;
    }
    
    .season-img-container {
        height: 200px;
    }
    
    .modern-life-img-container {
        height: 300px;
    }
    
    .pdf-control, .music-control {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .pdf-control {
        bottom: 90px;
        right: 15px;
    }
    
    .music-control {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 400px) {
    .hero-image-container {
        min-height: 250px;
    }
    
    .hero-image {
        max-height: 250px;
    }
    
    .season-img-container {
        height: 180px;
    }
    
    .modern-life-img-container {
        height: 250px;
    }
}