/* =========================================================================
   Virgin's Wood — Modern enhancement layer (additive only)
   This file intentionally does NOT change the theme colours, fonts or images.
   It refines spacing, motion, navigation and adds a few modern UX touches
   on top of the existing Landrick theme.
   ========================================================================= */

/* ----- Global smoothing ------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

/* ----- Logo: smaller, vertically centred → shorter, tighter navbar ------ */
#topnav .logo {
    line-height: 68px;
}

#topnav .logo img {
    height: 46px;
    width: auto;
    vertical-align: middle;
}

@media (max-width: 991px) {
    #topnav .logo img {
        height: 40px;
    }
}

/* ----- Navbar: clickable phone + CTA (theme buy-button slot) ------------ */
#topnav .buy-button .nav-phone {
    display: inline-block;
    font-weight: 600;
    color: #3c4858 !important;
    white-space: nowrap;
    margin-right: 20px;
    vertical-align: middle;
    transition: color 0.3s ease;
}

#topnav .buy-button .nav-phone i {
    font-size: 17px;
    vertical-align: middle;
}

#topnav .buy-button .nav-phone:hover {
    color: var(--primary, #2f55d4) !important;
}

#topnav .buy-button .nav-cta {
    border-radius: 30px;
    padding: 8px 22px;
    font-weight: 600;
    color: #fff !important;
    vertical-align: middle;
    box-shadow: 0 6px 18px rgba(47, 85, 212, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#topnav .buy-button .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(47, 85, 212, 0.35);
}

/* Below the desktop breakpoint the buy-button stays in the top bar — keep it tidy */
@media (max-width: 991px) {
    #topnav .buy-button {
        line-height: 62px;
    }
}

@media (max-width: 575px) {
    #topnav .buy-button .nav-phone {
        display: none;
    }
    #topnav .buy-button .nav-cta {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* ----- Buttons: gentle modern motion ------------------------------------ */
.btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-primary:hover,
.btn:not(.back-to-top):not(.nav-cta):hover {
    transform: translateY(-2px);
}

/* ----- Cards & gallery: subtle lift on hover ---------------------------- */
.work-container,
.popular-tour,
.features,
.pricing-rates,
.card.map {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-container:hover,
.popular-tour:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18) !important;
}

.pricing-rates:hover {
    transform: translateY(-6px);
}

/* Feature icons gain a soft cue on hover */
.features:hover .image i {
    transform: scale(1.08);
    transition: transform 0.35s ease;
    display: inline-block;
}

/* ----- Section title rhythm --------------------------------------------- */
.section-title .title {
    letter-spacing: 0.2px;
}

.section-title .para-desc {
    line-height: 1.7;
}

/* A slim accent under main section headings (uses theme primary, no colour change) */
.section-title > .title.font-weight-bold::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: var(--primary, #2f55d4);
    opacity: 0.85;
}

/* ----- Testimonials: easier reading ------------------------------------- */
.customer-testi p {
    line-height: 1.8;
}

/* ----- Footer contact links: make them feel interactive ----------------- */
.footer .foot-subscribe a,
.footer-list a {
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer .contact-link {
    color: inherit;
    transition: color 0.3s ease;
}

.footer .contact-link:hover {
    color: var(--primary, #2f55d4);
}

/* ----- Floating WhatsApp / call action ---------------------------------- */
.floating-contact {
    position: fixed;
    right: 24px;
    bottom: 88px; /* sits above the theme's back-to-top button */
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-contact a:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.floating-contact .fc-whatsapp {
    background: #25d366;
    animation: fc-pulse 2.4s infinite;
}

.floating-contact .fc-call {
    background: var(--primary, #2f55d4);
}

@keyframes fc-pulse {
    0%   { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 575px) {
    .floating-contact {
        right: 16px;
        bottom: 80px;
    }
    .floating-contact a {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .work-container, .popular-tour, .features, .pricing-rates,
    .nav-contact .nav-cta, .floating-contact a {
        transition: none !important;
    }
    .floating-contact .fc-whatsapp { animation: none; }
}
