/**
 * Star Inn Suites & Retreat - About Us Page Styles
 *
 * This file contains specific styles for the About Us page components
 * like timeline, mission-vision-values grid, story section, etc.
 */

/* ===== Page Hero ===== */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,13,21,0.85) 0%, rgba(7,13,21,0.7) 50%, rgba(7,13,21,0.85) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.25rem;
    background: rgba(212, 169, 50, 0.15);
    border: 1px solid rgba(212, 169, 50, 0.4);
    border-radius: 3rem;
    animation: slideUp 0.8s ease 0.2s both;
}

.page-hero-badge i {
    color: var(--gold-500);
    font-size: 0.8rem;
}

.page-hero-badge span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gold-300);
    text-transform: uppercase;
}

.page-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: slideUp 0.8s ease 0.4s both;
}

.page-hero-title span {
    font-weight: 600;
    font-style: italic;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 0.8s ease 0.6s both;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    animation: slideUp 0.8s ease 0.8s both;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--gold-400);
}

.breadcrumb span {
    color: var(--gold-500);
    font-size: 0.9rem;
}

.breadcrumb i {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Our Story Section ===== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-images {
    position: relative;
}

.story-image-main {
    position: relative;
    z-index: 10;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.story-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.story-image-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 250px;
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid var(--navy-950);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    z-index: 20;
}

.story-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-badge {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    background: var(--gradient-gold);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(212, 169, 50, 0.4);
    z-index: 30;
    text-align: center;
}

.story-badge-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-950);
    line-height: 1;
}

.story-badge-text {
    color: var(--navy-950);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
    .story-image-secondary {
        display: none;
    }
}

.story-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.story-text {
    color: rgba(255,255,255,0.7);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.luxury-divider {
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

.story-signature {
    margin-top: 2rem;
}

.story-signature img {
    height: 50px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.story-signature-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.story-signature-title {
    color: var(--gold-500);
    font-size: 0.85rem;
}

/* ===== Mission Vision Values ===== */
.mvv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mvv-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mvv-card {
    background: linear-gradient(135deg, rgba(212, 169, 50, 0.08), rgba(26, 42, 66, 0.5));
    border: 1px solid rgba(212, 169, 50, 0.15);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
}

.mvv-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 169, 50, 0.15);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-950);
    font-size: 2rem;
    transition: transform 0.3s;
}

.mvv-card:hover .mvv-icon {
    transform: scale(1.1) rotate(5deg);
}

.mvv-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mvv-text {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

/* ===== Values Grid ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: linear-gradient(135deg, rgba(26, 42, 66, 0.6), rgba(26, 42, 66, 0.3));
    border: 1px solid rgba(212, 169, 50, 0.1);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s;
}

.value-card:hover {
    border-color: rgba(212, 169, 50, 0.3);
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 0.75rem;
    background: rgba(212, 169, 50, 0.15);
    border: 1px solid rgba(212, 169, 50, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    font-size: 1.5rem;
}

.value-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-500), rgba(212, 169, 50, 0.3));
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 169, 50, 0.08), rgba(26, 42, 66, 0.5));
    border: 1px solid rgba(212, 169, 50, 0.15);
    border-radius: 1rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

@media (max-width: 768px) {
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--navy-950), 0 0 0 6px var(--gold-500);
}

@media (max-width: 768px) {
    .timeline-dot {
        left: 20px;
    }
}

.timeline-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-gold);
    color: var(--navy-950);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn-white {
    background: #fff;
    color: var(--navy-950);
}

.btn-white:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
}
