/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a365d;
    --secondary-blue: #2d4a6b;
    --dark-blue: #0a1929;
    --accent-blue: #2563eb;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-300: #bdbdbd;
    --border-color: #d0d0d0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    text-align: center;
}

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

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

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

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

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    border-color: #25d366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

.btn-instagram {
    background-color: #e4405f;
    color: var(--white);
    border-color: #e4405f;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-instagram:hover {
    background-color: #c13584;
    border-color: #c13584;
}

.social-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--dark-blue);
    z-index: 1000;
    padding: 0;
    border-bottom: 3px solid var(--primary-blue);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo-image {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    border-bottom-color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    background-image: url('images/background-main-page.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 41, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-blue);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: none;
    transition: all 0.2s ease;
    text-align: center;
}

.service-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 90px;
    height: 90px;
    background-color: var(--primary-blue);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2.25rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Prices Section */
.prices {
    padding: 6rem 0;
    background-color: var(--gray-100);
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.price-card {
    background-color: var(--white);
    padding: 3rem;
    border: 2px solid var(--border-color);
    border-radius: 0;
    text-align: center;
    transition: all 0.2s ease;
}

.price-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow);
}

.price-icon {
    width: 90px;
    height: 90px;
    background-color: var(--primary-blue);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.price-icon i {
    font-size: 2.25rem;
    color: var(--white);
}

.price-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.price-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.price-unit {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.price-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.quality-passport-links {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.quality-passport-link {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .quality-passport-links {
        gap: 0.75rem;
    }
    
    .quality-passport-links .btn {
        width: 100%;
        max-width: 400px;
    }
}

/* Numbers Section */
.numbers {
    padding: 6rem 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

.numbers .section-header h2,
.numbers .section-header p {
    color: var(--white);
}

.numbers .section-header h2::after {
    background-color: var(--white);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.number-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.number-icon {
    width: 90px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--white);
}

.number-icon i {
    font-size: 2.25rem;
    color: var(--white);
}

.number-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.number-label {
    font-size: 1.1rem;
    color: var(--white);
}

/* Fleet Section */
.fleet {
    padding: 6rem 0;
    background-color: var(--white);
}

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

.fleet-card {
    background-color: var(--white);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: all 0.2s ease;
}

.fleet-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow);
}

.fleet-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.fleet-card:hover .fleet-image img {
    transform: scale(1.03);
}

.fleet-content {
    padding: 2rem;
}

.fleet-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.fleet-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* Stations Section */
.stations {
    padding: 6rem 0;
    background-color: var(--gray-100);
}

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

.station-card {
    background-color: var(--white);
    border-radius: 0;
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: all 0.2s ease;
    overflow: hidden;
}

.station-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow);
}

.station-image {
    height: 200px;
    overflow: hidden;
}

.station-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.station-card:hover .station-image img {
    transform: scale(1.03);
}

.station-content {
    padding: 2rem;
    text-align: center;
}

.station-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.station-location {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.station-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.station-services {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-tag {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--primary-blue);
}

/* Depot Section */
.depot {
    padding: 6rem 0;
    background-color: var(--gray-100);
}

.depot-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.depot-description p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.depot-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.depot-image-card {
    background-color: var(--white);
    border-radius: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.depot-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.depot-image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Video Section */
.video-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--white);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
    background-color: var(--dark-blue);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background-color: var(--gray-100);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.whatsapp-contact {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.whatsapp-contact p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* PDF Modal */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.pdf-modal.active {
    display: block;
}

.pdf-modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pdf-modal-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pdf-download-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.pdf-modal-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.pdf-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.pdf-viewer-wrapper {
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #f5f5f5;
    position: relative;
    display: flex;
    flex-direction: column;
}

.passport-image-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #525252;
}

.passport-image {
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: var(--white);
}

.passport-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--gray-100);
    border-top: 1px solid var(--border-color);
    flex-wrap: nowrap;
}

.passport-nav-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--primary-blue);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.passport-nav-btn:hover:not(:disabled) {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.passport-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.passport-page-info {
    padding: 0.5rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    font-weight: 500;
    min-width: 100px;
    text-align: center;
    border-radius: 4px;
    flex: 0 1 auto;
    font-size: 0.85rem;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--primary-blue);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-300);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
        border-top: 2px solid var(--primary-blue);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid,
    .prices-grid,
    .numbers-grid,
    .fleet-grid,
    .stations-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .number-value {
        font-size: 3rem;
    }

    .price-value {
        font-size: 2.5rem;
    }

    .pdf-modal-header {
        padding: 0.75rem 1rem;
    }

    .pdf-modal-header h3 {
        font-size: 1rem;
        flex: 1;
    }

    .pdf-modal-actions {
        gap: 0.5rem;
    }

    .pdf-download-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .pdf-download-btn span {
        display: none;
    }

    .pdf-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    /* Оптимизация навигации паспорта для мобильных */
    .passport-controls {
        padding: 0.6rem 0.75rem;
        gap: 0.5rem;
    }

    .passport-nav-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }

    .passport-page-info {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

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

    .service-card,
    .price-card,
    .fleet-card,
    .station-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .number-value {
        font-size: 2.5rem;
    }

    .price-value {
        font-size: 2rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 70px;
} 
