.text-white {
  color: #fff !important;
}

.text-dark {
  color: #000 !important;
}

body {
  overflow-x: hidden;
}

.text-orange {
  color: #e85c0d !important;
}

.fs-35 {
  font-size: 35px !important;
}

.bg-dark {
  background-color: #000 !important;
}

.bg-white {
  background-color: #fff !important;
}

.bg-red {
  background-color: red !important;
}

.rounded-5 {
  border-radius: 5px !important;
}

.white-line {
  color: #ffffff !important;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  z-index: 9999;
  min-width: 140px;
}

.whatsapp-button i {
  font-size: 24px;
}

.whatsapp-button span {
  font-size: 16px;
  user-select: none;
}

.whatsapp-button:hover {
  background-color: #1ebe57;
}

@media (max-width: 400px) {
  .whatsapp-button {
    padding: 10px 16px;
    min-width: 120px;
    font-size: 14px;
  }

  .whatsapp-button i {
    font-size: 20px;
  }

  .whatsapp-button span {
    font-size: 14px;
  }
}

table,
th,
td {
  border: 1px solid #ccc;
  border-collapse: collapse;
}
th,
td {
  padding: 10px;
  text-align: center;
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
  vertical-align: middle;
  word-wrap: break-word;
}

table th {
  background: #f8f9fa;
  font-weight: bold;
}
/*tablo*/
.product-box {
  width: 280px;
  border: 1px solid transparent;
  padding: 10px;
}
.product-box h2 {
  color: #e85c0d;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.product-spec span {
  display: block;
  font-size: 20px;
  color: #333;
}
.product-spec strong {
  display: block;
  font-size: 25px;
  color: #000;
}
.divider {
  border-bottom: 1px solid #ccc;
  margin: 15px 0;
}
.fs-20 {
  font-size: 20px;
}

.navbar {
  background-color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.navbar a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  padding: 5px 10px;
  transition: color 0.3s;
}
.navbar a:hover {
  color: #007bff;
}
.navbar a.active {
  font-weight: bold;
}

.cat-section {
  padding: 30px 0;
}

.cat-grid {
  display: grid;
  gap: 24px;
}

.cat-item {
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cat-item:hover {
  transform: translateY(-5px);
}

.cat-avatar {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f6;
  border: 1px solid #eee;
}

.cat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.cat-item:hover img {
  transform: scale(1.05);
}

.cat-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #888;
}

