/* ========================================
   RepareToNtel - Minimal CSS
   Colors: Blue #4782C4, Green #57AF35, Orange #F08918
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: #4782C4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2d5a8a;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

/* ===== Header & Navigation ===== */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header__logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4782C4;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: #333;
}

.nav__link:hover {
    color: #4782C4;
}

/* Language Selector */
.language-selector {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

/* Menu Button (Mobile) */
.menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #4782C4 0%, #5a9bd4 100%);
    color: #fff;
}

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.hero__cta {
    margin: 2rem 0;
}

.hero__trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-weight: 500;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--primary {
    background: #4782C4;
    color: #fff;
}

.btn--primary:hover {
    background: #2d5a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 130, 196, 0.3);
}

.btn--secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn--secondary:hover {
    background: #eee;
    border-color: #4782C4;
    color: #4782C4;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn--full {
    width: 100%;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #4782C4;
    box-shadow: 0 0 0 3px rgba(71, 130, 196, 0.1);
}

/* ===== Grid & Layouts ===== */
.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===== Sections ===== */
.page-hero {
    padding: 3rem 0;
    text-align: center;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.page-hero h1 {
    color: #333;
}

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

.content-section--secondary {
    background: #f9f9f9;
}

.cta-section {
    padding: 3rem 0;
    text-align: center;
    background: linear-gradient(135deg, #4782C4 0%, #5a9bd4 100%);
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

/* ===== Steps ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    text-align: center;
}

.step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #4782C4;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* ===== Cards ===== */
.post-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.post-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card__title {
    padding: 1.5rem 1.5rem 0;
}

.post-card__title a {
    color: #333;
}

.post-card__title a:hover {
    color: #4782C4;
}

.post-card__excerpt {
    padding: 0 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.post-card__link {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    color: #4782C4;
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer__col h3,
.footer__col h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer__col ul {
    list-style: none;
}

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

.footer__col a {
    color: #ccc;
}

.footer__col a:hover {
    color: #4782C4;
}

.footer__col--cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* ===== Utilities ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.alert--error {
    background: #ffe0e0;
    color: #c00;
    border: 1px solid #ffb0b0;
}

.badge {
    display: inline-block;
    background: #4782C4;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    color: #4782C4;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ===== Main Content ===== */
.main {
    flex: 1;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav__list {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .nav.active .nav__list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 1rem;
        gap: 1rem;
    }
    
    .hero__content h1 {
        font-size: 2rem;
    }
    
    .hero__trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .btn {
        display: block;
        text-align: center;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
}
