/* ═══════════════════════════════════════════════════════
   Theme CSS — rc-theme.css
   Contains only what cannot be expressed in Tailwind:
   - CSS custom properties (used by Swiper/testimonial CSS)
   - Complex gradients (hero overlay, dest overlay)
   - Swiper responsive-grid overrides
   - Testimonial Swiper styles
   - Car nav button styles
   - Font & utility supplements
   ═══════════════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
    --rc-gold:   #c9a96e;
    --rc-dark:   #1a1a1a;
    --rc-cream:  #faf9f7;
    --rc-cream2: #f0ede8;
    --rc-text:   #2d2d2d;
    --rc-muted:  #6b6b6b;
    --rc-border: #e2ddd7;
}

/* ── Complex gradients (not cleanly expressible in Tailwind) ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.12) 0%,
        rgba(0,0,0,0.38) 45%,
        rgba(0,0,0,0.68) 100%
    );
}
.dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.08) 100%);
}

/* ── Font utility (Cormorant Garamond — not in default Tailwind config) ── */
.font-cormorant { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ── Section H2 — unified editorial spec (Cormorant Light 48/48/1.4) ── */
section h2.font-cormorant {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 300 !important;
    font-size: 48px !important;
    line-height: 48px !important;
    letter-spacing: 1.4px !important;
}
@media (max-width: 640px) {
    section h2.font-cormorant {
        font-size: 34px !important;
        line-height: 38px !important;
        letter-spacing: 1px !important;
    }
}

/* ── Gallery Swiper ── */
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    color: var(--rc-gold) !important;
    background: rgba(0,0,0,0.35);
    transition: background 0.3s;
    width: 2.5rem !important;
    height: 2.5rem !important;
}
.gallerySwiper .swiper-button-next:hover,
.gallerySwiper .swiper-button-prev:hover { background: rgba(0,0,0,0.6); }
.gallerySwiper .swiper-button-next::after,
.gallerySwiper .swiper-button-prev::after { font-size: 0.8rem !important; font-weight: 700; }

/* ── Responsive card swipers (mobile swiper → desktop grid) ── */
.serviceCardsSwiper { border-top: 1px solid var(--rc-border); border-bottom: 1px solid var(--rc-border); overflow: hidden; }
@media (min-width: 768px) {
    .serviceCardsSwiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        transform: translate3d(0,0,0) !important;
        width: 100% !important;
    }
    .serviceCardsSwiper .swiper-slide { width: auto !important; margin: 0 !important; display: flex !important; }
    .serviceCardsSwiper .swiper-slide > div { width: 100%; }
    .serviceCardsSwiper .swiper-slide:nth-child(2) { border-left: 1px solid var(--rc-border); border-right: 1px solid var(--rc-border); }
    .serviceCardsSwiper .swiper-pagination { display: none !important; }
}
.featureCardsSwiper, .expCardsSwiper { overflow: hidden; }
@media (min-width: 768px) {
    .featureCardsSwiper .swiper-wrapper,
    .expCardsSwiper .swiper-wrapper { gap: 1px !important; background: var(--rc-border) !important; transform: translate3d(0,0,0) !important; width: 100% !important; }
    .featureCardsSwiper .swiper-wrapper { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; }
    .expCardsSwiper .swiper-wrapper     { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; }
    .featureCardsSwiper .swiper-slide,
    .expCardsSwiper .swiper-slide       { width: auto !important; margin: 0 !important; display: flex !important; }
    .featureCardsSwiper .swiper-slide > div,
    .expCardsSwiper .swiper-slide > div { width: 100%; }
    .featureCardsSwiper .swiper-pagination,
    .expCardsSwiper .swiper-pagination  { display: none !important; }
}
@media (min-width: 1024px) { .expCardsSwiper .swiper-wrapper { grid-template-columns: repeat(4, 1fr) !important; } }

.destCardsSwiper { overflow: hidden; }
.destCardsSwiper .swiper-slide { height: 340px; }
@media (min-width: 768px) {
    .destCardsSwiper .swiper-wrapper { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 1.5rem !important; transform: translate3d(0,0,0) !important; width: 100% !important; background: transparent !important; }
    .destCardsSwiper .swiper-slide   { width: auto !important; margin: 0 !important; height: 420px !important; }
    .destCardsSwiper .swiper-pagination { display: none !important; }
}

