/* =====================================================
   PAGES CSS - Story, Blog, Contact
   Using website accent: #ED9435
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --page-primary: #ED9435;
    --page-secondary: #d4830a;
    --page-bg-dark: #0a0a0f;
    --page-bg-section: #0f0f16;
    --page-bg-card: rgba(255, 255, 255, 0.03);
    --page-border: rgba(237, 148, 53, 0.15);
    --page-text: #ffffff;
    --page-text-muted: rgba(255, 255, 255, 0.65);
}

/* ===== HERO SECTION ===== */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--page-bg-dark);
    padding-top: 100px;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.page-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.6) 0%, rgba(10, 10, 15, 0.95) 100%);
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
}

.hero-label-page {
    display: inline-block;
    background: rgba(237, 148, 53, 0.15);
    border: 1px solid var(--page-primary);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--page-primary);
}

.hero-title-page {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-title-page span {
    background: linear-gradient(135deg, var(--page-primary), #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc-page {
    font-size: 1.15rem;
    color: var(--page-text-muted);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* ===== SECTION STYLES ===== */
.section-page {
    padding: 100px 20px;
    background: var(--page-bg-dark);
    position: relative;
    overflow: hidden;
}

.section-page.alt-bg {
    background: var(--page-bg-section);
}

.section-subtitle-page {
    display: inline-block;
    color: var(--page-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title-page {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title-page span {
    background: linear-gradient(135deg, var(--page-primary), #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc-page {
    font-size: 1.1rem;
    color: var(--page-text-muted);
    line-height: 1.8;
    max-width: 700px;
}

/* ===== STORY CHAPTER CARDS ===== */
.chapter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.chapter-card {
    background: var(--page-bg-card);
    border: 1px solid var(--page-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.chapter-card:hover {
    transform: translateY(-8px);
    border-color: var(--page-primary);
    box-shadow: 0 25px 50px rgba(237, 148, 53, 0.15);
}

.chapter-card .img-wrap {
    height: 200px;
    overflow: hidden;
}

.chapter-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.chapter-card:hover .img-wrap img {
    transform: scale(1.08);
}

.chapter-card .content {
    padding: 30px;
}

.chapter-card .year {
    display: inline-block;
    background: var(--page-primary);
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.chapter-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.chapter-card p {
    font-size: 0.95rem;
    color: var(--page-text-muted);
    line-height: 1.7;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--page-bg-card);
    border: 1px solid var(--page-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--page-primary);
    box-shadow: 0 20px 40px rgba(237, 148, 53, 0.12);
}

.blog-card .thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .thumb img {
    transform: scale(1.05);
}

.blog-card .thumb .cat {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--page-primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card .body {
    padding: 25px;
}

.blog-card .meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--page-text-muted);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: inherit;
    transition: color 0.3s;
}

.blog-card h3 a:hover {
    color: var(--page-primary);
}

.blog-card .excerpt {
    font-size: 0.9rem;
    color: var(--page-text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--page-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s;
}

.blog-card .read-more:hover {
    gap: 12px;
}

/* ===== BLOG SINGLE ===== */
.blog-single {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-single .featured-img {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-single .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-single .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--page-border);
}

.blog-single .post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--page-text-muted);
    font-size: 0.9rem;
}

.blog-single .post-meta i {
    color: var(--page-primary);
}

.blog-single .post-content {
    color: var(--page-text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
}

.blog-single .post-content h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px;
}

.blog-single .post-content h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 30px 0 15px;
}

.blog-single .post-content p {
    margin-bottom: 20px;
}

.blog-single .post-content blockquote {
    background: var(--page-bg-card);
    border-left: 4px solid var(--page-primary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.15rem;
}

.blog-single .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--page-border);
}

.blog-single .post-tags a {
    background: var(--page-bg-card);
    border: 1px solid var(--page-border);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--page-text-muted);
    transition: all 0.3s;
}

.blog-single .post-tags a:hover {
    border-color: var(--page-primary);
    color: var(--page-primary);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-box {
    background: var(--page-bg-card);
    border: 1px solid var(--page-border);
    border-radius: 20px;
    padding: 45px;
}

.contact-info-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

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

.contact-info-item .icon {
    width: 55px;
    height: 55px;
    background: rgba(237, 148, 53, 0.1);
    border: 1px solid var(--page-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .icon i {
    font-size: 1.4rem;
    color: var(--page-primary);
}

.contact-info-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.95rem;
    color: var(--page-text-muted);
    line-height: 1.6;
}

.contact-info-item a:hover {
    color: var(--page-primary);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid var(--page-border);
}

.contact-socials a {
    width: 45px;
    height: 45px;
    background: var(--page-bg-card);
    border: 1px solid var(--page-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--page-text-muted);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.contact-socials a:hover {
    background: var(--page-primary);
    border-color: var(--page-primary);
    color: #000;
}

.contact-form-box {
    background: var(--page-bg-card);
    border: 1px solid var(--page-border);
    border-radius: 20px;
    padding: 45px;
}

.contact-form-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.contact-form-box .subtitle {
    color: var(--page-text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    color: var(--page-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--page-border);
    border-radius: 10px;
    padding: 14px 18px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--page-primary);
    box-shadow: 0 0 0 3px rgba(237, 148, 53, 0.1);
    background-color: transparent;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(237, 148, 53, 0.3);
}

/* Map Section */
.map-section {
    padding: 0;
    background: var(--page-bg-section);
}

.map-container {
    height: 400px;
    border-radius: 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(92%) contrast(90%);
}

/* ===== CTA SECTION ===== */
.cta-page {
    background: linear-gradient(135deg, var(--page-primary) 0%, var(--page-secondary) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-page .section-title-page {
    color: #000;
    position: relative;
}

.cta-page .section-title-page span {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.cta-page p {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.btn-cta-page {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.btn-cta-page:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .chapter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
        padding-top: 80px;
    }

    .hero-title-page {
        font-size: 2.2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-single .featured-img {
        height: 250px;
    }
}