/* 
 * RESFORMA CLEAN DESIGN
 * Custom CSS following Resforma Design Guidelines v1.0
 * Minimalistic, Technical, Professional
 */

/* ============================
   RESET & BASE
   ============================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111111;
    background: #FFFFFF;
}

/* ============================
   TYPOGRAPHY
   ============================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 600;
    color: #2A3F68;
    margin-bottom: 1rem;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 20px;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2A3F68;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #4EAABC;
}

/* ============================
   LAYOUT
   ============================ */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================
   HEADER
   ============================ */

.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid #D9D9D9;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #2A3F68;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: #4EAABC;
    border-bottom-color: #4EAABC;
}

/* ============================
   HERO SECTION
   ============================ */

.hero {
    background: #2A3F68;
    color: #FFFFFF;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-logo {
    max-height: 200px;
    max-width: 100%;
    width: auto;
    height: auto;
}

.hero-tagline {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin: 0;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-hero {
    background: #FFFFFF;
    color: #2A3F68;
    font-weight: 700;
    font-size: 14px;
    padding: 0.65rem 1.75rem;
}

.btn-hero:hover {
    background: #4EAABC;
    color: #FFFFFF;
}

.btn-hero-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-weight: 500;
    font-size: 14px;
    padding: 0.65rem 1.75rem;
}

.btn-hero-outline:hover {
    border-color: rgba(255, 255, 255, 0.8);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
}

/* ============================
   SECTIONS
   ============================ */

section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: #f8f8f8;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.section-text h2 {
    margin-bottom: 1.5rem;
}

.section-text p {
    color: #111111;
    margin-bottom: 1.5rem;
}

.section-image {
    width: 100%;
    aspect-ratio: 920 / 610;
    border-radius: 4px;
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Reverse layout for alternating sections */
section:nth-child(odd) .section-content {
    direction: ltr;
}

section:nth-child(even) .section-content {
    direction: rtl;
}

section:nth-child(even) .section-text,
section:nth-child(even) .section-image {
    direction: ltr;
}

/* ============================
   FEATURES GRID
   ============================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 2rem;
    transition: box-shadow 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2A3F68;
}

.feature-card p {
    color: #666666;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #2A3F68;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    margin-bottom: 1rem;
}

/* ============================
   BUTTONS
   ============================ */

.btn {
    display: inline-block;
    background: #2A3F68;
    color: #FFFFFF;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background: #4EAABC;
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #2A3F68;
    color: #2A3F68;
}

.btn-secondary:hover {
    background: #4EAABC;
    border-color: #4EAABC;
    color: #FFFFFF;
}

/* ============================
   CONTACT SECTION
   ============================ */

.contact-section {
    background: #2A3F68;
    color: #FFFFFF;
    padding: 5rem 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-header h2 {
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.contact-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto;
}

.contact-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 14px;
    color: #2A3F68;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    color: #111111;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4EAABC;
    box-shadow: 0 0 0 3px rgba(78, 170, 188, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #AAAAAA;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-contact {
    padding: 0.75rem 2.5rem;
    font-size: 15px;
}

/* Honeypot */
.hp-field {
    display: none;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
    text-align: center;
    color: #2A3F68;
}

.form-success span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #4EAABC;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
}

.form-success p {
    color: #2A3F68;
    font-size: 16px;
    margin: 0;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
    background: #1a2a42;
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0 0;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand .footer-logo {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
.site-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.site-footer .footer-bottom a:hover {
    color: #FFFFFF !important;
    filter: none;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-content,
    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-nav {
        justify-content: flex-start;
        gap: 1rem;
    }

    section:nth-child(even) .section-content {
        direction: ltr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    section {
        padding: 3rem 0;
    }
}
