/* Официальный строгий стиль для КадастрСочи */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --dark-gray: #7f8c8d;
    --border-color: #bdc3c7;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

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

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Navigation */
nav {
    background-color: var(--secondary-color);
    border-bottom: 3px solid var(--accent-color);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* Services Grid */
.services-section {
    padding: 60px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Service Page */
.service-page {
    background-color: var(--white);
    padding: 60px 0;
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--accent-color);
}

.service-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.service-description {
    font-size: 1.2rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.service-details {
    margin-top: 40px;
}

.service-details h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 30px 0 20px;
    font-weight: 600;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details ul li {
    padding: 12px 0 12px 30px;
    position: relative;
    line-height: 1.7;
    color: var(--text-color);
}

.service-details ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.service-info-box {
    background-color: var(--light-gray);
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
}

.service-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dark-gray);
}

/* Contact Page */
.contact-section {
    background-color: var(--white);
    padding: 60px 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-color);
    line-height: 1.7;
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background-color: var(--light-gray);
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--dark-gray);
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        text-align: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

    .service-header h1 {
        font-size: 2rem;
    }
}
