/* ============================================
   Israel Property Advisors - Premium Styles
   ============================================ */

:root {
    --gold: #B8860B;
    --gold-light: #D4A843;
    --gold-dark: #8B6508;
    --navy: #1a1a2e;
    --navy-light: #2d2d44;
    --charcoal: #2c2c2c;
    --slate: #4a4a5a;
    --cream: #FAF8F5;
    --white: #ffffff;
    --text: #333333;
    --text-light: #6b6b7b;
    --border: #e8e6e1;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* Section Headers */
.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-large {
    padding: 18px 42px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
}

.nav.scrolled .logo-text {
    color: var(--navy);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    letter-spacing: 0.3px;
}

.nav.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav.scrolled .nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
}

.nav-cta:hover {
    background: var(--gold-dark) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.nav.scrolled .nav-toggle span {
    background: var(--navy);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--navy);
    /* Replace with actual image */
    background-image: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 46, 0.7) 0%,
        rgba(26, 26, 46, 0.5) 50%,
        rgba(26, 26, 46, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    z-index: 1;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-top: 20px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-title span {
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Stats */
.stats {
    background: var(--navy);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.placeholder-image {
    background: linear-gradient(135deg, #e8e6e1 0%, #d4d0c8 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.6;
    border: 2px dashed var(--border);
}

.placeholder-image.portrait {
    aspect-ratio: 3/4;
}

.placeholder-image.landscape {
    aspect-ratio: 6/5;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content .section-tag,
.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text em {
    color: var(--text);
    font-style: italic;
}

.about-highlight {
    background: linear-gradient(135deg, rgba(198, 169, 98, 0.08), rgba(198, 169, 98, 0.15));
    border-left: 3px solid var(--gold);
    padding: 18px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
}

/* Services */
.services {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--gold);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Process */
.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light), var(--border));
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--navy);
    color: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.step-content {
    padding-top: 14px;
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Israel */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content .section-tag,
.why-content .section-title {
    text-align: left;
}

.why-content > p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.why-list {
    list-style: none;
}

.why-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.why-list li:first-child {
    border-top: 1px solid var(--border);
}

.why-list li strong {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.why-list li span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    background: var(--cream);
}

/* Carousel */
.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-arrow {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.6rem;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel-arrow:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    max-width: 700px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Video Testimonials */
.video-testimonials {
    margin-top: 60px;
}

.video-section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 36px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-card iframe {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    border: none;
    background: #000;
}

.video-name {
    padding: 16px;
    text-align: center;
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
}

/* CTA */
.cta {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--navy);
    background-image: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.85);
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-info > p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    color: var(--navy);
}

.contact-item a,
.contact-item span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form {
    background: var(--cream);
    padding: 40px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b6b7b' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--navy);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    margin-bottom: 12px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    max-width: 300px;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .why-grid,
    .contact-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right var(--transition);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 1.1rem;
    }

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

    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .process-timeline::before {
        left: 28px;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }

    .process-step {
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        padding: 24px;
    }

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