/* Variables */
:root {
    --primary-color: #1a73a7;
    --text-dark: #333;
    --text-gray: #666;
    --light-bg: #f8f8f8;
    --white: #fff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--white);
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
}

/* Achievement Section */
.achievement {
    background: var(--light-bg);
    padding: 5rem 0;
    text-align: center;
}

.achievement h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.achievement-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.ranking-images {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.ranking-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ranking-img:hover {
    transform: scale(1.05);
}

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

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.social-link {
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 2px solid var(--text-dark);
    padding: 0.5rem 1rem;
    padding-bottom: 2px;
    transition: all 0.3s;
    display: inline-block;
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.email {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.contact-form-button {
    display: inline-block;
    font-size: 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    border: 2px solid var(--text-dark);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 500;
}

.contact-form-button:hover {
    background-color: var(--text-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Iframe Container */
.iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .achievement h2 {
        font-size: 2rem;
    }
    
    .achievement-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .ranking-images {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .ranking-img {
        max-width: 280px;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .iframe-container {
        margin: 1rem 0;
    }
}