/* ==================================================
   INNER PAGES - Image Fit & Section Improvements
   Ram Krishna Tent House
================================================== */

/* ---- Google Font Import (already loaded via style.php) ---- */

/* ---- Section Layout ---- */
.section1 {
    padding: 50px 0 30px !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #fff;
}

.section1:nth-child(even) {
    background: #fafaf7;
}

/* ---- Image Container (the column holding the image) ---- */
.impx-single-product-item .uk-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.uk-width-xlarge-2-5,
.uk-width-large-2-5,
.uk-width-medium-2-5 {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
}

.uk-width-xlarge-2-5 br,
.uk-width-large-2-5 br,
.uk-width-medium-2-5 br {
    display: none !important;
}

.uk-width-xlarge-2-5 img,
.uk-width-large-2-5 img,
.uk-width-medium-2-5 img {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px !important;
    max-height: 680px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 36px rgba(212, 155, 29, 0.20), 0 4px 12px rgba(0,0,0,0.10) !important;
    display: block !important;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1), box-shadow 0.45s ease !important;
}

.uk-width-xlarge-2-5 img:hover,
.uk-width-large-2-5 img:hover,
.uk-width-medium-2-5 img:hover {
    transform: scale(1.025) translateY(-3px) !important;
    box-shadow: 0 18px 48px rgba(212, 155, 29, 0.30), 0 6px 18px rgba(0,0,0,0.14) !important;
}

/* ---- Content Side ---- */
.impx-product-detail {
    padding: 10px 20px 10px 30px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---- Eyebrow/Label ---- */
.rk-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d49b1d;
    margin-bottom: 8px;
    position: relative;
    padding: 0 12px;
}

.rk-eyebrow::before,
.rk-eyebrow::after {
    content: '—';
    color: #d49b1d;
    margin: 0 4px;
    opacity: 0.7;
}

/* ---- H1 Heading on inner pages ---- */
.impx-product-detail h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    color: #d49b1d !important;
    margin-top: 4px;
    margin-bottom: 16px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.impx-product-detail h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d49b1d, #f0c547);
    border-radius: 2px;
    margin-top: 8px;
}

/* ---- H2 Sub-headings ---- */
.impx-product-detail h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.9rem !important;
    font-weight: 700 !important;
    color: #d49b1d !important;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.impx-product-detail h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #d49b1d, #f0c547);
    border-radius: 2px;
    margin-top: 6px;
}

/* ---- Body text ---- */
.impx-product-detail p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px !important;
    line-height: 1.85;
    color: #444;
    text-align: justify;
    margin-bottom: 14px;
}

/* ---- List items (styled as gold checkmark cards) ---- */
.impx-product-detail ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 18px 0 !important;
}

.impx-product-detail ul li {
    position: relative !important;
    padding: 10px 16px 10px 42px !important;
    margin-bottom: 10px !important;
    background: #faf8f2 !important;
    border: 1px solid #f0e6d2 !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14.5px !important;
    color: #333 !important;
    line-height: 1.6 !important;
    text-align: left !important;
    transition: all 0.25s ease !important;
}

.impx-product-detail ul li:hover {
    background: #ffffff !important;
    border-color: #d49b1d !important;
    box-shadow: 0 4px 14px rgba(212, 155, 29, 0.15) !important;
    transform: translateX(4px) !important;
}

.impx-product-detail ul li::before {
    content: "\f00c" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #d49b1d !important;
    font-size: 13px !important;
}


/* ---- Section divider (subtle gold line between sections) ---- */
.section1 + .section1 {
    border-top: 1px solid #f5e8c0;
}

/* ---- Page Heading Banner (rk-banner) ----
   Self-contained: background-image + flexbox centering, no dependency
   on legacy UIkit figure/figcaption classes so nothing can override
   the vertical centering via the cascade. Used by includes/page-banner.php. */
.rk-banner {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1a1712;
}

.rk-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 8, 5, 0.50) 0%,
        rgba(10, 8, 5, 0.75) 100%
    );
}

.rk-banner-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    animation: bannerFadeUp 0.85s ease both;
}

.rk-banner-inner h4 {
    margin: 0 0 10px;
}

.rk-banner-inner h4 a,
.rk-banner-inner h4 a span {
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rk-banner-inner h4 a:hover,
.rk-banner-inner h4 a:hover span {
    color: #d49b1d !important;
}

.rk-banner-inner h2 {
    margin: 0;
    padding: 0;
}

.rk-banner-inner h2 span {
    font-family: 'Playfair Display', serif !important;
    font-size: 52px !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6) !important;
    letter-spacing: 1px;
    display: block;
    line-height: 1.15;
}

