/* ============================================================
   BANNER
   ============================================================ */
.banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../Images/banner/banner-home.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: contrast(80%) brightness(60%);
    z-index: -1;
}

.banner-content {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 900px;
    z-index: 1;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s both;
}

.banner-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s both;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-secondary {
    background: var(--book-btn-bg);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--book-btn-hover);
}

.btn-large {
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
}

.tour-actions {
    display: flex;
    gap: 10px;
    margin-top: auto; /* keeps the row pinned to the card bottom */
}

/* book button no longer needs to own the full width on its own */
.tour-actions .book-btn {
    flex: 1;
    margin-top: 0; /* the row handles bottom-pinning now */
}

.gift-btn {
    flex-shrink: 0;
    width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gift-btn:hover {
    transform: translateY(-3px);
}

.gift-btn-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

/* ============================================================
   FEATURES (Must-Sees / Hidden Gems)
   ============================================================ */
.must-sees {
    padding: 4rem 0;
    background: white;
}

.must-sees-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hidden-gems {
    padding: 4rem 0;
    background: var(--bg-section);
}

.hidden-gems-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-card {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-overlay {
    opacity: 0.75;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-overlay h3 {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
    padding: 5rem 0 6rem 0;
    background: var(--white);
}

.reviews-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
}

.reviews-description {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.review-link {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 600;
}

.review-link:hover {
    color: var(--accent-color);
}

.carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0 2rem 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.review-card {
    background: var(--bg-light);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: left;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    width: calc((100% - 4rem) / 3);
    flex-shrink: 0;
    box-sizing: border-box;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-author-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
    margin: 0;
}

.review-source {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    margin-top: 0.2rem;
}

.stars {
    display: flex;
    justify-content: flex-start;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.star {
    width: 18px;
    height: 18px;
    fill: #d03c3c;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
    flex-grow: 1;
}

.carousel-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
}

/* ============================================================
   GIFT SECTION
   ============================================================ */
.gift-section {
    position: relative;
    padding: 4rem 0;
    background: none;
    text-align: center;
    overflow: hidden;
}

.gift-section > .gift-wrap-bg {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url(../Images/RBT_GiftWrap.png);
    background-size: auto, 450px;
    background-repeat: repeat;
    transform: rotate(5deg);
    transform-origin: center;
    z-index: -1;
}

.gift-section .container {
    position: relative;
    z-index: 2;
}

/* The sticker / gift tag */
.gift-tag {
    position: relative;
    display: inline-block;
    background-image: url(../Images/PaperTexture.png);
    background-size: cover;
    background-position: center;
    padding: 2.5rem 3rem 2rem 3rem;
    max-width: 640px;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transform: rotate(-2.5deg);
    outline: 2px dashed rgba(0, 0, 0, 0.4);
    outline-offset: -12px;

    /* punch a real transparent circle near the top-center */
    -webkit-mask:
        radial-gradient(circle 8px at 50% 30px, transparent 8px, #000 9px);
    mask:
        radial-gradient(circle 8px at 50% 30px, transparent 8px, #000 9px);
}

/* no longer need the fake dot */
.gift-tag::before {
    content: none;
}

.gift-section-title {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin: 1rem 0 1rem 0;
}

.gift-section-text {
    color: var(--text-dark);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    opacity: 0.95;
    line-height: 1.5;
}

.btn-gift {
    background: var(--accent-color);
    color: var(--white);
}

.btn-gift:hover {
    background: var(--book-btn-hover);
}

/* ============================================================
   GIFT PANEL (floating shortcut)
   ============================================================ */
.gift-panel {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    background: var(--book-btn-bg);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, background 0.3s ease;
}

.gift-panel:hover {
    background: var(--book-btn-hover);
    transform: translateY(-3px);
}

.gift-panel-icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.gift-panel-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.gift-panel-title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.gift-panel-sub {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .gift-panel {
        transition: none;
    }
    .gift-panel:hover {
        transform: none;
    }
}

@media (max-width: 1200px) {
    .review-card {
        width: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .banner-bg {
        background-attachment: scroll;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 60%;
        max-width: 300px;
    }

    .btn-large {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

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

    .feature-card {
        height: 300px;
    }

    .carousel {
        padding: 0;
    }

    .review-card {
        width: 100%;
        padding: 1.5rem 1rem;
        min-height: 250px;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .gift-panel {
        bottom: 1rem;
        left: 1rem;
        padding: 0.7rem 1rem;
    }

    .gift-panel-icon {
        width: 26px;
        height: 26px;
    }

    .gift-panel-title {
        font-size: 0.9rem;
    }

    .gift-panel-sub {
        display: none;
    }

    .gift-tag {
        padding: 1.8rem 1.8rem 1.5rem 1.8rem;
        max-width: 90%;
    }

    .gift-section-title {
        font-size: 1.8rem;
    }

    .gift-section-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.6rem;
    }

    .banner-subtitle {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .gift-tag {
        padding: 1.4rem 1.3rem 1.2rem 1.3rem;
    }

    .gift-section-title {
        font-size: 1.5rem;
    }

    .gift-section-text {
        font-size: 0.9rem;
    }
}