/* ==========================================
   GLOBAL STYLES
   ========================================== */

:root {
    --primary: #000;
    --accent: #ff6b6b;
    --accent-dark: #ee5a52;
    --text: #1a1a1a;
    --text-light: #666;
    --bg: #ffffff;
    --bg-light: #f8f8f8;
    --border: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.container-lg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container-lg {
        padding: 0 20px;
    }
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
}

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

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }
}

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

.hero {
    padding: 120px 0 100px;
    background: var(--bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 400;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-block;
    padding: 14px 40px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

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

section {
    scroll-margin-top: 80px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -1px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services {
    padding: 100px 0;
    background: var(--bg);
}

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

.service-item {
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */

.why-choose {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.benefit-item {
    padding: 0;
}

.benefit-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.contact {
    padding: 100px 0;
    background: var(--bg);
}

.contact-form {
    max-width: 600px;
    margin: 60px auto 0;
}

.form-group {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

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

.footer {
    background: var(--bg-light);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-content p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.footer-content ul li {
    margin-bottom: 8px;
}

.footer-content a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

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

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-title {
        margin-bottom: 15px;
    }

    .hero-subtitle {
        margin-bottom: 30px;
    }

    .services,
    .why-choose,
    .contact {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .services-grid,
    .benefits-grid {
        gap: 30px;
    }
}
