/* ═══════════════════════════════════════════
   עו"ד מאיר טדגי — Main Stylesheet
   Design System: Google Stitch
   Colors: Gold #C5A059 | Dark #121212 | Light #F7F7F7
   ═══════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
    --primary: #C5A059;
    --primary-dark: #A68545;
    --primary-light: #D4AF37;
    --bg-dark: #121212;
    --bg-surface: #1E1E1E;
    --bg-surface-alt: #1A1A1A;
    --bg-deep: #0D0D0D;
    --bg-light: #F7F7F7;
    --bg-white: #FFFFFF;
    --text-primary: #222222;
    --text-light: #E5E5E5;
    --text-muted: #999999;
    --text-gray: #666666;
    --success: #2D8B5E;
    --warning: #D4A72C;
    --danger: #C94444;
    --info: #3B82C4;
}

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Monogram Background ─── */
.monogram-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35rem;
    line-height: 1;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.monogram-dark {
    color: rgba(255, 255, 255, 0.03);
}

.monogram-light {
    color: #f3f3f3;
}

/* ─── Liquid Glass Card ─── */
.liquid-glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.liquid-glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.15);
}

/* ─── Buttons ─── */
.btn-primary {
    background-color: var(--primary);
    color: #000;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-dark {
    background: transparent;
    border: 1px solid #ddd;
    color: var(--text-primary);
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-dark:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ─── Section Styles ─── */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: rgba(197, 160, 89, 0.15);
    color: var(--primary);
}

.badge-dark {
    background: rgba(18, 18, 18, 0.1);
    color: var(--text-primary);
}

/* ─── Counter Animation ─── */
.counter {
    font-family: 'Outfit', sans-serif;
}

/* ─── FAQ Accordion ─── */
.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    cursor: pointer;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
    color: var(--text-gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--primary);
    font-size: 24px;
}

/* ─── Timeline ─── */
.timeline-item {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: 7px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    z-index: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    right: 13px;
    top: 22px;
    width: 2px;
    height: calc(100% - 22px);
    background: var(--primary);
    opacity: 0.3;
}

.timeline-item:last-child::after {
    display: none;
}

/* ─── Post Card ─── */
.post-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

/* ─── Success Card ─── */
.success-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    border-top: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.success-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ─── Testimonial Card ─── */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* ─── Stars ─── */
.stars {
    color: #FFB800;
    font-size: 18px;
    letter-spacing: 2px;
}

/* ─── Contact Form ─── */
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Noto Sans Hebrew', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Noto Sans Hebrew', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ─── Checkmark List ─── */
.check-list li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 12px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ─── Map Grayscale ─── */
.map-grayscale {
    filter: grayscale(1);
    transition: filter 0.3s;
}

.map-grayscale:hover {
    filter: grayscale(0.5);
}

/* ─── Blog Filter Tabs ─── */
.filter-tab {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.filter-tab:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--bg-dark);
    color: white;
    border-color: var(--bg-dark);
}

/* ─── Scroll to top ─── */
#scroll-top {
    transition: opacity 0.3s, transform 0.3s;
}

/* ─── Material Icons ─── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400;
}
