/* ============================================
   STORY PAGE - MODERN ELEGANT STYLING
   Heritage, Values, and Team Sections
   ============================================ */

@import url('base.css');

:root {
    --primary-gold: #c9a86d;
    --gold-dark: #8b7355;
    --gold-light: #e6c89f;
    --dark: #0f0f0f;
    --dark-secondary: #1a1a1a;
    --cream: #f5f3f0;
    --text-primary: #2a2a2a;
    --text-light: #555555;
}

/* ===== STORY HEADER ===== */
.story-header {
    min-height: 45vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 100px 20px;
    overflow: hidden;
}

.story-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(201, 168, 109, 0.08) 10px,
        rgba(201, 168, 109, 0.08) 20px
    );
    pointer-events: none;
}

.story-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.story-header .ornament {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.story-header h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 20px 0;
    color: var(--primary-gold);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.story-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    font-weight: 300;
}

/* ===== STORY SECTION ===== */
.story-section {
    background: white;
    padding: 100px 20px;
}

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

.story-grid:last-child {
    margin-bottom: 0;
}

/* Story Card - Menu Style */
.story-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(201, 168, 109, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(201, 168, 109, 0.15);
}

.story-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    min-height: 280px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.7);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card:hover .story-overlay {
    opacity: 1;
}

.story-label {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.story-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.story-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.story-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: fit-content;
}

.story-link:hover {
    gap: 0.75rem;
    color: var(--gold-light);
}

.story-link i {
    transition: transform 0.3s ease;
}

.story-link:hover i {
    transform: translateX(3px);
}

/* Featured Section (Story Cards Section) */
.featured-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 50%, var(--dark) 100%);
    padding: 6rem 0;
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(201, 168, 109, 0.03) 35px,
            rgba(201, 168, 109, 0.03) 70px
        );
    pointer-events: none;
}

.featured-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.featured-section .section-header .ornament {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.featured-section .section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.featured-section .section-header p {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.featured-section .row {
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.featured-section .row > [class*='col-'] {
    display: flex;
}

/* Dish Card */

/* Story Image */
.story-image-wrapper {
    position: relative;
    height: 400px;
}

.story-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 3px solid var(--primary-gold);
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-image-wrapper:hover .story-image img {
    transform: scale(1.08);
}

/* Story Content */
.story-content .ornament {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.story-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.story-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.story-content .btn {
    margin-top: 20px;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .ornament {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* ===== VALUES SECTION ===== */
.values-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(201, 168, 109, 0.05) 10px,
        rgba(201, 168, 109, 0.05) 20px
    );
    pointer-events: none;
}

.values-section .section-header {
    position: relative;
    z-index: 2;
}

.values-section .section-header h2,
.values-section .section-header p {
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 109, 0.2);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.value-card:hover {
    background: rgba(201, 168, 109, 0.1);
    border-color: var(--primary-gold);
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotateZ(10deg);
}

.value-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-weight: 300;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: white;
    padding: 100px 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Team Member Card */
.team-member {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-image-wrapper {
    position: relative;
    height: 350px;
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 3px solid var(--primary-gold);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-image-wrapper:hover .member-image img {
    transform: scale(1.1);
}

/* Member Image Placeholder */
.member-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 109, 0.1) 0%, rgba(201, 168, 109, 0.05) 100%);
    border: 2px dashed rgba(201, 168, 109, 0.3);
}

.member-placeholder i {
    font-size: 4rem;
    color: rgba(201, 168, 109, 0.4);
    margin-bottom: 1rem;
}

.member-placeholder p {
    font-size: 0.9rem;
    color: rgba(201, 168, 109, 0.5);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.member-photo {
    display: block;
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 15, 0.9) 100%);
    padding: 30px 20px 20px;
    transform: translateY(100px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary-gold);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-transform: uppercase;
}

.member-content {
    background: rgba(245, 243, 240, 0.5);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e8e6e2;
    transition: all 0.4s ease;
}

.team-member:hover .member-content {
    background: rgba(245, 243, 240, 0.8);
    border-color: var(--primary-gold);
}

.member-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 300;
}

/* ===== STORY CTA SECTION ===== */
.story-cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.story-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(201, 168, 109, 0.08) 10px,
        rgba(201, 168, 109, 0.08) 20px
    );
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content .ornament {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.cta-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .story-header {
        min-height: 35vh;
        padding: 60px 20px;
    }

    .story-header h1 {
        font-size: 2.5rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .story-image-wrapper {
        height: 300px;
    }

    .story-content h2 {
        font-size: 2.2rem;
    }

    .story-section {
        padding: 60px 20px;
    }

    .values-section {
        padding: 60px 20px;
    }

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

    .team-section {
        padding: 60px 20px;
    }

    .story-cta {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .story-header {
        min-height: 30vh;
        padding: 40px 20px;
    }

    .story-header h1 {
        font-size: 2rem;
    }

    .story-header p {
        font-size: 0.95rem;
    }

    .story-section {
        padding: 50px 20px;
    }

    .story-grid {
        margin-bottom: 50px;
        gap: 30px;
    }

    .story-image-wrapper {
        height: 250px;
    }

    .story-content h2 {
        font-size: 1.8rem;
    }

    .featured-section {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .values-grid {
        gap: 20px;
    }

    .value-card {
        padding: 30px 20px;
    }

    .team-member {
        text-align: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .member-image-wrapper {
        height: 280px;
    }

    .cta-buttons {
        gap: 15px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .story-header h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .story-header p {
        font-size: 0.85rem;
    }

    .story-image-wrapper {
        height: 200px;
    }

    .story-content h2 {
        font-size: 1.5rem;
    }

    .story-content p {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .value-card {
        padding: 20px 15px;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .value-card h3 {
        font-size: 1.2rem;
    }

    .value-card p {
        font-size: 0.85rem;
    }

    .member-image-wrapper {
        height: 220px;
    }

    .member-content {
        padding: 15px;
    }

    .member-content h3 {
        font-size: 1.2rem;
    }

    .member-bio {
        font-size: 0.85rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
