@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Poppins:wght@300;400;500&display=swap');

.about-section {
    padding: 8rem 5%;
    background: linear-gradient(135deg, #fff8e8 0%, #fff 100%);
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 5%, 100% 95%, 0% 100%);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23D4AF37" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 300px 300px;
    opacity: 0.1;
    pointer-events: none;
    animation: patternFloat 30s linear infinite;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.about-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    z-index: 2;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.8s;
}

.about-text p {
    font-family: 'Poppins', sans-serif;
    color: #555;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s;
    position: relative;
}

.about-text p::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-gold), transparent);
    transform: scaleY(0);
    transform-origin: top;
    animation: lineGrowVertical 0.6s ease forwards 1s;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.6s;
    position: relative;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.image-container:hover {
    transform: translateY(-15px) scale(1.02) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.image-container:hover img {
    transform: scale(1.15);
    filter: brightness(1.05);
}

.image-large {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.image-small {
    aspect-ratio: 4/3;
    position: relative;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

@keyframes lineGrowVertical {
    to {
        transform: scaleY(1);
    }
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 300px 300px;
    }
}

@media screen and (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-text {
        text-align: center;
    }

    .about-text h2 {
        font-size: 3rem;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }

    .about-text p::before {
        display: none;
    }

    .about-images {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .about-section {
        padding: 6rem 5%;
        clip-path: polygon(0 0, 100% 3%, 100% 97%, 0% 100%);
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .about-text p {
        font-size: 1.1rem;
    }

    .about-images {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .about-images {
        grid-template-columns: 1fr;
    }

    .image-large, .image-small {
        aspect-ratio: 16/9;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .about-section {
        clip-path: polygon(0 0, 100% 2%, 100% 98%, 0% 100%);
    }
}