.cat-name {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

.cat-count {
  display: block;
  font-size: 11px;
  color: #777;
  margin-top: 3px;
}

.grid-desktop-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-desktop-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-desktop-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-desktop-5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid-desktop-6 {
  grid-template-columns: repeat(6, 1fr);
}

.grid-desktop-7 {
  grid-template-columns: repeat(7, 1fr);
}

.grid-desktop-8 {
  grid-template-columns: repeat(8, 1fr);
}

@media (max-width: 992px) {
  .grid-tablet-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-tablet-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-tablet-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-tablet-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 576px) {
  .grid-mobile-1 {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-mobile-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-mobile-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-mobile-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.category-slider-section {
  padding: 40px 0 20px 0;
  background: #fdfdfd;
  border-bottom: 1px solid #eaeaea;
}

.category-swiper {
  padding-bottom: 40px !important;
  padding-top: 10px;
}

.category-item {
  text-align: center;
  display: block;
  text-decoration: none;
}

.category-img-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: #fff;
}

.category-item:hover .category-img-wrap,
.category-item.active .category-img-wrap {
  border-color: #d0c6ff;
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(12, 4, 49, 0.2);
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-item:hover .category-img-wrap img {
  transform: scale(1.15);
}

.category-title {
  font-size: 16px;
  color: #444;
  font-weight: 700;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-item:hover .category-title,
.category-item.active .category-title {
  color: rgb(12, 4, 49);
}

/* Swiper Pagination Styling */
.swiper-pagination-bullet {
  background: rgb(12, 4, 49);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 20px;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .category-img-wrap {
    width: 150px;
    height: 150px;
  }

  .category-title {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .category-img-wrap {
    width: 110px;
    height: 110px;
  }

  .category-title {
    font-size: 12px;
  }

  .category-slider-section {
    padding: 30px 0 10px 0;
  }
}

/* === CSS from inc/models.php === */
.yachts-section {
        background: #f5ecdd;
        padding: 2.5rem 1rem 2rem;
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .yachts-title {
        font-size: 2.8rem;
        font-weight: 900;
        letter-spacing: -1px;
        color: #1f3f2b;
        text-align: center;
        margin-bottom: 2rem;
    }

    .scene {
        perspective: 900px;
        perspective-origin: 50% 50%;
        max-width: 1100px;
        margin: 0 auto;
        padding: 0.5rem 0 1rem;
    }

    .oval-grid-wrapper {
        position: relative;
        transform-style: preserve-3d;
        will-change: transform;
    }

    .oval-row {
        display: none;
        /* Artık kullanılmıyor, Grid'e geçildi */
    }

    #rowsContainer {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
        justify-items: center;
        align-items: center;
        width: 100%;
    }

    @media (max-width: 768px) {
        #rowsContainer {
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }
    }

    .yacht-item {
        cursor: pointer;
        transition: transform 0.25s cubic-bezier(.22, .68, 0, 1.4), filter 0.22s, display 0s;
        filter: grayscale(10%) opacity(0.82);
        transform-origin: center bottom;
        position: relative;
        width: 100%;
        text-align: center;
    }

    .yacht-item img {
        width: 180px;
        height: 105px;
        object-fit: contain;
    }

    @media (max-width: 768px) {
        .yacht-item img {
            width: 100px;
            height: 60px;
        }
    }

    .yacht-item:not(.selected):hover {
        transform: scale(1.6) translateY(-10px);
        filter: grayscale(0%) opacity(1) drop-shadow(0 8px 22px rgba(0, 0, 0, 0.2));
        z-index: 50;
    }

    .grid-blurred .yacht-item:not(.selected) {
        filter: grayscale(50%) opacity(0.18) blur(1px);
        pointer-events: none;
        transition: filter 0.3s;
    }

    .grid-blurred .yacht-item.selected {
        filter: none !important;
        opacity: 1;
        z-index: 60;
    }

    /* ── FULLSCREEN OVERLAY — ekranın tam ortası ── */
    .detail-fullscreen {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        align-items: center;
        justify-content: center;
    }

    .detail-fullscreen.show {
        display: flex;
    }

    .detail-fullscreen::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(232, 238, 245, 0.72);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .detail-card {
        position: relative;
        background: #fff;
        border-radius: 22px;
        padding: 2.2rem 2rem 1.8rem;
        width: 660px;
        max-width: 92vw;
        text-align: center;
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.14), 0 4px 16px rgba(0, 0, 0, 0.06);
        animation: popIn 0.38s cubic-bezier(.22, .68, 0, 1.45) both;
    }

    @keyframes popIn {
        from {
            transform: scale(0.68) translateY(30px);
            opacity: 0;
        }

        to {
            transform: scale(1) translateY(0);
            opacity: 1;
        }
    }

    .detail-img-wrap {
        width: 100%;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .detail-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.14));
        animation: floatIn 0.4s cubic-bezier(.22, .68, 0, 1.45) 0.05s both;
    }

    @media (max-width: 768px) {
        .detail-card {
            padding: 2rem 1.5rem 1.5rem;
        }

        .detail-img-wrap {
            height: 140px;
        }

        .detail-img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
        }

        .yachts-title {
            font-size: 2rem;
        }
    }

    @keyframes floatIn {
        from {
            transform: scale(0.8) translateY(16px);
            opacity: 0;
        }

        to {
            transform: scale(1) translateY(0);
            opacity: 1;
        }
    }

    .detail-name {
        font-size: 1.15rem;
        font-weight: 900;
        color: #1f3f2b;
        margin-bottom: 5px;
    }

    .detail-price {
        font-size: 0.92rem;
        color: #777;
        margin-bottom: 1.3rem;
    }

    .detail-btn {
        display: inline-block;
        background: #1f3f2b;
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 12px 44px;
        font-size: 0.92rem;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        letter-spacing: 0.02em;
        transition: background 0.15s, transform 0.15s;
    }

    .detail-btn:hover {
        background: #15291c;
        color: #fff;
        transform: scale(1.04);
    }

    .close-btn {
        position: absolute;
        top: 13px;
        right: 14px;
        background: #f5ecdd;
        border: 1px solid #e0e0e0;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #555;
        transition: background 0.12s;
    }

    .close-btn:hover {
        background: #dde3ea;
    }

    /* filter bar */
    .filter-bar {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

    .filter-pill-wrap {
        background: #fff;
        border-radius: 50px;
        padding: 9px 20px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        border: none;
        background: transparent;
        font-size: 0.85rem;
        font-weight: 500;
        color: #555;
        padding: 6px 14px;
        border-radius: 50px;
        cursor: pointer;
        transition: background 0.15s, color 0.15s;
        white-space: nowrap;
    }

    .filter-btn.active,
    .filter-btn:hover {
        background: #1f3f2b;
        color: #fff;
    }

    .filter-add {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 1.5px solid #ddd;
        background: transparent;
        font-size: 1.1rem;
        color: #888;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
    }

/* === CSS from inc/slides.php === */
.rg-section {
        background: #1f3f2b;
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    /* ---------- BACKGROUNDS ---------- */
    .rg-bg-glow {
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
            radial-gradient(ellipse 55% 65% at 15% 55%, #183020 0%, transparent 65%),
            radial-gradient(ellipse 35% 45% at 85% 25%, #14281b 0%, transparent 60%),
            radial-gradient(ellipse 30% 40% at 75% 80%, #0f1f15 0%, transparent 55%);
    }

    .rg-noise {
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: .45;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
    }

    @media (max-width: 768px) {
        .rg-noise {
            display: none !important;
        }
    }

    .rg-deco-vline {
        position: absolute;
        left: 28px;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, #c8922a40, #c8922a60, #c8922a40, transparent);
    }

    .rg-deco-ring {
        position: absolute;
        right: -200px;
        top: 50%;
        transform: translateY(-50%);
        width: 700px;
        height: 700px;
        border-radius: 50%;
        border: 1px solid #c8922a0d;
        pointer-events: none;
    }

    .rg-deco-ring2 {
        position: absolute;
        right: -120px;
        top: 50%;
        transform: translateY(-50%);
        width: 500px;
        height: 500px;
        border-radius: 50%;
        border: 1px solid #c8922a0a;
        pointer-events: none;
    }

    .rg-corner-tl,
    .rg-corner-br {
        position: absolute;
        width: 60px;
        height: 60px;
        pointer-events: none;
    }

    .rg-corner-tl {
        top: 24px;
        left: 50px;
        border-top: 1px solid #c8922a30;
        border-left: 1px solid #c8922a30;
    }

    .rg-corner-br {
        bottom: 24px;
        right: 24px;
        border-bottom: 1px solid #c8922a30;
        border-right: 1px solid #c8922a30;
    }

    /* ---------- LAYOUT ---------- */
    .rg-inner {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: center;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 22px 5px;
    }

    /* ============================================================
   LEFT — TYPOGRAPHY & CTA
   ============================================================ */
    .rg-left {
        animation: rg-slideLeft .9s cubic-bezier(.22, 1, .36, 1) both;
    }

    .rg-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 10px;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: #c8922a;
        font-weight: 500;
        margin-bottom: 28px;
    }

    .rg-eyebrow::before {
        content: '';
        display: block;
        width: 36px;
        height: 1px;
        background: #c8922a;
    }

    .rg-eyebrow::after {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #c8922a;
        opacity: .5;
    }

    /* 
    .rg-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(58px, 8vw, 105px);
        font-weight: 900;
        color: #f5ecdd;
        line-height: .92;
        letter-spacing: -.025em;
        margin-bottom: 10px;
    } */
    .rg-title {
        /* font-family: 'Playfair Display', serif; */
        font-size: clamp(58px, 8vw, 85px);
        font-weight: 700;
        color: #f5ecdd;
        line-height: .92;
        letter-spacing: -.025em;
        margin-bottom: 10px;
    }

    .rg-title-line2 {
        display: block;
        color: #c8922a;
        font-style: italic;
        font-size: .7em;
        letter-spacing: .01em;
        margin-top: 10px;
        font-weight: 700;
    }

    .rg-title-accent {
        display: inline-block;
        position: relative;
    }

    .rg-desc {
        font-size: 17px;
        line-height: 1.85;
        color: rgba(245, 236, 221, 0.85);
        font-weight: 300;
        max-width: 450px;
        margin: 28px 0 32px;
    }

    .rg-desc strong {
        color: #f5ecdd;
        font-weight: 500;
    }

    .rg-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 40px;
    }

    .rg-tag {
        font-size: 10px;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: #5e4e38;
        border: 1px solid #2e2010;
        padding: 6px 14px;
        border-radius: 2px;
        transition: border-color .2s, color .2s;
        cursor: default;
    }

    .rg-tag:hover {
        border-color: #c8922a55;
        color: #c8922a;
    }

    .rg-cta-row {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .rg-btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: #c8922a;
        color: #0f0a04;
        font-family: 'DM Sans', sans-serif;
        font-size: 17px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 20px 36px;
        border-radius: 2px;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: background .25s, transform .2s;
        position: relative;
        overflow: hidden;
    }

    .rg-btn-primary::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, .1);
        transform: translateX(-110%) skewX(-15deg);
        transition: transform .4s;
    }

    .rg-btn-primary:hover::after {
        transform: translateX(110%) skewX(-15deg);
    }

    .rg-btn-primary:hover {
        background: #dfa535;
        transform: translateY(-2px);
    }

    .rg-btn-primary svg {
        width: 14px;
        height: 14px;
        transition: transform .2s;
        flex-shrink: 0;
    }

    .rg-btn-primary:hover svg {
        transform: translateX(4px);
    }

    .rg-btn-ghost {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #7a6a52;
        font-size: 13px;
        letter-spacing: .08em;
        text-transform: uppercase;
        text-decoration: none;
        border: none;
        background: none;
        cursor: pointer;
        transition: color .2s;
    }

    .rg-btn-ghost:hover {
        color: #c8922a;
    }

    .rg-btn-ghost span {
        border-bottom: 1px solid currentColor;
    }

    .rg-divider {
        width: 48px;
        height: 1px;
        background: #2a1e0e;
        margin: 40px 0 32px;
    }

    .rg-stats {
        display: flex;
        gap: 36px;
        flex-wrap: wrap;
    }

    .rg-stat-num {
        font-family: 'Playfair Display', serif;
        font-size: 30px;
        font-weight: 700;
        color: #c8922a;
        line-height: 1;
        counter-reset: none;
    }

    .rg-stat-label {
        font-size: 10px;
        color: #4a3c2a;
        text-transform: uppercase;
        letter-spacing: .1em;
        margin-top: 5px;
    }

    /* ============================================================
   RIGHT — PRODUCT CAROUSEL
   ============================================================ */
    .rg-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: rg-slideRight .9s .15s cubic-bezier(.22, 1, .36, 1) both;
    }

    .rg-carousel-wrap {
        position: relative;
        width: 100%;
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: scale(1.30);
    }

    .rg-track {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ---------- CARDS ---------- */
    .rg-card {
        position: absolute;
        background: #ffffff;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 22px 18px 20px;
        cursor: pointer;
        transition: all .45s cubic-bezier(.34, 1.25, .64, 1);
        will-change: transform, opacity, width;
    }

    /* States */
    .rg-card.s-active {
        width: 253px;
        z-index: 10;
        transform: translateX(0) scale(1);
        opacity: 1;
        box-shadow: 0 40px 100px rgba(0, 0, 0, .65), 0 0 0 1px rgba(200, 146, 42, .15);
    }

    .rg-card.s-prev {
        width: 198px;
        z-index: 5;
        transform: translateX(-196px) scale(.86);
        opacity: .55;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
    }

    .rg-card.s-next {
        width: 198px;
        z-index: 5;
        transform: translateX(196px) scale(.86);
        opacity: .55;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
    }

    .rg-card.s-hidden {
        width: 154px;
        z-index: 1;
        transform: translateX(0) scale(.7);
        opacity: 0;
        pointer-events: none;
    }

    /* Badge */
    .rg-card-badge {
        align-self: flex-end;
        font-size: 9px;
        font-weight: 500;
        letter-spacing: .1em;
        text-transform: uppercase;
        background: #1e3d2a;
        color: #7ecfa0;
        padding: 5px 12px;
        border-radius: 20px;
        margin-bottom: 14px;
        white-space: nowrap;
    }

    .rg-card.s-prev .rg-card-badge,
    .rg-card.s-next .rg-card-badge {
        font-size: 8px;
        padding: 4px 9px;
    }

    /* Image area */
    .rg-card-img-box {
        width: 100%;
        background: #f5f1eb;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-bottom: 18px;
        flex-shrink: 0;
        transition: height .45s cubic-bezier(.34, 1.25, .64, 1);
    }

    .rg-card.s-active .rg-card-img-box {
        height: 200px;
    }

    .rg-card.s-prev .rg-card-img-box,
    .rg-card.s-next .rg-card-img-box {
        height: 155px;
    }

    .rg-card.s-hidden .rg-card-img-box {
        height: 130px;
    }

    .rg-card-img {
        width: 300px;
        height: 300px;
        object-fit: contain;
        transition: transform .35s;
        transform: scale(1.025);
    }

    .rg-card:hover .rg-card-img {
        transform: scale(1.1) rotate(1deg);
    }

    /* Placeholder (used when no real img) */
    .rg-img-placeholder {
        width: 82%;
        height: 82%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .rg-img-placeholder svg {
        width: 64px;
        height: 64px;
        opacity: .2;
    }

    .rg-img-placeholder-lbl {
        font-size: 9px;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: #c8922a;
        opacity: .4;
    }

    /* Name */
    .rg-card-name {
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        color: #1a1209;
        text-align: center;
        line-height: 1.4;
        margin-bottom: 16px;
        transition: font-size .4s;
    }

    .rg-card.s-prev .rg-card-name,
    .rg-card.s-next .rg-card-name {
        font-size: 12px;
        margin-bottom: 0;
    }

    /* Buttons — only on active */
    .rg-card-btns {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .rg-card.s-prev .rg-card-btns,
    .rg-card.s-next .rg-card-btns,
    .rg-card.s-hidden .rg-card-btns {
        display: none;
    }

    .rg-btn-wa {
        width: 100%;
        border: none;
        border-radius: 30px;
        background: #8b1a2a;
        color: #fff;
        font-family: 'DM Sans', sans-serif;
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        padding: 14px;
        cursor: pointer;
        transition: background .2s, transform .15s;
    }

    .rg-btn-wa:hover {
        background: #a82030;
        transform: translateY(-1px);
    }



    /* ---------- NAV ARROWS ---------- */
    .rg-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(20, 16, 9, .85);
        border: 1px solid #3a2c1a;
        color: #c8922a;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background .2s, transform .2s, border-color .2s;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .rg-nav:hover {
        background: #c8922a;
        color: #0f0a04;
        border-color: #c8922a;
        transform: translateY(-50%) scale(1.1);
    }

    .rg-nav-prev {
        left: -22px;
    }

    .rg-nav-next {
        right: -22px;
    }

    /* ---------- DOTS ---------- */
    .rg-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 28px;
    }

    .rg-dot {
        width: 6px;
        height: 6px;
        border-radius: 3px;
        background: #2e2010;
        cursor: pointer;
        transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    }

    .rg-dot.is-active {
        width: 24px;
        background: #c8922a;
    }

    /* ---------- COUNTER ---------- */
    .rg-counter {
        position: absolute;
        bottom: -40px;
        right: 0;
        font-size: 10px;
        letter-spacing: .15em;
        text-transform: uppercase;
        color: #3a2c1a;
    }

    .rg-counter span {
        color: #c8922a;
    }

    /* ============================================================
   ANIMATIONS
   ============================================================ */
    @keyframes rg-slideLeft {
        from {
            opacity: 0;
            transform: translateX(-48px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes rg-slideRight {
        from {
            opacity: 0;
            transform: translateX(48px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* ============================================================
   RESPONSIVE
   ============================================================ */
    @media (max-width: 900px) {
        .rg-inner {
            grid-template-columns: 1fr;
            gap: 48px;
            padding: 26px 5px;
        }

        .rg-left {
            text-align: center;
        }

        .rg-eyebrow,
        .rg-tags,
        .rg-cta-row,
        .rg-stats {
            justify-content: center;
        }

        .rg-desc {
            margin-left: auto;
            margin-right: auto;
        }

        .rg-deco-ring,
        .rg-deco-ring2 {
            display: none;
        }

        .rg-carousel-wrap {
            height: 480px;
        }
    }

    @media (max-width: 520px) {
        .rg-inner {
            padding: 18px 5px;
        }
        .rg-card {
            position: absolute;
            background: #ffffff;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 14px 15px;
            cursor: pointer;
            transition: all .45s cubic-bezier(.34, 1.25, .64, 1);
            will-change: transform, opacity, width;
        }
        .rg-track {
            margin-top: -60px;
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .rg-btn-wa {
            width: 100%;
            border: none;
            border-radius: 10px;
            background: #8b1a2a;
            color: #fff;
            font-family: 'DM Sans', sans-serif;
            font-size: 11px;
            font-weight: 500;
            text-transform: uppercase;
            padding: 10px;
            cursor: pointer;
            transition: background .2s, transform .15s;
        }
        .rg-btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: #c8922a;
            color: #0f0a04;
            font-family: 'DM Sans', sans-serif;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 10px 36px;
            border-radius: 2px;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: background .25s, transform .2s;
            position: relative;
            overflow: hidden;
        }

        .rg-title {
            font-size: clamp(38px, 10vw, 60px);
        }

        .rg-card.s-active {
            width: 250px;
        }

        .rg-card.s-prev {
            transform: translateX(-150px) scale(.82);
        }

        .rg-card.s-next {
            transform: translateX(150px) scale(.82);
        }

        .rg-card.s-prev .rg-card-img-box,
        .rg-card.s-next .rg-card-img-box {
            height: 130px;
        }

        .rg-nav-prev {
            left: -14px;
        }

        .rg-nav-next {
            right: -14px;
        }
    }

/* === CSS from inc/hero.php === */
/* Reset and basic setup for the hero section */
    #hero-scene {
        position: relative;
        width: 100%;
        height: 300vh;
        /* Scroll length */
        background: #f5ecdd;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        color: #111;
    }

    .hero-sticky {
        position: sticky;
        top: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        will-change: transform;
        backface-visibility: hidden;
    }

    #hero-color-bg {
        position: absolute;
        inset: 0;
        background: #f5ecdd;
        z-index: 1;
    }

    #three-canvas {
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
    }

    /* Left Navigation Links */
    .hero-sidebar-left {
        position: absolute;
        top: 20%;
        left: 4%;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .sidebar-label {
        font-size: 14px;
        color: #1f3f2b;
        font-weight: 600;
        margin-bottom: 5px;
        text-transform: uppercase;
    }

    .hero-nav-item {
        font-size: 14px;
        color: rgba(31, 63, 43, 0.6);
        text-decoration: none;
        transition: color 0.3s;
    }

    .hero-nav-item.active,
    .hero-nav-item:hover {
        color: #1f3f2b;
        font-weight: 500;
    }

    /* Bottom Left Text Block */
    .hero-bottom {
        position: absolute;
        bottom: 8%;
        left: 4%;
        width: 35%;
        z-index: 10;
    }

    .introducing {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: rgba(31, 63, 43, 0.6);
        margin-bottom: 10px;
    }

    .hero-bottom h1 {
        font-size: 64px;
        font-weight: 400;
        line-height: 1.1;
        margin-bottom: 20px;
        color: #1f3f2b;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 14px;
        line-height: 1.6;
        color: rgba(31, 63, 43, 0.8);
        font-weight: 300;
    }

    /* Bottom Right Buy/Charter Button */
    .hero-cta-btn {
        position: absolute;
        bottom: 5%;
        right: 5%;
        background: #111;
        color: #fff;
        padding: 20px 50px;
        border-radius: 12px 12px 12px 40px;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 4px;
        text-decoration: none;
        z-index: 10;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .hero-cta-btn:hover {
        background: #333;
        color: #fff;
        transform: translateY(-2px);
    }

    .hero-cta-btn i {
        display: none;
    }

    /* Right Dots Arch Removed */

    /* Panels */
    .hero-info-panel {
        position: absolute;
        z-index: 15;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s ease, transform 0.6s ease;
        transform: translateY(20px);
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .hero-info-panel.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .info-panel-card {
        background: #1f3f2b;
        padding: 25px 35px;
        border-radius: 16px;
        border: 1px solid rgba(245, 236, 221, 0.1);
        box-shadow: 0 20px 40px rgba(31, 63, 43, 0.2);
        min-width: 260px;
    }

    .ip-eyebrow {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(245, 236, 221, 0.6);
        margin-bottom: 5px;
    }

    .ip-title {
        font-size: 18px;
        font-weight: 600;
        color: #f5ecdd;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .ip-desc {
        display: block;
        font-size: 13px;
        color: rgba(245, 236, 221, 0.8);
        line-height: 1.5;
        white-space: normal;
    }

    .info-panel-line {
        width: 50px;
        height: 2px;
        background: #1f3f2b;
    }

    #info-panel-1 {
        top: 25%;
        left: 30%;
    }

    #info-panel-2 {
        top: 45%;
        right: 25%;
        flex-direction: row-reverse;
    }

    #info-panel-3 {
        top: 65%;
        left: 35%;
    }

    /* Hide other clutter elements */
    .hero-sidebar-right,
    .ui-coordinates,
    .hero-scroll-indicator,
    .hero-grain,
    .hero-vignette,
    .hero-gradient-bottom {
        display: none !important;
    }

    @media (max-width: 768px) {
        .hero-bottom {
            width: 90%;
            left: 5%;
            bottom: 10%;
        }

        .hero-bottom h1 {
            font-size: 42px;
        }

        .hero-sidebar-left {
            display: none;
        }

        .hero-cta-btn {
            bottom: 2%;
            right: 5%;
            width: 90%;
            border-radius: 12px;
            text-align: center;
        }

        .hero-info-panel {
            left: 50% !important;
            right: auto !important;
            transform: translateX(-50%) translateY(20px);
            flex-direction: column;
        }

        .hero-info-panel.visible {
            transform: translateX(-50%) translateY(0);
        }

        .info-panel-card {
            min-width: 260px;
            padding: 15px 20px;
        }

        .info-panel-line {
            display: none;
        }

        #info-panel-1 {
            top: 12%;
        }

        #info-panel-2 {
            top: 32%;
        }

        #info-panel-3 {
            top: 52%;
        }
    }
