/* =============================================================
   NEW HOME PAGE - Custom CSS
   File: public/front/css/new-home.css
   Purpose: Supplement Tailwind compiled CSS with extra styles
   ============================================================= */

/* ---- FONT OVERRIDE ---- */
.nh-body,
.nh-body * {
    box-sizing: border-box;
}

.nh-body {
    font-family: 'Raleway', sans-serif;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif !important;
}

/* ---- COASTAL COLOR OVERRIDES (matching Tailwind custom colors) ---- */
:root {
    --coastal-teal: #23b8bb;
    --coastal-teal-dark: #1a9699;
    --coastal-teal-light: #7de0e2;
    --coastal-teal-soft: rgba(35, 184, 187, 0.12);
    --coastal-brown: #3d2b1a;
    --coastal-brown-mid: #5a4535;
    --coastal-cream: #f8f5f0;
    --coastal-sand: #e8e0d4;
    --coastal-text: #3d2b1a;
    --bg-background: #fff;
}

/* Tailwind arbitrary value color classes */
.bg-\[rgba\(8\,20\,16\,0\.4\)\] { background-color: rgba(8,20,16,0.4) !important; }
.bg-\[rgba\(8\,20\,16\,0\.25\)\] { background-color: rgba(8,20,16,0.25) !important; }
.bg-\[rgba\(8\,20\,16\,0\.6\)\] { background-color: rgba(8,20,16,0.6) !important; }
.bg-black\/50 { background-color: rgba(0,0,0,0.5) !important; }
.bg-black\/40 { background-color: rgba(0,0,0,0.4) !important; }
.bg-black\/30 { background-color: rgba(0,0,0,0.3) !important; }
.bg-white\/10 { background-color: rgba(255,255,255,0.1) !important; }
.bg-white\/15 { background-color: rgba(255,255,255,0.15) !important; }
.bg-white\/90 { background-color: rgba(255,255,255,0.9) !important; }
.bg-\[\#1a2e2a\] { background-color: #1a2e2a !important; }

.text-white\/40 { color: rgba(255,255,255,0.4) !important; }
.text-white\/50 { color: rgba(255,255,255,0.5) !important; }
.text-white\/60 { color: rgba(255,255,255,0.6) !important; }
.text-white\/70 { color: rgba(255,255,255,0.7) !important; }
.text-white\/80 { color: rgba(255,255,255,0.8) !important; }
.text-white\/90 { color: rgba(255,255,255,0.9) !important; }

.border-white\/10 { border-color: rgba(255,255,255,0.1) !important; }
.border-white\/70 { border-color: rgba(255,255,255,0.7) !important; }
.border-white { border-color: #fff !important; }

.bg-coastal-teal-dark { background-color: var(--coastal-teal-dark) !important; }
.hover\:bg-coastal-teal-dark:hover { background-color: var(--coastal-teal-dark) !important; }
.hover\:bg-white\/15:hover { background-color: rgba(255,255,255,0.15) !important; }
.hover\:border-white:hover { border-color: #fff !important; }
.hover\:text-coastal-teal-light:hover { color: var(--coastal-teal-light) !important; }
.hover\:bg-coastal-teal:hover { background-color: var(--coastal-teal) !important; }
.hover\:text-white:hover { color: #fff !important; }

/* ---- LAYOUT UTILITIES ---- */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }
.z-50 { z-index: 50; }
.z-20 { z-index: 20; }
.z-10 { z-index: 10; }
.\-z-10 { z-index: -10; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-8 { bottom: 2rem; }
.top-4 { top: 1rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.bottom-4 { bottom: 1rem; }
.left-1\/2 { left: 50%; }
.top-1\/2 { top: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-4 { transform: translateX(-1rem); }
.-translate-y-1\/2.-translate-x-4 { transform: translateY(-50%) translateX(-1rem); }
.translate-x-4 { transform: translateX(1rem); }
.\-bottom-6 { bottom: -1.5rem; }
.\-right-6 { right: -1.5rem; }
.\-top-6 { top: -1.5rem; }
.\-left-6 { left: -1.5rem; }
.shrink-0 { flex-shrink: 0; }

.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.w-9 { width: 2.25rem; }
.w-16 { width: 4rem; }
.w-12 { width: 3rem; }
.w-8 { width: 2rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-32 { width: 8rem; }
.w-24 { width: 6rem; }
.w-2\.5 { width: 0.625rem; }
.h-screen { height: 100vh; }
.h-full { height: 100%; }
.h-64 { height: 16rem; }
.h-56 { height: 14rem; }
.h-10 { height: 2.5rem; }
.h-9 { height: 2.25rem; }
.h-16 { height: 4rem; }
.h-12 { height: 3rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-32 { height: 8rem; }
.h-24 { height: 6rem; }
.h-2\.5 { height: 0.625rem; }
.h-\[500px\] { height: 500px; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-sm { max-width: 24rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-8 { padding-bottom: 2rem; }
.pt-20 { padding-top: 5rem; }
.pt-8 { padding-top: 2rem; }
.pt-4 { padding-top: 1rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mt-0\.5 { margin-top: 0.125rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.grid { display: grid; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.rounded { border-radius: 0.25rem; }
.rounded-sm { border-radius: 0.125rem !important; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-l-lg { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-\[1\.5px\] { border-width: 1.5px; }
.border-coastal-teal { border-color: var(--coastal-teal) !important; }

.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.shadow-\[0_4px_30px_rgba\(0\,0\,0\,0\.04\)\] { box-shadow: 0 4px 30px rgba(0,0,0,0.04); }
.shadow-\[0_4px_30px_rgba\(0\,0\,0\,0\.06\)\] { box-shadow: 0 4px 30px rgba(0,0,0,0.06); }
.shadow-\[0_4px_20px_rgba\(0\,0\,0\,0\.04\)\] { box-shadow: 0 4px 20px rgba(0,0,0,0.04); }

.object-cover { object-fit: cover; }
.text-white { color: #fff !important; }
.font-bold { font-weight: 700 !important; }
.font-semibold { font-weight: 600 !important; }
.font-medium { font-weight: 500 !important; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-\[1\.8\] { line-height: 1.8; }
.leading-\[1\.75\] { line-height: 1.75; }
.leading-\[1\.85\] { line-height: 1.85; }
.leading-\[1\.9\] { line-height: 1.9; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.16em\] { letter-spacing: 0.16em; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.12em\] { letter-spacing: 0.12em; }
.tracking-\[0\.1em\] { letter-spacing: 0.1em; }
.tracking-\[0\.08em\] { letter-spacing: 0.08em; }
.tracking-\[0\.05em\] { letter-spacing: 0.05em; }
.\-tracking-\[0\.01em\] { letter-spacing: -0.01em; }
.tracking-\[0\.03em\] { letter-spacing: 0.03em; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-\[0\.6rem\] { font-size: 0.6rem; }
.text-\[0\.65rem\] { font-size: 0.65rem; }
.text-\[0\.7rem\] { font-size: 0.7rem; }
.text-\[0\.75rem\] { font-size: 0.75rem; }
.text-\[0\.78rem\] { font-size: 0.78rem; }
.text-\[0\.82rem\] { font-size: 0.82rem; }
.text-\[0\.88rem\] { font-size: 0.88rem; }
.text-\[0\.95rem\] { font-size: 0.95rem; }
.text-\[0\.97rem\] { font-size: 0.97rem; }
.text-\[1rem\] { font-size: 1rem; }
.text-\[clamp\(2\.6rem\,6vw\,4\.5rem\)\] { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.text-\[clamp\(1\.9rem\,4vw\,3rem\)\] { font-size: clamp(1.9rem, 4vw, 3rem); }

.transition-all { transition: all 0.3s; }
.transition-colors { transition: color 0.3s, background-color 0.3s, border-color 0.3s; }
.transition-opacity { transition: opacity 0.3s; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.opacity-0 { opacity: 0; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.cursor-pointer { cursor: pointer; }

.appearance-none { -webkit-appearance: none; appearance: none; }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--coastal-teal); }
.focus\:border-coastal-teal:focus { border-color: var(--coastal-teal) !important; }

.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* ---- GRADIENT UTILITY ---- */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-\[rgba\(8\,20\,16\,0\.4\)\] { --tw-gradient-from: rgba(8,20,16,0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-\[rgba\(8\,20\,16\,0\.25\)\] { --tw-gradient-stops: var(--tw-gradient-from), rgba(8,20,16,0.25), var(--tw-gradient-to); }
.to-\[rgba\(8\,20\,16\,0\.6\)\] { --tw-gradient-to: rgba(8,20,16,0.6); }
.from-black\/40 { --tw-gradient-from: rgba(0,0,0,0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-transparent { --tw-gradient-to: transparent; }
.from-black\/30 { --tw-gradient-from: rgba(0,0,0,0.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }
.bg-fixed { background-attachment: fixed; }

/* ---- HERO SECTION ---- */
#home.relative {
    min-height: 700px;
}

#home .hero-content-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ---- SPACE-Y ---- */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* ---- GRID RESPONSIVE ---- */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
    .sm\:bottom-0 { bottom: 0; }
    .sm\:right-0 { right: 0; }
    .sm\:top-auto { top: auto; }
    .sm\:flex-col { flex-direction: column; }
    .sm\:col-span-3 { grid-column: span 3; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:p-14 { padding: 3.5rem; }
    .md\:-translate-x-6 { transform: translateY(-50%) translateX(-1.5rem); }
    .md\:translate-x-6 { transform: translateY(-50%) translateX(1.5rem); }
    .md\:max-w-\[420px\] { max-width: 420px; }
    .md\:inline-flex { display: inline-flex; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg\:hidden { display: none !important; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2; }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---- TESTIMONIAL SLIDER ---- */
.nh-testimonial-slide { display: none; }
.nh-testimonial-slide:first-child { display: block; }

.nh-testimonial-dot { 
    height: 0.625rem; 
    border-radius: 9999px; 
    transition: all 0.3s;
    cursor: pointer;
    width: 0.625rem;
    background-color: var(--coastal-sand);
    border: none;
}

.nh-testimonial-dot.active-dot { 
    width: 2rem; 
    background-color: var(--coastal-teal); 
}

.nh-prev-btn, .nh-next-btn {
    position: absolute;
    top: 50%;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--coastal-brown-mid);
    transition: all 0.3s;
    transform: translateY(-50%);
}

.nh-prev-btn { left: 0; transform: translateY(-50%) translateX(-1rem); }
.nh-next-btn { right: 0; transform: translateY(-50%) translateX(1rem); }

@media (min-width: 768px) {
    .nh-prev-btn { transform: translateY(-50%) translateX(-1.5rem); }
    .nh-next-btn { transform: translateY(-50%) translateX(1.5rem); }
}

.nh-prev-btn:hover, .nh-next-btn:hover { 
    background-color: var(--coastal-teal); 
    color: white;
}

/* ---- CTA PARALLAX ---- */
.bg-fixed { background-attachment: fixed; }

/* ---- STAR RATING ---- */
.fill-coastal-teal { fill: var(--coastal-teal); }
.text-coastal-teal { fill: var(--coastal-teal); stroke: var(--coastal-teal); }

/* ---- MOBILE FIX ---- */
@media (max-width: 767px) {
    .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
    .py-28 { padding-top: 4rem; padding-bottom: 4rem; }
    .gap-16 { gap: 2rem; }
    .h-\[500px\] { height: 300px; }
    .px-6 { padding-left: 1rem; padding-right: 1rem; }
    .mb-16 { margin-bottom: 2.5rem; }
    .gap-12 { gap: 2rem; }
}

/* ---- PLACEHOLDER TEXT ---- */
.placeholder\:text-white\/30::placeholder { color: rgba(255,255,255,0.3); }
.placeholder\:text-coastal-text\/60::placeholder { color: rgba(61,43,26,0.6); }

/* ---- FOCUS RING ---- */
.focus\:ring-coastal-teal\/40:focus { box-shadow: 0 0 0 2px rgba(35,184,187,0.4); }

/* ---- DROP SHADOW FOR TEXT ---- */
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0,0,0,0.04)) drop-shadow(0 4px 3px rgba(0,0,0,0.1)); }

/* ---- MOBILE MENU ---- */
.nh-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
}

/* ---- ACTIVE HEADER SCROLLED ---- */
.nh-header.scrolled {
    background: rgba(26, 46, 42, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    padding: 0.75rem 0;
}
