/* Area Pages Specific Styles */

:root {
    --area-hero-height: 500px;
    --area-hero-bg: linear-gradient(135deg, #2c5f2d 0%, #4a8b4f 100%);
    --area-section-spacing: 80px;
}

/* Hero Section for Area Pages */
.hero {
    min-height: var(--area-hero-height);
    background: var(--area-hero-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,154.7C672,160,768,192,864,197.3C960,203,1056,181,1152,165.3C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: white;
}

.hero-content * {
    color: white !important;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content blockquote {
    font-size: 1.4rem;
    font-style: italic;
    margin: 1.5rem 0;
    padding: 0 2rem;
    border-left: 4px solid rgba(255,255,255,0.5);
    text-align: left;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.5rem 0 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-cta .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-cta .btn-primary {
    background: #f8c94a;
    color: #2c5f2d;
    border: 2px solid #f8c94a;
    font-weight: 700;
}

.hero-cta .btn-primary:hover {
    background: transparent;
    color: #f8c94a;
    border-color: #f8c94a;
    transform: translateY(-2px);
}

.hero-cta .btn-secondary {
    background: transparent;
    color: #f8c94a;
    border: 2px solid #f8c94a;
}

.hero-cta .btn-secondary:hover {
    background: #f8c94a;
    color: #2c5f2d;
    transform: translateY(-2px);
}

/* Main Content Sections */
main {
    background: white;
}

section {
    padding: var(--area-section-spacing) 0;
}

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

/* Services Section */
.services {
    background: #f8f9fa;
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

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

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-item h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-item p {
    line-height: 1.6;
    color: #666;
}

/* Portfolio Section */
.portfolio {
    background: white;
}

.portfolio h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-item:nth-child(even) {
    direction: rtl;
}

.portfolio-item:nth-child(even) > * {
    direction: ltr;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content h3 {
    color: var(--color-primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.portfolio-content p {
    line-height: 1.7;
    color: #555;
}

/* Testimonials Section - Hidden for now */
.testimonials {
    display: none;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: var(--area-section-spacing) 0;
}

.testimonials h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.3;
}

.testimonial-item blockquote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-item cite {
    display: block;
    text-align: right;
    color: var(--color-primary);
    font-weight: 600;
    font-style: normal;
}

/* CTA Section */
.cta-section {
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: var(--area-section-spacing) 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-buttons .btn-primary {
    background: #f8c94a;
    color: #2c5f2d;
    border: 2px solid #f8c94a;
    font-weight: 700;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: #f8c94a;
    border-color: #f8c94a;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #f8c94a;
    border: 2px solid #f8c94a;
}

.cta-buttons .btn-secondary:hover {
    background: #f8c94a;
    color: #2c5f2d;
}

/* Area Navigation Section */
.area-navigation {
    background: #f8f9fa;
    padding: 60px 0;
}

.area-navigation h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.area-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.area-link {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

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

/* Footer Adjustments */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    padding: 0.3rem 0;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content blockquote {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-item {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item:nth-child(even) {
        direction: ltr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content blockquote { animation-delay: 0.4s; }
.hero-subtitle { animation-delay: 0.6s; }
.hero-cta { animation-delay: 0.8s; }