/* PAR MŪS LAPAS SPECIFISKIE STILI */

/* Hero section speciāli par-mums lapai */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/content/main-page-8.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 0 0 0 100px;
}

.hero-content {
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Story Section */
.story {
    background-color: var(--white);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 500px;
}

.story-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-img:hover img {
    transform: scale(1.05);
}

.story-img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.story-img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.story-img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.story-content h2 {
    margin-bottom: 20px;
}

.story-content p {
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Values Section */
.values {
    background: linear-gradient(135deg, #fdfcfb 0%, #f5f7fa 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

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

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

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.value-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.value-description {
    color: var(--text);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-btn {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
}

.cta-btn:hover {
    background: var(--light);
}

/* Footer speciāli par-mums lapai */
.footer {
    background: var(--white);
    color: var(--text);
    padding: 70px 0 20px;
    border-top: 3px solid var(--primary);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: block;
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-tagline {
    margin-bottom: 25px;
    opacity: 0.8;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    background-color: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--secondary);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 22px;
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 8px;
}

.footer-links ul li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.footer-links ul li a:hover:before {
    width: 4px;
}

.contact-list {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    opacity: 0.9;
    transition: var(--transition);
}

.contact-item:hover {
    opacity: 1;
}

.contact-icon {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-item a {
    opacity: 0.8;
    transition: var(--transition);
}

.contact-item a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-legal a {
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--primary);
}

.separator {
    opacity: 0.5;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero:before {
        width: 40%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-images {
        height: 400px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero:before {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .story-images {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .story-img-1, .story-img-2, .story-img-3 {
        grid-column: 1 / 2;
        grid-row: auto;
        height: 250px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}