/* ====================================================================
   RESET & BASE STYLES
   ==================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* ====================================================================
   TYPOGRAPHY
   ==================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

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

p {
    margin-bottom: 1rem;
}

/* ====================================================================
   LAYOUT
   ==================================================================== */

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

/* ====================================================================
   HEADER & NAVIGATION
   ==================================================================== */

header {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    padding: 1rem 0;
}

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

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

.logo:hover {
    color: #2563eb;
}

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

.nav-menu a {
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* ====================================================================
   HERO SECTION
   ==================================================================== */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ====================================================================
   PAGE HEADER
   ==================================================================== */

.page-header {
    background-color: #f9fafb;
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* ====================================================================
   CONTENT SECTIONS
   ==================================================================== */

.intro,
.content-section,
.info-section,
.services-intro,
.services-grid-section,
.visual-section,
.contact-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.text-content h2 {
    margin-bottom: 1.5rem;
}

.text-content p {
    color: #4b5563;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.image-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ====================================================================
   FEATURES
   ==================================================================== */

.features {
    background-color: #f9fafb;
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* ====================================================================
   INFO GRID
   ==================================================================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.info-card h3 {
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* ====================================================================
   SERVICES GRID
   ==================================================================== */

.services-grid-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* ====================================================================
   NOTICE
   ==================================================================== */

.notice {
    background-color: #fef3c7;
    border-top: 1px solid #fcd34d;
    border-bottom: 1px solid #fcd34d;
    padding: 2rem 0;
}

.notice-text {
    text-align: center;
    color: #92400e;
    font-size: 0.9375rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* ====================================================================
   CONTACT
   ==================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.contact-item p {
    color: #4b5563;
    line-height: 1.6;
}

/* ====================================================================
   FORM STYLES
   ==================================================================== */

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

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-button {
    padding: 0.875rem 2rem;
    background-color: #2563eb;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.submit-button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* ====================================================================
   LEGAL CONTENT
   ==================================================================== */

.legal-content {
    padding: 3rem 0;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-text p {
    color: #4b5563;
    line-height: 1.7;
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
    color: #4b5563;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
}

/* ====================================================================
   FOOTER
   ==================================================================== */

footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #9ca3af;
}

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

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

.footer-section a {
    color: #d1d5db;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ====================================================================
   RESPONSIVE DESIGN
   ==================================================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .hero-text {
        font-size: 1.125rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .content-grid,
    .content-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

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

    .info-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

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

    .hero {
        padding: 3rem 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-header {
        padding: 3rem 0 2rem;
    }

    .intro,
    .content-section,
    .info-section,
    .services-intro,
    .services-grid-section,
    .visual-section,
    .contact-section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

    .feature-card,
    .service-card,
    .info-card {
        padding: 1.5rem;
    }
}
