/* Main Styles for Petersburg Company Website */

/* Font Import (Note: You'll need to replace this with the actual Proxima Nova font files) */
@font-face {
    font-family: 'Proxima Nova';
    src: url('./assets/fonts/ProximaNova-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('./assets/fonts/ProximaNova-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('./assets/fonts/ProximaNova-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Proxima Nova', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:hover {
    color: #6c5ce7;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #6c5ce7;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #5649c0;
    color: #fff;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f7;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-accept {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6c5ce7;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-decline {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #333;
    border: 1px solid #6c5ce7;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6c5ce7;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-size: 0.95rem;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin-bottom: 5px;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: #f9f9fd;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: #333;
    margin-bottom: 20px;
}

.hero-text p {
    color: #666;
    margin-bottom: 30px;
}

.hero-images {
    flex: 1;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.image-item {
    border-radius: 10px;
    overflow: hidden;
}

.image-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 20px;
}

/* Stats Section */
.stats {
    background-color: #6c5ce7;
    color: #fff;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: #fff;
}

.stat-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services {
    background-color: #f9f9fd;
    text-align: center;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 15px;
}

.price {
    margin-top: 20px;
    font-weight: bold;
    color: #6c5ce7;
    font-size: 1.2rem;
}

/* Process Section */
.process {
    text-align: center;
    background-color: #333a6e;
    color: #fff;
}

.process h2 {
    color: #fff;
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.process-step {
    flex: 1;
    padding: 20px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #6c5ce7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.process-step h3 {
    color: #fff;
    margin-bottom: 10px;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
}

/* Events Section */
.events {
    background-color: #fff;
}

.events h2 {
    text-align: center;
    margin-bottom: 40px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background-color: #f9f9fd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
}

.event-date {
    padding: 0 20px;
    color: #666;
    font-size: 0.9rem;
}

.event-link {
    display: inline-block;
    margin: 15px 20px 20px;
    color: #6c5ce7;
    font-weight: 600;
}

.event-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    background-color: #f0f0f7;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 15px;
    color: #333a6e;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-text {
    flex: 1;
}

.contact-info {
    margin-top: 30px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Proxima Nova', Arial, sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: #f9f9fd;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-right: 20px;
    font-size: 0.9rem;
    color: #666;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-wrap: wrap;
    }

    .process-step {
        flex: 0 0 45%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav ul li {
        margin: 0 0 15px 0;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text,
    .hero-images {
        flex: none;
        width: 100%;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        flex: none;
        width: 100%;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        flex-direction: column;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-accept,
    .btn-decline {
        width: 100%;
        text-align: center;
    }
}

.text-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 0;
}