.serviceCardsSwiper .swiper-pagination-bullet,
.featureCardsSwiper .swiper-pagination-bullet,
.destCardsSwiper .swiper-pagination-bullet,
.expCardsSwiper .swiper-pagination-bullet { background: var(--rc-gold) !important; opacity: 0.4 !important; }
.serviceCardsSwiper .swiper-pagination-bullet-active,
.featureCardsSwiper .swiper-pagination-bullet-active,
.destCardsSwiper .swiper-pagination-bullet-active,
.expCardsSwiper .swiper-pagination-bullet-active { opacity: 1 !important; }
.serviceCardsSwiper .swiper-pagination,
.featureCardsSwiper .swiper-pagination,
.destCardsSwiper .swiper-pagination,
.expCardsSwiper .swiper-pagination { margin-top: 1.5rem; position: static !important; }

/* ── Testimonials Swiper ── */
.testi-swiper-wrap { position: relative; padding-bottom: 48px; }
.testimonialsSwiper { overflow: hidden; }
.testimonialsSwiper .swiper-slide { height: auto; }
.testi-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem 1.5rem; border: 1px solid rgba(201,169,110,0.2); border-top: 2px solid var(--rc-gold); background: rgba(255,255,255,0.04); }
.testi-text  { flex: 1; margin-bottom: 1.5rem; font-size: 0.875rem; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,0.8); }
.testi-footer { margin-top: auto; }
.testimonialsNext, .testimonialsPrev { color: var(--rc-gold) !important; background: rgba(0,0,0,0.5); border-radius: 50%; width: 40px !important; height: 40px !important; top: calc(50% - 24px); transition: background 0.3s ease; }
.testimonialsNext:hover, .testimonialsPrev:hover { background: rgba(201,169,110,0.25); }
.testimonialsNext:after, .testimonialsPrev:after { font-size: 15px !important; font-weight: 700; }
.testi-pagination { bottom: 0 !important; }
.testi-pagination .swiper-pagination-bullet { background: rgba(201,169,110,0.35); opacity: 1; width: 8px; height: 8px; transition: all 0.3s ease; }
.testi-pagination .swiper-pagination-bullet-active { background: var(--rc-gold); width: 22px; border-radius: 4px; }
@media (max-width: 767px) {
    .testimonialsPrev, .testimonialsNext { display: none !important; }
    .testi-card { padding: 1.5rem 1.25rem; }
}
@media (min-width: 768px) {
    .testi-card { padding: 2rem 1.75rem; }
    .testi-swiper-wrap { padding-left: 48px; padding-right: 48px; }
    .testimonialsPrev { left: 0 !important; }
    .testimonialsNext { right: 0 !important; }
}

/* ── Car nav buttons ── */
.car-sq-nav { display: flex; justify-content: center; gap: 0.75rem; padding: 2rem 0 0.5rem; }
.car-sq-btn { width: 48px; height: 48px; border: 1px solid var(--rc-border); background: transparent; color: var(--rc-dark); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, background 0.2s, color 0.2s; -webkit-tap-highlight-color: transparent; user-select: none; flex-shrink: 0; }
.car-sq-btn:hover { border-color: var(--rc-dark); background: var(--rc-dark); color: #fff; }
@media (max-width: 640px) { .car-sq-btn { width: 44px; height: 44px; } }

/* ── Utility supplements (Tailwind gaps for values not in default config) ── */
.font-cormorant { font-family: 'Cormorant Garamond', Georgia, serif; }
.text-rc-gold  { color: var(--rc-gold); }
.fill-rc-gold  { fill:  var(--rc-gold); }
.text-white-65 { color: rgba(255,255,255,0.65); }
.text-white-55 { color: rgba(255,255,255,0.55); }
.text-white-40 { color: rgba(255,255,255,0.40); }
.bg-black-55   { background: rgba(0,0,0,0.55); }
.aspect-card   { aspect-ratio: 4 / 3; }
.line-clamp-2  { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
