/* ===================================
   OUR STORY SECTION - PREMIUM DESIGN
   =================================== */

.our-story-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.our-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(217, 180, 95, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

/* ===================================
   STORY CONTENT LAYOUT
   =================================== */

.story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ===================================
   STORY IMAGE
   =================================== */

.story-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-slow);
}

.story-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hard);
}

.story-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

/* Premium decorative frame */
.image-decoration {
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--primary-gold);
    border-radius: var(--radius-lg);
    opacity: 0.4;
    pointer-events: none;
    transition: all var(--transition-slow);
}

.story-image:hover .image-decoration {
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    opacity: 0.6;
}

/* ===================================
   STORY TEXT
   =================================== */

.story-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.story-text .section-header {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.story-text .section-tag {
    padding-left: 0;
}

.story-text .section-tag::before {
    left: -15px;
}

.story-text .title-underline {
    margin-left: 0;
}

.story-paragraphs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.story-paragraphs p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    text-align: justify;
    position: relative;
    padding-left: var(--spacing-md);
}

.story-paragraphs p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: calc(100% - 16px);
    background: linear-gradient(180deg, var(--primary-gold) 0%, transparent 100%);
    border-radius: 2px;
    opacity: 0.3;
}

.story-paragraphs p:first-child {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
}

.story-paragraphs p:first-child::before {
    opacity: 0.6;
}

/* ===================================
   STORY STATS - PREMIUM COUNTERS
   =================================== */

.story-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(217, 180, 95, 0.05) 0%, rgba(217, 180, 95, 0.02) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(217, 180, 95, 0.1);
}

.stat-item {
    text-align: center;
    position: relative;
    padding: var(--spacing-sm);
    transition: transform var(--transition-normal);
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: transform var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.stat-number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* ===================================
   RESPONSIVE LAYOUT
   =================================== */

@media (min-width: 1024px) {
    .story-content {
        grid-template-columns: 45% 1fr;
        gap: var(--spacing-xxl);
    }
    
    .story-image {
        min-height: 600px;
    }
    
    .story-image img {
        min-height: 600px;
    }
}

@media (max-width: 1024px) {
    .our-story-section {
        padding: var(--spacing-xl) 0;
    }
    
    .story-stats {
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .story-content {
        gap: var(--spacing-lg);
    }
    
    .story-image {
        min-height: 350px;
    }
    
    .story-image img {
        min-height: 350px;
    }
    
    .image-decoration {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }
    
    .story-paragraphs p {
        text-align: left;
        padding-left: var(--spacing-sm);
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid rgba(217, 180, 95, 0.1);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .our-story-section {
        padding: var(--spacing-lg) 0;
    }
    
    .story-image {
        min-height: 300px;
        border-radius: var(--radius-md);
    }
    
    .story-image img {
        min-height: 300px;
    }
    
    .image-decoration {
        display: none; /* Simplify on small screens */
    }
    
    .story-paragraphs p {
        font-size: 1rem;
    }
    
    .story-paragraphs p:first-child {
        font-size: 1.08rem;
    }
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

.story-image,
.story-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.story-image {
    animation-delay: 0.2s;
}

.story-text {
    animation-delay: 0.4s;
}

.story-stats {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.6s;
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
    .story-image,
    .story-text,
    .story-stats,
    .story-image img,
    .stat-item {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
    }
    
    .story-image:hover,
    .stat-item:hover {
        transform: none !important;
    }
}
