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

:root {
    --primary-color: #4A90E2;
    --secondary-color: #66BB6A;
    --accent-color: #FFA726;
    --dark-bg: #1a1a2e;
    --light-bg: #f5f7fa;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #357ABD 100%);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo, .logo-placeholder {
    width: 60px;
    height: 60px;
}

.logo-placeholder svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem;
}

.nav a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    padding: 4rem 0 6rem;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.motto {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease;
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 2rem auto;
    animation: fadeIn 1.2s ease;
}

.slider {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-google-play {
    background: #000;
    color: white;
}

.btn-app-store {
    background: #000;
    color: white;
}

.btn svg {
    width: 32px;
    height: 32px;
}

.btn > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-box {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.about-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.about-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-box p {
    color: #666;
    line-height: 1.8;
}

/* Climate Change Section */
.climate-change {
    padding: 5rem 0;
    background: var(--light-bg);
}

.climate-change h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.climate-content {
    max-width: 900px;
    margin: 0 auto;
}

.climate-details {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

.climate-details:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.climate-summary {
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    transition: var(--transition);
    background: linear-gradient(to right, transparent, rgba(74, 144, 226, 0.05));
    display: flex;
    align-items: center;
}

.climate-summary::-webkit-details-marker {
    display: none;
}

.climate-summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.climate-details[open] .climate-summary::before {
    transform: rotate(90deg);
}

.climate-summary:hover {
    background: linear-gradient(to right, transparent, rgba(74, 144, 226, 0.1));
    padding-left: 2.5rem;
}

.climate-details-content {
    padding: 0 2rem 2rem 2rem;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.climate-details-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.climate-figure {
    margin: 2rem 0;
    text-align: center;
}

.climate-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.climate-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.climate-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.climate-sources {
    list-style: none;
    padding: 0;
}

.climate-sources li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.climate-sources li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.climate-sources a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.6;
}

.climate-sources a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Timeline Section */
.timeline {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
}

.timeline h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
    animation: fadeInLeft 0.6s ease;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary-color);
    z-index: 1;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.timeline-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

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

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .motto {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .slider {
        height: 500px;
    }

    .nav {
        gap: 1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .timeline-container::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 5px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .climate-summary {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }

    .climate-details-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .climate-image {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .logo-section h1 {
        font-size: 1.3rem;
    }

    .logo, .logo-placeholder {
        width: 45px;
        height: 45px;
    }

    .motto {
        font-size: 2rem;
    }

    .slider {
        height: 450px;
    }

    .about h2,
    .timeline h2 {
        font-size: 2rem;
    }

    .climate-change h2 {
        font-size: 2rem;
    }

    .climate-summary {
        font-size: 1rem;
        padding: 1rem;
    }

    .climate-summary::before {
        margin-right: 0.5rem;
    }

    .climate-details-content {
        padding: 0 1rem 1rem 1rem;
    }

    .climate-sources li {
        padding-left: 1rem;
        font-size: 0.9rem;
    }
}
