/* style.css */
:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --white: #fff;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    margin-bottom: 15px;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    text-align: center;
}

@media (min-width: 768px) {
    .logo {
        text-align: left;
    }
}

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

.logo-descriptor {
    font-size: 0.9rem;
    color: #666;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .header-contacts {
        flex-direction: row;
        gap: 20px;
    }
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    text-decoration: none;
}

.btn-large {
    background-color: #ff6b00;
    color: white;
    font-size: 1.2rem;
    padding: 15px 30px;
}

.btn-large:hover {
    background-color: #e66000;
}

/* Hero Section */
.hero {
    background-color: #002b5e;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

@media (min-width: 768px) {
    .hero {
        padding: 100px 0;
    }
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.upload-hint {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Services */
.services {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 15px;
    color: #555;
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ff6b00;
}

/* Trust Section */
.trust {
    padding: 60px 0;
}

.trust-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .trust-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Portfolio */
.portfolio {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.location {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 50px 0 20px;
}

.footer h2 {
    color: var(--white);
    text-align: left;
    margin-bottom: 20px;
}

.footer a {
    color: #a8c6fa;
}

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

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

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

.emergency {
    color: #ff6b00;
    font-weight: 700;
}

.footer-legal {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .footer-legal {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.modal h3 {
    margin-top: 0;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.file-upload label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}
