/* ---------------------------
   RESET & GLOBAL
---------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    background: #fff;
    font-family: "Avenir", "Helvetica", sans-serif;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* REMOVE BANNER → TABS GAP */
.no-gap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@font-face{
    font-family:"Avenir LT Pro";
    src:url("/fonts/avenir/AvenirLTProBook.woff2") format("woff2"),
        url("/fonts/avenir/AvenirLTProBook.woff") format("woff");
    font-weight:350;
    font-style:normal;
    font-display:swap;
}

@font-face {
    font-family: 'helvetica';
    src: url('../fonts/Helvetica.woff2') format('woff2'),
        url('../fonts/Helvetica.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: "helvetica-bold";
  src: url("../fonts/helvetica-bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: "high-spirited";
  src: url("../fonts/High-Spirited.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: "gallery-otf";
  src: url("../fonts/Gallery.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

/* @font-face {
  font-family: "gallery-ttf";
  src: url("../fonts/Gallery.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
} */

@font-face {
    font-family: 'gallery-ttf';
    src: url('../fonts/GalleryRegular.woff2') format('woff2'),
        url('../fonts/GalleryRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* ---------------------------
   VARIABLES
---------------------------- */
:root {
    --primary: #0056a6;
    --secondary: #1e3964;

    /* Copper → Rose Gold → Bronze */
    --tab-gradient: linear-gradient(90deg, #785340 0%, #f8c5a9 50%, #8a4d2e 100%);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s ease;
}

/* ---------------------------
   TYPOGRAPHY
---------------------------- */
h1, h2, h3, h4 {
    font-family: "Avenir", sans-serif;
    font-weight: 700;
}

p {
    font-family: "Helvetica", sans-serif;
    line-height: 1.7;
    color: #333;
}

/* ---------------------------
   LAYOUT
---------------------------- */
.container {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}
.section { padding: 60px 0; }

.flex { display: flex; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* ---------------------------
   BUTTONS
---------------------------- */
.btn,
.gradientBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    padding: 12px 22px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.gradientBtn {
    background:linear-gradient(90deg, #785340 0%, #f8c5a9 50%, #8a4d2e 100%) border-box;
        color:#00000
        font-family:gallery !important;
}

/* ---------------------------
   MEMBERSHIP FORM CONTAINER
---------------------------- */
.membershipFormSec {
    position: relative;
    z-index: 2;
    border-radius: 25px !important;
    padding: 20px;
    box-shadow: -8px 0 12px rgb(0 0 0 / 15%), 8px 0 12px rgb(0 0 0 / 5%);
    background-color: #ffffff85;
}

/* ---------------------------
   MEMBERSHIP TABS — FIXED ALL MOBILE ISSUES
---------------------------- */

/* TAB WRAPPER */
.membership-tabs {
    width: 100%;
    margin: 0 auto 25px;
    padding: 0;
    border-radius: 30px;
    background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(153,153,153,0.12) 100%);
    backdrop-filter: blur(4.5px);
    box-shadow: 5px 5px 5px rgb(0 0 0 / 30%);
    font-family: 'AvenirLTStd' !important;
    text-transform:uppercase;
}

/* TAB NAVIGATION – MOBILE FIX */
.membership-tabs .tab-nav {
    display: inline-flex;
    gap: 12px;
    padding: 10px;

    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;

    white-space: nowrap;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    border:2px solid #785340;
    border-radius: 20px;
}
.membership-tabs .tab-nav::-webkit-scrollbar { display: none; }

/* TAB BUTTON */
.membership-tabs .tab-nav li a {
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
    
    overflow: hidden;
    transition: transform .35s ease, color .35s ease;
}
.memberdetailsheading{
     text-align: center !important;
    font-family: high spirited !important;
    font-weight: bold !important;
    font-size: 58px !important;
}

.memberdetails-subheading
{
    text-align: center !important;
    font-family: "gallery" !important;
    font-weight: bold !important;
    font-size: 36px !important;
    color:#9B6550;
} 
/* GRADIENT FILL EFFECT */
.membership-tabs .tab-nav li a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tab-gradient);
    border-radius: 30px;

    transform: scale(0);
    transform-origin: center;
    opacity: 0;

    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    z-index: -1;
}

/* ACTIVE & HOVER */
.membership-tabs .tab-nav li a.active::before,
.membership-tabs .tab-nav li a:hover::before {
    transform: scale(1);
    opacity: 1;
}

.membership-tabs .tab-nav li a.active,
.membership-tabs .tab-nav li a:hover {
    color: #fff;
    transform: scale(1.06);
}

.membership-tabs .tab-nav li a:active {
    transform: scale(0.96);
}

/* TAB CONTENT */
.membership-tabs .tab-content {
    margin-top: 25px;
}

/* ---------------------------
   FORM ELEMENTS
---------------------------- */
.form-group { margin-bottom: 18px; }

.form-control {
    width: 100%;
    height: 48px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
}

textarea.form-control {
    height: auto;
    min-height: 140px;
}

/* FLOATING LABELS */
.floatingLabel { position: relative; }

.floatingLabel label {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 14px;
    color: #666;
    transition: var(--transition);
    pointer-events: none;
}

.floatingLabel input:focus + label,
.floatingLabel input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 12px;
    color: var(--primary);
}

/* FORM ROW */
.form-row {
    display: flex;
    gap: 18px;
}

/* ---------------------------
   MOBILE RESPONSIVE
---------------------------- */
@media (max-width: 576px) {
    body { overflow-x: hidden; }
    .container { padding: 0 14px; }

    .section { padding: 10px 0 !important; }

    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    p { font-size: 14px; }

    /* MOBILE TAB FIXES */
    .membership-tabs {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .membership-tabs .tab-nav {
        gap: 8px;
        padding: 8px !important;

        overflow-x: auto !important;
        width: 100%;
        white-space: nowrap;
        border:1px solid #785340;
    }

    .membership-tabs .tab-nav li a {
        padding: 8px 14px;
        min-width: 120px;
        font-size: 13px;
        font-family: "gallery-otf";
    }

    .membership-tabs .tab-content { margin-top: 18px; }

    /* FORM STACK */
    .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .form-control {
        height: 42px;
        font-size: 14px;
        padding: 8px 12px;
    }

    textarea.form-control { min-height: 110px; }

    .floatingLabel label {
        top: 10px;
        font-size: 13px;
    }
    .floatingLabel input:focus + label,
    .floatingLabel input:not(:placeholder-shown) + label {
        top: -6px;
        font-size: 11px;
    }

    .btn,
    .gradientBtn {
        font-size: 14px;
        height: 44px;
        padding: 10px 16px;
        
    }

    .grid-2 { grid-template-columns: 1fr; gap: 20px; }
}

/* Smallest Devices */
@media (max-width: 360px) {
    .membership-tabs .tab-nav li a {
        min-width: 100px;
        font-size: 12px;
        padding: 7px 12px;
    }

    .form-control {
        height: 40px;
        font-size: 13px;
    }
}

.form-title {
    font-weight: 600 !important;
    margin: 30px 0 15px !important;
    text-align: center !important;
    font-size: 1.3rem !important;
    color: #3d2d22 !important;
    font-family: "gallery" !important;
}

/* ---------------------------
 Pearls
---------------------------- */

/* Pearls full-page background */
#pearls {
  position: fixed;   /* fixed so it stays behind while scrolling */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;  /* background */
}

#pearls .pearl {
  position: absolute;
  pointer-events: none;
  opacity: 0.55; /* soft translucent effect */
}

#pearls img {
  width: 30%;
  height: auto;
  display: block;
}

/* ---------------------------
   BOOTSTRAP SELECT OVERRIDE
---------------------------- */
.form-select,
.form-control {
  border-color: #785340 !important;
}

.form-select:focus,
.form-control:focus {
  border-color: #785340 !important;
  box-shadow: none !important;
  outline: none !important;
}

.form-select:hover {
  border-color: #5c3f2a;
}

/* ---------------------------
   LUXURY SELECT STYLE
---------------------------- */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #fff;
  border: 1px solid #785340;
  border-radius: 14px;
  padding: 1.25rem 3rem 1.25rem 1rem;
  font-size: 15px;
  font-weight: 500;
  color: #3d2d22;

  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}

/* Hover */
.form-select:hover {
  border-color: #5c3f2a;
  transform: translateY(-1px);
}

/* Focus */
.form-select:focus {
  border-color: #5c3f2a;
  box-shadow: 0 8px 18px rgba(120, 83, 64, 0.18);
  transform: translateY(-2px);
}

/* Custom arrow */
.form-select {
  background-image:
    linear-gradient(45deg, transparent 50%, #785340 50%),
    linear-gradient(135deg, #785340 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
