/**
 * Modern Luxury UI Component Styles
 * Acme Tours Version 2.0 (ennn)
 */

/* Hero Carousel */
.v2-hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 580px;
}

.v2-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.v2-hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-hero-mask {
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.v2-hero-caption {
    color: #ffffff;
    max-width: min(720px, calc(100% - 220px));
    position: absolute;
    left: 10px;
    bottom: 20px;
    z-index: 10;
    pointer-events: auto;
}

.v2-hero-caption p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 2px 14px rgba(0, 0, 0, 0.75);
}

.v2-hero-caption .btn-outline-light {
    background: rgba(7, 31, 52, 0.45);
    backdrop-filter: blur(6px);
    border-color: rgba(255, 255, 255, 0.75);
}

.v2-hero-caption .btn-outline-light:hover {
    background: #ffffff;
    color: #071f34;
}

.v2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(7, 31, 52, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.v2-hero-heading {
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 25px rgba(0, 0, 0, 0.75);
}

.v2-hero-heading-accent {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Accreditation Badge */
.v2-hero-accreditation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 10px 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    transition: transform var(--ease-normal);
}

.v2-hero-accreditation:hover {
    transform: translateY(-3px);
}

/* Hero Swiper Navigation Buttons */
.v2-hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.3s ease;
}

.v2-hero-nav-btn:hover {
    background: #071f34f2;
    border-color: #071f34f2;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.v2-hero-prev {
    left: 20px;
}

.v2-hero-next {
    right: 20px;
}

/* Hero Swiper Pagination Indicator (Below Slider) */
.v2-hero-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 10 !important;
    width: auto !important;
    display: flex;
    gap: 8px;
    align-items: center;
    background: #071f34f2;
    padding: 6px 16px;
    border-radius: 999px;
    margin-top: 7px !important;
}

.v2-hero-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #ffffff;
    opacity: 0.4;
    transition: all 0.3s ease;
    border-radius: 999px;
    margin: 0 !important;
    cursor: pointer;
}

.v2-hero-pagination .swiper-pagination-bullet-active {
    width: 24px;
    opacity: 1;
    background: #94a3b8;
}

/* Modern Card Component */
.v2-tour-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 16px -2px rgba(7, 31, 52, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.v2-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(7, 31, 52, 0.12);
    border-color: #cbd5e1;
}

.v2-tour-thumb {
    position: relative;
    width: 100%;
    padding-top: 66%;
    overflow: hidden;
}

.v2-tour-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.v2-tour-card:hover .v2-tour-thumb img {
    transform: scale(1.06);
}

.v2-tour-duration {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(7, 31, 52, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.775rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.v2-tour-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.v2-tour-location {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.v2-tour-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.42;
    color: #1e293b;
    margin-bottom: 0.85rem;
    transition: color 0.2s ease;
}

.v2-tour-title a {
    color: #1e293b;
    transition: color 0.2s ease;
}

.v2-tour-card:hover .v2-tour-title a {
    color: #071f34f2;
}

.v2-tour-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
}

.v2-tour-footer .btn {
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.v2-tour-card:hover .v2-tour-footer .btn {
    background-color: #071f34;
    color: #ffffff !important;
}

/* Destination Card Component */
.v2-dest-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 4px 16px -2px rgba(7, 31, 52, 0.06);
    transition: transform var(--ease-normal), box-shadow var(--ease-normal);
}

.v2-dest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(7, 31, 52, 0.12);
}

.v2-dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.v2-dest-card:hover img {
    transform: scale(1.06);
}

.v2-dest-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 31, 52, 0.88) 0%, rgba(7, 31, 52, 0.25) 60%, transparent 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

/* Feature Pillar Cards (Why Choose Us) */
.v2-feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.25rem;
    text-align: center;
    height: 100%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px -2px rgba(7, 31, 52, 0.04);
    transition: transform var(--ease-normal), box-shadow var(--ease-normal), border-color var(--ease-normal);
}

.v2-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(7, 31, 52, 0.1);
    border-color: #cbd5e1;
}

