/* About Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--bg-blue);
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-icon:hover {
    background: var(--color-3);
    color: white;
}

/* About Main Section */
.about-main {
    padding: 140px 0 100px;
    background: #ffffff;
    min-height: 100vh;
}

/* Text Block */
.about-text-block {
    max-width: 70%;
    margin: 0 auto 80px;
    text-align: left;
}

.about-text-block h1 {
    text-align: left;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.about-text-block p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 28px;
}

.about-text-block p:last-of-type {
    margin-bottom: 0;
}

/* Gallery Section */
.about-gallery {
    margin-bottom: 100px;
}

.gallery-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 80%;
    margin: 0 auto;
}

.gallery-image {
    width: 280px;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

/* CTA Section */
.about-cta {
    text-align: center;
    padding-bottom: 80px;
}

.about-cta h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.cta-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cta-form .form-group {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
}

.cta-form input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    background: #ffffff;
    transition: border-color 0.3s ease;
    font-family: var(--font-family);
}

.cta-form input:focus {
    outline: none;
    border-color: var(--color-3);
}

.cta-form input::placeholder {
    color: #999;
}

.cta-form .btn {
    padding: 14px 32px;
    background: var(--color-3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.cta-form .btn:hover {
    background: var(--color-2);
    transform: translateY(-1px);
}

/* Footer styles (from contacts.css) */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
}

.footer-brand {
    max-width: 250px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-3);
    text-decoration: none;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-3);
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-3);
}

.footer-column ul li:not(:has(a)) {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--text-light);
    color: var(--text-dark);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-icon {
    color: var(--color-3);
    font-size: 18px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .about-text-block {
        max-width: 80%;
    }

    .gallery-images {
        max-width: 85%;
        gap: 20px;
    }

    .gallery-image {
        width: 240px;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .about-main {
        padding: 120px 0 60px;
    }

    .about-text-block {
        max-width: 90%;
        margin-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-text-block h1 {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .gallery-images {
        flex-direction: column;
        align-items: center;
        max-width: 90%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .gallery-image {
        width: 100%;
        max-width: 350px;
        height: 320px;
    }

    .about-cta h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cta-form {
        flex-direction: column;
        gap: 12px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .cta-form .form-group {
        max-width: 100%;
        width: 100%;
    }

    .cta-form .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-text-block {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-text-block h1 {
        font-size: 30px;
    }

    .about-text-block p {
        font-size: 15px;
    }

    .gallery-image {
        height: 280px;
    }

    .about-cta h2 {
        font-size: 24px;
    }

    .cta-form {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
