/* ========================================
   JURIST1 — Custom Styles v2
   Design éditorial & premium
   ======================================== */

/* --- Base --- */
html {
    scroll-behavior: smooth;
}

/* --- Navbar --- */
.navbar-scrolled {
    background-color: rgba(17, 24, 39, 0.95) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* --- Hero --- */
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(180,155,107,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- Section numbering --- */
.section-number {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(180,155,107,0.15);
    position: absolute;
    top: -20px;
    left: -10px;
    pointer-events: none;
    user-select: none;
}

/* --- Accent line --- */
.accent-line {
    width: 40px;
    height: 2px;
    background: #B49B6B;
    display: inline-block;
}
.accent-line-long {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, #B49B6B, transparent);
}

/* --- Expertise card v2 --- */
.expertise-card-v2 {
    position: relative;
    padding: 2.5rem 2rem;
    background: transparent;
    border-left: 2px solid rgba(180,155,107,0.15);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.expertise-card-v2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(180,155,107,0.04);
    transition: width 0.5s ease;
}
.expertise-card-v2:hover {
    border-left-color: #B49B6B;
}
.expertise-card-v2:hover::before {
    width: 100%;
}

/* --- Team card v2 --- */
.team-img-wrapper {
    position: relative;
    overflow: hidden;
}
.team-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(17,24,39,0.9));
    pointer-events: none;
}
.team-img-wrapper img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.team-card-v2:hover .team-img-wrapper img {
    transform: scale(1.05);
}

/* --- Testimonial --- */
.testimonial-v2 {
    position: relative;
}
.testimonial-v2::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: rgba(180,155,107,0.12);
    position: absolute;
    top: -30px;
    left: 0;
    line-height: 1;
    pointer-events: none;
}

/* --- Decorative dot grid --- */
.dot-grid {
    background-image: radial-gradient(rgba(180,155,107,0.12) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- Vertical text --- */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.25em;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: rgba(180,155,107,0.4);
    font-weight: 600;
}

/* --- Partner hover --- */
.partner-item {
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}
.partner-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- Button v2 --- */
.btn-accent {
    position: relative;
    overflow: hidden;
    background: #B49B6B;
    color: white;
    transition: all 0.4s ease;
}
.btn-accent:hover {
    background: #9A834F;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(180,155,107,0.25);
}
.btn-outline {
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
}

/* --- Form v2 --- */
.form-field {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(180,155,107,0.2);
    padding: 1rem 0;
    transition: border-color 0.3s ease;
    outline: none;
    width: 100%;
    font-family: 'Inter', sans-serif;
}
.form-field:focus {
    border-bottom-color: #B49B6B;
}
.form-field::placeholder {
    color: #999;
}

/* --- Horizontal scroll text --- */
@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.scrolling-text {
    animation: scroll-text 25s linear infinite;
    white-space: nowrap;
}

/* --- Stats divider --- */
.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(transparent, rgba(180,155,107,0.3), transparent);
}

/* --- Swiper override --- */
.swiper-pagination-bullet {
    background: #B49B6B !important;
    opacity: 0.3;
    width: 8px;
    height: 8px;
}
.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px;
    border-radius: 4px;
}

/* --- Custom Select Component styling --- */
.select-options {
    background-color: #1a1f2e !important;
    opacity: 1 !important;
    z-index: 100 !important;
}
.custom-select .select-options {
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide default scrollbar for dates horizontal scroll but keep it functional */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth zoom transition for date cards */
.booking-date-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.booking-date-card:hover {
    transform: translateY(-2px);
}
