/* 
 * About Page Styles
 * Luxurious, modern design matching services page aesthetic
 */

/* ===================================
   HERO SECTION
=================================== */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
    margin-top: 80px;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/hero-home.png') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 900px;
    padding: 80px 20px;
    animation: fadeInUp 1s ease-out;
}

.about-hero-profile {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-gold);
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.6);
    margin: 0 auto 2rem;
    animation: float 6s ease-in-out infinite;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-style: italic;
}

.about-hero-divider {
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto;
    animation: expandWidth 1s ease-out 0.5s backwards;
}

/* ===================================
   STORY SECTION
=================================== */
.story-section {
    padding: 120px 0;
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.story-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-image-wrapper:hover .story-image {
    transform: scale(1.05);
}

.story-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.story-image-wrapper:hover .story-image-overlay {
    transform: translateY(0);
}

.story-content {
    padding: 20px;
}

.story-overline {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-black);
    line-height: 1.2;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.story-text:last-of-type {
    margin-bottom: 2.5rem;
}

.story-highlight {
    font-weight: 600;
    color: var(--color-black);
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-style: italic;
    padding: 20px 0;
    border-left: 4px solid var(--color-gold);
    padding-left: 25px;
    margin: 2rem 0;
}

/* ===================================
   WHY CHOOSE SECTION
=================================== */
.why-choose-section {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-linen) 100%);
    padding: 100px 0;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 80px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-card {
    background: white;
    padding: 50px 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.why-choose-card:nth-child(1) {
    animation-delay: 0.1s;
}

.why-choose-card:nth-child(2) {
    animation-delay: 0.2s;
}

.why-choose-card:nth-child(3) {
    animation-delay: 0.3s;
}

.why-choose-card:nth-child(4) {
    animation-delay: 0.4s;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.1), transparent);
    transition: left 0.6s ease;
}

.why-choose-card:hover::before {
    left: 100%;
}

.why-choose-card:hover {
    transform: translateY(-15px);
    border-color: var(--color-gold);
    box-shadow: 0 25px 70px rgba(197, 160, 89, 0.25);
}

.why-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #d4af6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.3);
}

.why-choose-card:hover .why-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.5);
}

.why-choose-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--color-black);
}

.why-choose-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===================================
   VALUES SECTION
=================================== */
.values-section {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 15px;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.value-description {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===================================
   CTA SECTION
=================================== */
.about-cta-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/hero-home.png') center/cover no-repeat;
    opacity: 0.1;
}

.about-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.about-cta-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: var(--color-gold);
    color: var(--color-black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.4);
}

.about-cta-btn:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.3);
}

/* ===================================
   ANIMATIONS
=================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ===================================
   RESPONSIVE DESIGN
=================================== */
@media (max-width: 1024px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-hero-subtitle {
        font-size: 1.1rem;
    }

    .story-title {
        font-size: 2rem;
    }

    .story-image {
        height: 400px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-title {
        font-size: 2rem;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .why-choose-card,
[data-theme="dark"] .value-item {
    background: var(--color-beige);
    border-color: rgba(197, 160, 89, 0.2);
}

[data-theme="dark"] .why-icon {
    background: rgba(30, 30, 30, 0.95);
}

/* Life of Mitzi Carousel */
.mitzi-life-section {
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    background-color: var(--color-white);
}

.mitzi-life-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-md);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: cartwheel 20s linear infinite;
}

/* Pause on hover for better UX */
.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.carousel-item:hover img {
    transform: scale(1.05);
}

@keyframes cartwheel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 3 - 90px));
        /* Width * items + gaps */
    }
}

@media (max-width: 768px) {
    .carousel-item {
        width: 250px;
        height: 350px;
    }
}