/* ========================================
   ABOUT SECTION REDESIGN
   Modern, clean design with improved UX
   ======================================== */

/* Section Container */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

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

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

/* Modern Header */
.about-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--primary-gold-dark);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.section-badge:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    transform: translateY(-2px);
}

.about-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
}

.header-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Hero Image with Modern Overlay */
.about-hero-image {
    margin: 4rem 0;
    position: relative;
    width: 100%;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 600px;
}

.image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(139, 69, 19, 0.25);
}

.about-hero-image .hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
    min-width: 100%;
}

.image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.image-wrapper:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.location-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-gold);
}

.overlay-content p {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Article Content Section */
.about-article {
    max-width: 900px;
    margin: 4rem 0;
    position: relative;
    width: 100%;
}

.article-content {
    position: relative;
    overflow: hidden;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: justify;
}

.article-content p:first-of-type {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
}

.article-content p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-gold);
    float: left;
    line-height: 0.8;
    margin: 0.1em 0.1em 0 0;
    font-family: Georgia, serif;
}

/* Inline Images that Text Wraps Around */
.article-image-inline {
    margin: 0;
    padding: 0;
    max-width: 350px;
}

.article-image-inline.left {
    float: left;
    margin: 0 2rem 1.5rem 0;
}

.article-image-inline.right {
    float: right;
    margin: 0 0 1.5rem 2rem;
}

.article-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.15);
    transition: all 0.4s ease;
}

.article-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.25);
}

.image-caption {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Clearfix utility */
.clearfix {
    clear: both;
    height: 0;
    overflow: hidden;
}

/* Feature Cards */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 5rem 0;
    width: 100%;
    max-width: 1000px;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    transform: scale(1.1) rotate(10deg);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-gold);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Call to Action */
.about-cta {
    margin: 5rem 0 0;
    padding: 4rem;
    background: linear-gradient(135deg, #541D23 0%, #6d2530 100%);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(84, 29, 35, 0.3);
    width: 100%;
    max-width: 1000px;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20%, -20%) scale(1.2);
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.about-cta h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.cta-btn.primary {
    background: white;
    color: #541D23;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.cta-btn.primary:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

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

.cta-btn.secondary:hover {
    background: white;
    color: #541D23;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-header h2 {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .image-wrapper {
        height: auto;
        min-height: 300px;
    }
    
    .about-hero-image .hero-img {
        height: auto;
        min-height: 300px;
    }
    
    .article-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .article-content p:first-of-type {
        font-size: 1.1rem;
    }
    
    .article-content p:first-of-type::first-letter {
        font-size: 3rem;
    }
    
    .article-image-inline {
        max-width: 100%;
        float: none !important;
        margin: 1.5rem 0 !important;
    }
    
    .article-image-inline.left,
    .article-image-inline.right {
        float: none !important;
        margin: 1.5rem 0 !important;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-cta {
        padding: 2.5rem 1.5rem;
        margin: 3rem 0 0;
        border-radius: 16px;
    }
    
    .about-cta h3 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .about-cta p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .cta-btn {
        width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .image-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    }
}

@media (max-width: 480px) {
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .about-header h2 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
    }
    
    .feature-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .article-content p:first-of-type::first-letter {
        font-size: 2.5rem;
    }
}

/* Animation Enhancements */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.animate {
    opacity: 1;
    transform: scale(1);
}

/* Print Styles */
@media print {
    .about-cta {
        background: white;
        color: black;
        border: 2px solid #541D23;
    }
    
    .about-cta h3,
    .about-cta p {
        color: black;
    }
    
    .cta-buttons {
        display: none;
    }
}
