/*
 Theme Name:  RTWTrips Premium Custom
 Description: High-Performance custom landing page engine with admin dashboard values.
 Version:     1.0.0
 Author:      Srinivasa Rao Ponakala
*/

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'AR One Sans', sans-serif !important;
    font-style: normal !important;
    background-color: #000;
    color: #fff;
    /* overflow: hidden; REMOVED to allow scrolling down to layout content */
}

/* --- Hero Layout Elements --- */
.hero-viewport-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bg-video-engine {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none; /* Crucial: stops the video layer from stealing mouse clicks */
}

.branding-overlay-window {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    padding: 40px 50px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    max-width: 650px;
    width: 90%;
}

.main-title { font-size: 3rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 10px; text-shadow: 2px 4px 10px rgba(0,0,0,0.8); }
.main-tagline { font-size: 1.2rem; font-weight: 400; margin-bottom: 30px; color: #e0e0e0; text-shadow: 2px 3px 6px rgba(0,0,0,0.8); }
.cta-sales-button { display: inline-block; padding: 14px 28px; background-color: #0073aa; color: #ffffff; text-decoration: none; font-weight: 600; border-radius: 6px; transition: background 0.2s ease-in-out; }
.cta-sales-button:hover { background-color: #005177; }

/* --- Lower Main Content Layout --- */
.main-content-wrapper {
    position: relative; /* Forces the browser to recognize stacking layers */
    z-index: 20;        /* Pulls this entire section above the hero video layer */
    background-color: #111111;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.section-heading {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    border-left: 4px solid #0073aa;
    padding-left: 15px;
    letter-spacing: 0.5px;
}

.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0,115,170,0), rgba(0,115,170,0.5), rgba(0,115,170,0));
    margin: 50px 0;
}

/* Native Gallery Integration Overrides */
.native-gallery-box {
    margin-top: 20px;
}
.native-gallery-box .gallery-item {
    margin-bottom: 15px;
}

/* Post Titles Scannable Feed Grid */
.posts-titles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.post-title-card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    position: relative; /* Context for the absolute link stretch */
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.post-title-card:hover {
    transform: translateY(-3px);
    border-color: #0073aa;
}

.post-title-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    display: inline-block;
    margin-bottom: 8px;
}

.post-title-link:hover {
    color: #0073aa;
}

.post-title-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25; /* Throws the click blanket over the entire card surface */
}

.post-card-date {
    font-size: 0.85rem;
    color: #888888;
}

/* --- Dedicated Single Post Template View Styling --- */
.single-article-view {
    background-color: #fff !important;
    color: #222 !important;
    overflow-y: scroll;
}

.simple-article-header {
    background-color: #111;
    padding: 15px 20px;
}

.header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.back-home-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.article-reading-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.article-main-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
}

.article-meta-data {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.entry-content-body p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 25px;
    color: #333;
}

.simple-article-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 0.9rem;
    background-color: #fafafa;
}

/* --- New Content CTA Block Layouts --- */

/* Post-Hero Link Bar */
.immediate-cta-bar {
    background-color: #0d0d0d;
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #0073aa;
    border-bottom: 1px solid #222;
    position: relative;
    z-index: 10;
}

/* Base Footer Repeated Context */
.footer-cta-wrap {
    text-align: center;
    padding: 30px 20px 10px 20px;
}

.footer-cta-text {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.cta-sales-button.footer-btn {
    background-color: #28a745; /* Green tone for the final transaction hook */
}
.cta-sales-button.footer-btn:hover {
    background-color: #1e7e34;
}

/* Single Post Reading Page CTA Inline Box Styles */
.article-inline-cta-box {
    margin-top: 60px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 5px solid #0073aa;
    padding: 30px;
    border-radius: 4px;
}

.article-inline-cta-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #111;
}

.article-inline-cta-box p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #555 !important;
    margin-bottom: 20px !important;
}

.article-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.15s ease-in-out;
}

.article-cta-btn:hover {
    background-color: #005177;
    color: #fff;
}

/* --- Flex Group Configuration for Dual Buttons --- */
.cta-button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

/* Base CTA Button Reset */
.cta-sales-button {
    display: inline-block;
    padding: 14px 32px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1.05rem;
    transition: background 0.2s ease-in-out, transform 0.1s ease;
    min-width: 260px;
}
.cta-sales-button:hover {
    transform: translateY(-2px);
}

/* Distinctive Branding Color Logic */
.bin-blue {
    background-color: #0073aa; /* Solid corporate blue */
}
.bin-blue:hover { background-color: #005177; }

.lto-green {
    background-color: #28a745; /* Secure transactional green */
}
.lto-green:hover { background-color: #1e7e34; }

/* Single Post Inner Grid Setup */
.article-btn-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.article-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: opacity 0.15s ease-in-out;
}
.article-cta-btn:hover { opacity: 0.9; color: #fff; }
.bin-blue-btn { background-color: #0073aa; }
.lto-green-btn { background-color: #28a745; }
/* Logo Styling */
.site-logo-icon {
    display: block;
    max-height: 70px; /* Adjust based on your icon's dimensions */
    width: auto;
    margin: 0 auto 15px auto;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.5));
}