/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a0e9;
    --accent-color: #00d4ff;
    --text-color: #333;
    --bg-color: #fff;
    --light-bg: #f5f9ff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-color: #e5e7eb;
}

[data-theme="dark"] {
    --primary-color: #00a0e9;
    --secondary-color: #0066cc;
    --text-color: #e0e0e0;
    --bg-color: #181a1b;
    --light-bg: #23272f;
    --border-color: #374151;
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 4rem;
}

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

/* Header & Navigation */
.navbar {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    height: 4rem;
}

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

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

.logo:hover {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.theme-toggle:hover {
    color: var(--primary-color);
}

.theme-toggle svg {
    color: var(--primary-color);
    stroke: var(--primary-color);
    transition: color 0.3s, stroke 0.3s;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,102,204,0.75), rgba(0,160,233,0.75)),
                url('../images/hero.webp') center/cover no-repeat;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 4rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero .cta-button {
    background: #0066cc;
    color: #fff;
    border: 1px solid;
    border-color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero .cta-button:hover {
    background: #00a0e9;
    border-color: #fff;
}

/* Services Section */
.services, .about, .contact, .reviews {
    width: 100%;
    padding: 5rem 0;
    background: var(--bg-color);
    box-sizing: border-box;
    position: relative;
    margin: 0;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    background: var(--bg-color);
}

.review-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-author .name {
    font-weight: 500;
    color: var(--primary-color);
}

.review-card {
    cursor: pointer;
}

.review-card:hover .review-content p {
    color: var(--primary-color);
}

/* Contact Form */
.contact {
    padding: 4rem 0;
    background: var(--bg-color);
    text-align: left;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #cfd8dc;
    border-radius: 0.5rem;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0,102,204,0.10);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .cta-button {
    display: inline-block;
    width: auto;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,102,204,0.08);
}

.contact-form .cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--light-bg);
    padding: 2rem 0;
    text-align: center;
    color: var(--primary-color);
    font-size: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

footer p {
    margin: 0;
    line-height: 1.6;
}

.no-tel {
    text-decoration: none;
    color: var(--primary-color);
    pointer-events: none;
    user-select: none;
}

/* Utility Classes */
.alt-bg {
    background: var(--light-bg);
    box-shadow: 0 12px 32px -12px rgba(0,0,0,0.07), 0 -12px 32px -12px rgba(0,0,0,0.07);
    margin-top: -16px;
    margin-bottom: -16px;
    position: relative;
    z-index: 2;
    padding: 5rem 0;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
    z-index: 1001;
}

.hamburger svg {
    width: 24px;
    height: 24px;
    color: var(--text-color);
    stroke: var(--text-color);
    transition: color 0.3s, stroke 0.3s;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.open {
    display: block;
    opacity: 1;
}

/* Media Queries */
@media (max-width: 900px) {
    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background: var(--bg-color);
        width: 80%;
        max-width: 320px;
        height: 100vh;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow);
        padding: 5rem 2rem 2rem;
        z-index: 999;
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        width: 100%;
        text-align: left;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .theme-toggle {
        margin-top: 1rem;
        padding: 0.5rem;
        width: 100%;
        text-align: left;
    }

    .theme-toggle svg {
        width: 24px;
        height: 24px;
    }

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

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact-form {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .contact {
        padding: 2rem 0;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.about {
    width: 100%;
    padding: 5rem 0;
    background: var(--bg-color);
    box-sizing: border-box;
    position: relative;
    margin: 0;
}

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

.about p {
    text-align: left;
    line-height: 1.6;
    color: var(--text-color);
}
