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

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header and Navigation */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

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

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #4a9eff;
    outline: 2px solid #4a9eff;
    outline-offset: 4px;
}

.nav-menu a.active {
    color: #4a9eff;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Notice Section */
.notice {
    background-color: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-notice {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

/* Page Header */
.page-header {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.25rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.page-header .lead {
    font-size: 1.15rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.text-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.text-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.text-content p {
    margin-bottom: 1rem;
    color: #555;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-block img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.content-block h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.content-block p {
    color: #555;
}

/* Image Blocks */
.image-block {
    margin: 3rem 0;
}

.image-block img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.image-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.feature-card h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #555;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.info-block p {
    color: #555;
}

/* Contact Form */
.contact-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #4a9eff;
    border-color: #4a9eff;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #555;
}

.legal-notice {
    margin-top: 3rem;
    padding: 1rem;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

/* CTA Section */
.cta-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #4a9eff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover,
.btn:focus {
    background-color: #3385e6;
    outline: 2px solid #3385e6;
    outline-offset: 2px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #4a9eff;
    outline: 2px solid #4a9eff;
    outline-offset: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .hero .lead {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 1.85rem;
    }

    .grid,
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

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

    .hero .lead {
        font-size: 1rem;
    }

    .content-block h2,
    .feature-card h2 {
        font-size: 1.25rem;
    }
}

@media (min-width: 360px) {
    .container {
        padding: 0 16px;
    }
}
