/* Khan Stretch Ceilings - About Page Desktop Styles */

/* Global link styles */
a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    color: inherit;
    text-decoration: none;
}

:root {
    --main-green: #2F5F3A;
    --accent-green: #3FA450;
    --accent-red: #8B1E1E;
    --metal-gray: #2D2D2D;
    --gold-light: #E8D6B9;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Poppins', 'Segoe UI', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--gold-light);
    background: url('../../images/home/back.jfif') center/cover fixed no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    transition: all 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.nav-brand {
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.nav-brand:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.nav-brand:visited {
    color: inherit;
    text-decoration: none;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 150px;
    height: 100px;
    transition: transform 0.3s ease;
}

.brand-text h1 {
    color: var(--gold-light);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.brand-subtitle {
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Desktop Navigation with Oval Style */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--main-green);
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 214, 185, 0.3);
    transition: all 0.3s ease;
}

/* Hide Mobile Elements on Desktop */
.mobile-menu,
.menu-toggle,
.nav-overlay {
    display: none !important;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--gold-light);
    color: var(--gold-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--metal-gray);
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    color: var(--gold-light);
    box-shadow: 0 4px 15px rgba(47, 95, 58, 0.3);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 95, 58, 0.4);
    background: var(--gold-light);
    color: var(--main-green);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Page Hero */
.page-hero {
    background: transparent;
    color: var(--gold-light);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-light);
    position: relative;
    z-index: 2;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--gold-light);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Company History */
.company-history {
    padding: 4rem 0;
    background: transparent;
}

.company-history h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 3rem;
    font-weight: 700;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.history-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gold-light);
}

.history-text p {
    margin-bottom: 1.5rem;
}

.history-text .highlight {
    color: var(--accent-green);
    font-weight: 600;
}

.history-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    height: 400px;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
}

.history-image::before {
    content: '🏢';
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* Company Story Section */
.company-story {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.company-story::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(80, 200, 120, 0.08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.story-text {
    position: relative;
}

.story-text h2 {
    font-size: 2.8rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--main-green));
    border-radius: 2px;
}

.story-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gold-light);
    margin-bottom: 1.8rem;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.story-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(63, 164, 80, 0.5);
}

.story-text p:hover {
    color: var(--accent-green);
    transform: translateX(5px);
}

.story-text p:first-of-type {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gold-light);
    background: linear-gradient(135deg, rgba(63, 164, 80, 0.08), rgba(63, 164, 80, 0.03));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-green);
    box-shadow: 0 5px 20px rgba(63, 164, 80, 0.1);
    position: relative;
    overflow: hidden;
}

.story-text p:first-of-type::before {
    display: none;
}

.story-text p:first-of-type::after {
    content: '🏢';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    opacity: 0.3;
}

.story-image {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(63, 164, 80, 0.2);
    transition: transform 0.3s ease;
}

.story-image:hover {
    transform: translateY(-10px) scale(1.02);
}

.company-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.company-photo::before {
    content: '🏗️';
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

.company-photo::after {
    content: 'Качество с 2024 года';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Company Values */
.company-values {
    padding: 4rem 0;
    background: transparent;
}

.company-values h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.value-item {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--gold-light));
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--gold-light);
}

.value-item h3 {
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    color: var(--gold-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background: transparent;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 3rem;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.member-photo {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 70%);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    color: var(--accent-green);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.member-info p {
    color: var(--gold-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Company Advantages */
.company-advantages {
    padding: 4rem 0;
    background: transparent;
}

.company-advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.advantage-item {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-green), var(--gold-light), var(--main-green));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-item:hover::before {
    opacity: 1;
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1rem;
    display: block;
}

.advantage-item h3 {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-item p {
    color: var(--gold-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Certificates Section */
.certificates {
    padding: 4rem 0;
    background: transparent;
}

.certificates h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 3rem;
    font-weight: 700;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.certificate-item {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    border: 2px solid var(--accent-green);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.certificate-item:hover {
    border-color: var(--gold-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.certificate-icon {
    font-size: 3rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    display: block;
}

.certificate-item h3 {
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.certificate-item p {
    color: var(--gold-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite reverse;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: var(--gold-light);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gold-light);
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary {
    background: var(--gold-light);
    color: var(--main-green);
    border: none;
    font-weight: 600;
}

.cta-section .btn-primary:hover {
    background: var(--accent-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(63, 164, 80, 0.4);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--main-green);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .history-image {
        height: 250px;
        order: -1;
    }
    
    .values-grid,
    .team-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-history h2,
    .company-values h2,
    .team-section h2,
    .company-advantages h2,
    .certificates h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .member-photo {
        height: 200px;
        font-size: 3rem;
    }
    
    .advantage-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .value-item,
    .team-member,
    .advantage-item,
    .certificate-item {
        padding: 1.5rem;
    }
    
    .history-text {
        font-size: 1rem;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .company-history h2,
    .company-values h2,
    .team-section h2,
    .company-advantages h2,
    .certificates h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.footer-brand p {
    color: var(--gold-light);
    line-height: 1.6;
}

.footer-links h5,
.footer-contact h5 {
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gold-light);
    font-size: 0.9rem;
}