/* Private Client Page Styles */

/* Luxury color palette */
:root {
    --deep-charcoal: #1C1C1C;
    --ivory: #F8F7F3;
    --gold: #D4AF37;
    --primary-color: #D4AF37; /* Override global primary to gold */
    --secondary-color: #D4AF37; /* Ensure secondary uses gold as well */
    --luxury-color: #D4AF37; /* Override luxury button gradient color */
    --slate: #4C4C4C;
    --champagne: #F2E9DA;
    --platinum: #E5E4E2;
    --onyx: #0F0F0F;
}

/* Custom typography using same fonts as index.html */
.private-client-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--deep-charcoal);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.section-header--five .section-header__inner {
    background: linear-gradient(135deg, rgb(177 170 148 / 25%) 0%, rgb(55 49 30 / 45%) 30%, rgb(99 93 73 / 25%) 70%, rgb(145 137 110 / 25%) 100%) !important;
}

.private-client-text {
    font-family: inherit;
    color: var(--slate);
    line-height: 1.6;
}

/* Luxury button styling */
.luxury-btn {
    border: 2px solid var(--gold);
    color: var(--deep-charcoal);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.luxury-btn:hover {
    background-color: var(--gold);
    color: var(--deep-charcoal);
}

.luxury-btn-light {
    border: 2px solid var(--gold);
    color: var(--gold);
    background-color: transparent;
}

.luxury-btn-light:hover {
    background-color: var(--gold);
    color: var(--deep-charcoal);
}

.luxury-btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.luxury-btn-outline:hover {
    background: var(--gold);
    color: var(--deep-charcoal);
}

/* Gold divider */
.gold-divider {
    border: none;
    border-top: 1px solid var(--gold);
    width: 80px;
    margin: 60px auto;
}

/* Luxury section backgrounds */
.luxury-section {
    background-color: var(--ivory);
    padding: 80px 0;
}

.luxury-section-dark {
    background-color: var(--deep-charcoal);
    color: var(--ivory);
}

.luxury-section-champagne {
    background-color: var(--champagne);
}

.luxury-section-platinum {
    background-color: var(--platinum);
}

/* Mobile CTA bar */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-charcoal);
    color: var(--ivory);
    justify-content: center;
    align-items: center;
    padding: 15px;
    z-index: 1000;
}

.mobile-cta-bar a {
    color: var(--ivory);
    font-weight: bold;
}

@media (max-width: 767px) {
    .mobile-cta-bar {
        display: flex;
    }
}

/* Hero section enhancements */
.private-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.private-hero__bgimg {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.private-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ivory);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.private-hero p {
    font-family: 'DM Sans', sans-serif;
    color: var(--champagne);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Glass effect styling */
.glass-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.glass-section .container {
    position: relative;
    z-index: 2;
}

/* Feature cards styling */
.luxury-feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.luxury-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.luxury-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.luxury-feature-card * {
    position: relative;
    z-index: 2;
}

.luxury-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--deep-charcoal);
    font-size: 24px;
}

/* Google Reviews Section Styling */
.google-reviews-container {
    overflow: hidden;
    position: relative;
    margin-top: 30px;
}

.google-reviews-scroll {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    animation: scrollReviews 30s linear infinite;
}

.google-reviews-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.google-review-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 300px;
    flex-shrink: 0;
}

.google-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.google-review-card * {
    position: relative;
    z-index: 2;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    position: relative;
    margin-right: 12px;
}

.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.google-logo {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #4285F4;
    border: 1px solid #e0e0e0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--deep-charcoal);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.review-date {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.review-stars {
    margin-bottom: 12px;
}

.review-stars i {
    font-size: 14px;
    margin-right: 2px;
}

.review-text {
    color: var(--deep-charcoal);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.review-footer {
    margin-top: auto;
}

.read-more-link {
    color: #4285F4;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.read-more-link:hover {
    text-decoration: underline;
}

.google-reviews-header {
    margin-bottom: 30px;
}

/* ===========================================
   Header "Get a Quote" Button (Private Client)
   =========================================== */

.btn-glass-primary {
    /* Gold gradient background */
    background: linear-gradient(135deg, var(--gold) 0%, #bfa733 100%) !important;
    /* Ensure legible contrast */
    color: var(--deep-charcoal) !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3) !important;
}

.btn-glass-primary:hover {
    opacity: 0.9 !important;
    color: var(--deep-charcoal) !important;
}

/* Stats section */
.stats-section {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f8f8f8 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.luxury-testimonial {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-charcoal);
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Utility classes for common inline styles */
.hero-video-style {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.hero-overlay {
    background: rgba(28, 28, 28, 0.7);
}

.hero-content {
    margin-top: 100px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0.8px;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.hero-subtitle {
    display: block;
    font-weight: 200;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-main-text {
    display: block;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.hero-highlight {
    display: block;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    padding: 0 20px;
    letter-spacing: 1.5px;
}

.hero-highlight-inner {
    position: relative;
    display: inline-block;
}

.hero-highlight-text {
    display: inline-block;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
    opacity: 0.8;
}

.hero-underline-small {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta {
    font-size: 0.95rem;
    padding: 14px 28px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
    border-width: 1px;
}

/* Stats section styles */
.stats-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="luxury-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="%23D4AF37" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23luxury-pattern)"/></svg>');
    opacity: 0.3;
    pointer-events: none; /* Ensure pattern is non-interactive */
    z-index: 1; /* Place below content within stacking context */
}

.stats-header-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 8px 20px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 20px;
}

.stats-header-badge-text {
    font-weight: 200;
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}

.stats-main-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 200;
    color: var(--deep-charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.stats-title-line1 {
    display: block;
    font-weight: 300;
}

.stats-title-line2 {
    display: block;
    font-weight: 400;
    color: var(--gold);
}

.stats-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 2rem;
}

.stats-description {
    font-family: inherit;
    font-size: 1.15rem;
    color: var(--slate);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.stat-card {
    text-align: center;
    padding: 60px 30px;
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.92) 100%);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(212, 175, 55, 0.06);
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 24px 48px rgba(212, 175, 55, 0.15), 0 8px 16px rgba(0,0,0,0.1);
    border-color: rgba(212, 175, 55, 0.25);
    background: linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
    opacity: 0.8;
}

.stat-card-accent-line1 {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.stat-card-accent-line2 {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 1px;
    background: var(--gold);
    opacity: 0.3;
}

.stat-number {
    opacity: 0.95;
    margin-bottom: 8px;
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: var(--deep-charcoal);
}

.stat-label {
    margin-top: 18px;
    font-weight: 500;
    letter-spacing: 1.2px;
    font-size: 0.9rem;
    color: var(--slate);
    text-transform: uppercase;
    opacity: 0.85;
}

.stat-card-bottom-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.stat-card-bottom-line {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 1px;
    background: var(--gold);
    opacity: 0.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .google-reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-main-title {
        font-size: 2.2rem;
    }
    
    .stat-card {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .google-reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-content {
        margin-top: 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-main-title {
        font-size: 1.8rem;
    }
}

/* Utility: Bootstrap-style mb-6 (6rem) for custom spacing */
.mb-6 {
    margin-bottom: 6rem !important;
}

/* Ensure stat rows have consistent vertical spacing on smaller screens */
.stats-section .row.mt-5 {
    row-gap: 2.5rem; /* Adds additional space between rows on wrap */
}

@media (max-width: 576px) {
    .stats-section .row.mt-5 {
        row-gap: 2rem;
    }
    .stat-card {
        margin-bottom: 1rem; /* safety margin for stacked cards */
    }
}