.v2-feature-icon-wrapper {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.25rem;
    color: #ffffff;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-feature-card:hover .v2-feature-icon-wrapper {
    transform: scale(1.1) rotate(4deg);
}

.v2-icon-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 10px 20px -3px rgba(245, 158, 11, 0.35);
}

.v2-icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 10px 20px -3px rgba(59, 130, 246, 0.35);
}

.v2-icon-emerald {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    box-shadow: 0 10px 20px -3px rgba(16, 185, 129, 0.35);
}

.v2-icon-rose {
    background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
    box-shadow: 0 10px 20px -3px rgba(244, 63, 94, 0.35);
}

/* Section Title Eyebrow */
.v2-section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
}

/* Exact Acme Footer Styles (Matched to En) */
.acme-footer {
  background: var(--brand-primary);
}

.acme-footer-top {
  background: #ffffff;
  border-top: 3px solid var(--brand-primary);
}

.acme-ft-title {
  font-weight: 800;
  color: #0b2a44;
  margin: 0;
}

.acme-ft-line {
  width: 52px;
  height: 3px;
  background: var(--brand-primary);
  margin: 10px 0 14px;
  border-radius: 10px;
}

.acme-ft-text {
  color: #586a7a;
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

.acme-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.acme-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: var(--brand-primary);
  transition: transform .2s ease, opacity .2s ease;
}

.acme-social-btn:hover {
  transform: translateY(-2px);
  opacity: .9;
  color: #fff;
}

.acme-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.acme-links li a {
  color: #0b2a44;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-left: 14px;
  font-size: 14px;
}

.acme-links li a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--brand-primary);
  font-weight: 900;
}

.acme-links li a:hover {
  text-decoration: underline;
}

.acme-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.acme-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #0b2a44;
  font-size: 14px;
}

.acme-contact i {
  margin-top: 3px;
  color: var(--brand-primary);
}

.acme-contact a {
  color: #0b2a44;
  text-decoration: none;
  font-weight: 600;
}

.acme-contact a:hover {
  text-decoration: underline;
}

.acme-footer-illustration {
  background: #ffffff;
  text-align: center;
  padding: 20px 0 10px;
  position: relative;
  overflow: hidden;
}

.acme-footer-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: 
    linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0) 80%, #ffffff 100%),
    linear-gradient(to top, #ffffff 0%, rgba(255,255,255,0) 40%);
}

.acme-footer-illustration img {
  width: 100%;
  max-width: 50vw;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: .95;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%),
                      linear-gradient(to bottom, #000 65%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%),
              linear-gradient(to bottom, #000 65%, transparent 100%);
  mask-composite: intersect;
}

.acme-footer-bottom {
  background: var(--brand-primary);
  border-top: 1px solid rgba(255,255,255,.15);
}

.acme-card {
  height: 22px;
  width: auto;
  background: rgba(255,255,255,.95);
  padding: 3px 6px;
  border-radius: 6px;
}

.acme-newsletter-card {
  background: #f8f9fb;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 18px;
  height: 100%;
}

/* Responsive Overrides */
@media (max-width: 767.98px) {
    .v2-hero-slider {
        height: 62vh;
        min-height: 440px;
    }

    .v2-hero-media {
        object-fit: cover;
        object-position: center center;
    }

    .v2-hero-caption {
        left: 10px;
        bottom: 15px;
        max-width: calc(100% - 20px);
        padding: 0;
    }

    .v2-hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .v2-hero-heading {
        font-size: 1.85rem;
        line-height: 1.22;
        margin-bottom: 0.75rem !important;
    }

    /* Hide prev/next navigation arrows on mobile so they don't cover text/buttons */
    .v2-hero-nav-btn {
        display: none !important;
    }

    /* Adjust accreditation badge position on mobile */
    .v2-hero-accreditation {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 10px auto 0 !important;
        width: fit-content;
        padding: 6px 14px;
    }

    .v2-hero-accreditation img {
        max-height: 38px !important;
    }
}
