/* Bönelvix - Styles */
:root {
    --primary: #1F3A5F;
    --primary-light: #2C4A73;
    --secondary: #4A90A4;
    --accent: #6DB3C7;
    --text: #2D3748;
    --text-light: #718096;
    --bg: #FFFFFF;
    --bg-alt: #F7FAFC;
    --border: #E2E8F0;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header */
header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--secondary);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 2.75rem;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(31, 58, 95, 0.1);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

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

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

/* Sections */
section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: var(--bg);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--secondary);
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.card p {
    color: var(--text-light);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

.two-col-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(31, 58, 95, 0.1);
}

.two-col-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.two-col-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.two-col-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Features List */
.features-list {
    list-style: none;
    margin-top: 24px;
}

.features-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text);
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details .icon {
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details .icon svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
}

.contact-details strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-details span {
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background: var(--bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Page Header */
.page-header {
    padding: 60px 0;
    background: var(--bg-alt);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.content-section ul {
    color: var(--text-light);
    margin-left: 24px;
    margin-bottom: 16px;
}

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

/* Service Detail */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.service-detail-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    padding: 60px 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-content,
    .two-col,
    .contact-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col.reverse {
        direction: ltr;
    }

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

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    nav.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 50px 0;
    }

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

    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .contact-form {
        padding: 24px;
    }
}