.rk-banner-inner h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #d49b1d, #f0c547);
    border-radius: 2px;
    margin: 14px auto 0;
}

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

@media (max-width: 768px) {
    .rk-banner {
        height: 260px;
    }
    .rk-banner-inner h2 span {
        font-size: 34px !important;
    }
}

@media (max-width: 480px) {
    .rk-banner {
        height: 200px;
    }
    .rk-banner-inner h2 span {
        font-size: 26px !important;
    }
}




/* ---- Fade-in animation for section images ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---- Shimmer glow on image load ---- */
@keyframes shimmerGlow {
    0% { box-shadow: 0 8px 32px rgba(212, 155, 29, 0.18), 0 2px 8px rgba(0,0,0,0.10); }
    50% { box-shadow: 0 12px 40px rgba(212, 155, 29, 0.35), 0 4px 16px rgba(0,0,0,0.12); }
    100% { box-shadow: 0 8px 32px rgba(212, 155, 29, 0.18), 0 2px 8px rgba(0,0,0,0.10); }
}

/* ---- Section rows: align content vertically ---- */
.uk-grid.uk-margin-large-bottom {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch !important;
}

/* ---- Stars rating style ---- */
.fa-star.checked {
    color: #d49b1d;
}

.fa-star {
    color: #ccc;
}

/* ---- Review section ---- */
.row h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #888;
}

/* ---- Responsive adjustments ---- */
@media (max-width: 768px) {
    .uk-width-xlarge-2-5 img,
    .uk-width-large-2-5 img,
    .uk-width-medium-2-5 img {
        height: 220px;
    }

    .impx-product-detail {
        padding: 16px 10px;
    }

    .impx-product-detail h1 {
        font-size: 1.8rem !important;
    }

    .impx-product-detail h2 {
        font-size: 1.5rem !important;
    }
}


@media (max-width: 480px) {
    .uk-width-xlarge-2-5 img,
    .uk-width-large-2-5 img,
    .uk-width-medium-2-5 img {
        height: 180px;
    }
}

/* ---- Animated decorative accent on sections ---- */
.section1::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,155,29,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 6s ease-in-out infinite;
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(12px) scale(1.08); }
}

/* ---- Staggered entrance for content columns ---- */
[data-aos="fade-left"],
[data-aos="fade-right"] {
    transition-duration: 0.75s !important;
}

/* ---- Gold separator line between sections ---- */
.impx-single-product-item {
    position: relative;
}

/* ---- Image column: no extra br spacing needed ---- */
.uk-width-xlarge-2-5 br,
.uk-width-large-2-5 br {
    display: none;
}

/* ---- Section background alternating subtle pattern ---- */
.section1:nth-of-type(2n) {
    background: linear-gradient(180deg, #fffdf5 0%, #fff 100%);
}

/* ---- Highlighted quote/italic heading ---- */
.impx-product-detail h3 {
    font-family: 'Playfair Display', serif;
    color: #d49b1d !important;
    font-size: 1.1rem !important;
    font-style: italic;
    margin: 14px 0 10px;
    line-height: 1.5;
}

/* ---- Page heading banner overlay text ---- */
.banner_content h2 span {
    font-family: 'Playfair Display', serif !important;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.banner_content h4 a {
    color: rgba(255,255,255,0.8) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
}

.banner_content h4 a:hover {
    color: #d49b1d !important;
}

/* ---- Two-Sided Feature Section Styling ---- */
.catering-two-col {
    background: #ffffff;
    border: 1px solid #f0e6cf;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 30px rgba(212, 155, 29, 0.08);
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.catering-two-col:hover {
    box-shadow: 0 12px 36px rgba(212, 155, 29, 0.14);
}

.catering-col-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    color: #d49b1d !important;
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catering-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-style: italic;
    color: #887858;
    margin-bottom: 20px;
    line-height: 1.5;
}

.feature-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}

.feature-pill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    background: #faf8f2;
    border: 1px solid #eee4cf;
    border-radius: 9px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.25s ease;
}

.feature-pill-item:hover {
    background: #ffffff;
    border-color: #d49b1d;
    box-shadow: 0 4px 14px rgba(212, 155, 29, 0.18);
    transform: translateY(-2px);
}

.feature-pill-item i {
    color: #d49b1d;
    font-size: 13px;
    flex-shrink: 0;
}

.catering-bottom-callout {
    background: linear-gradient(135deg, #faf7f0 0%, #fff 100%);
    border: 1px dashed #d49b1d;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.catering-bottom-callout p {
    margin: 0 !important;
    font-size: 15px !important;
    color: #444;
    max-width: 700px;
}

