/* assets/css/style.css */

:root {
    --primary-color: #0a2342; /* Глубокий синий */
    --secondary-color: #d9a404; /* Золотой/желтый акцент */
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white-color: #ffffff;
    --header-height: 80px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.header {
    background-color: var(--white-color);
    padding: 0 20px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .logo img {
    height: 50px;
}

.nav-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--secondary-color);
}

/* --- Main Content --- */
main {
    padding-top: 40px;
    padding-bottom: 60px;
    background-color: var(--bg-color);
    min-height: calc(100vh - var(--header-height) - 180px); /* 180px - высота футера */
}

h1, h2, h3 {
    color: var(--primary-color);
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; border-bottom: 3px solid var(--secondary-color); padding-bottom: 10px; margin-bottom: 30px;}
h3 { font-size: 1.5em; }

.section {
    padding: 60px 0;
}

/* --- Hero Section (Home Page) --- */
.hero {
    height: 60vh;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
}

.hero-content {
    background-color: rgba(10, 35, 66, 0.7);
    padding: 40px;
    border-radius: 10px;
}

.hero h1 {
    color: var(--white-color);
    margin: 0;
}

.hero p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* --- Offices Page --- */
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.office-card {
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.office-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.office-card-content {
    padding: 20px;
}

.office-card-content h3 {
    margin-top: 0;
}

.office-card-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}
.office-card-content li {
    padding-left: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="%23d9a404"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
    background-repeat: no-repeat;
    background-position: left center;
    margin-bottom: 8px;
}


/* --- Contact Form --- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #c89403;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 0;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
}
/* --- Price Table --- */
.price-section {
    margin-top: 50px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
}

.price-table th, .price-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.price-table th {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 16px;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr:hover {
    background-color: #f9f9f9;
}

.price-table td:nth-child(3), .price-table td:nth-child(4) {
    font-weight: 600;
    text-align: center;
}
.price-table th:nth-child(3), .price-table th:nth-child(4) {
    text-align: center;
}