* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c9a227;
    --primary-dark: #a68620;
    --primary-light: #f5f0e1;
    --accent-color: #e85f7a;
    --accent-light: #fce8eb;
    --gold: #c9a227;
    --cream: #f5f1eb;
    --text-color: #1a1a2e;
    --text-secondary: #5f6368;
    --text-muted: #80868b;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --surface: #ffffff;
    --border-color: #e8eaed;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition-base);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    transition: var(--transition-base);
}

header.scrolled nav {
    padding: 0.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 110px;
    width: auto;
    transition: var(--transition-base);
}

header.scrolled .logo img {
    height: 55px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    display: block;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* WhatsApp Header Button */
.header-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-base);
}

.header-whatsapp:hover {
    transform: scale(1.15);
    background: rgba(37, 211, 102, 0.1);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 2rem 80px;
    background: var(--cream);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.welcome-text {
    display: none;
}

.hero h1 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.highlight {
    color: var(--gold);
    position: relative;
}

.tagline {
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.85;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image::before {
    display: none;
}

.hero-image img {
    position: relative;
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
    object-fit: cover;
}

/* Testimonials */
.testimonials {
    padding: 5rem 2rem 3rem;
    background: var(--background);
}

.testimonials .section-title {
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

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

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar svg {
    width: 100%;
    height: 100%;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-info strong {
    color: var(--text-color);
    font-size: 0.95rem;
}

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

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 1.5rem 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Logo Strip */
.logo-strip {
    background: var(--background);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
}

.logo-strip::before,
.logo-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-strip::before {
    right: 0;
    background: linear-gradient(to left, var(--background), transparent);
}

.logo-strip::after {
    left: 0;
    background: linear-gradient(to right, var(--background), transparent);
}

.logo-strip-inner {
    width: 100%;
    overflow: hidden;
}

.logo-strip-track {
    display: flex;
    gap: 3rem;
    animation: logoScroll 20s linear infinite;
    width: max-content;
}

.logo-strip-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 70px;
    padding: 0.5rem;
    transition: var(--transition-base);
}

.logo-strip-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition-base);
}

.logo-strip-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

@media (max-width: 768px) {
    .logo-strip {
        padding: 1.5rem 0;
    }

    .logo-strip-item {
        width: 120px;
        height: 50px;
    }

    .logo-strip-track {
        gap: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 2rem;
    background: var(--background-alt);
}

.faq-section .section-title {
    margin-bottom: 0.5rem;
}

.faq-section .section-subtitle {
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: right;
    gap: 1rem;
    transition: var(--transition-base);
}

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

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-base);
}

.faq-item.active .faq-icon {
    background: var(--gold);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1.5rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .faq-answer p {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.3);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    background-color: var(--background-alt);
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Pink Banner */
.pink-banner {
    background: var(--accent-color);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: -180px;
}

.pink-banner h2 {
    color: white;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin: 0;
}

/* About Section */
.about {
    padding: 120px 2rem;
    background: var(--background);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
}

.image-frame {
    position: relative;
    display: inline-block;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.5;
}

.image-frame::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    z-index: -2;
}

.image-frame img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: 2rem;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-content p strong {
    color: var(--accent-color);
    font-weight: 600;
}

.about-content .btn {
    margin-top: 2rem;
}

/* Quote Section */
.quote-section {
    padding: 60px 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 10%;
    font-size: 20rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: white;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.quote-author {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Services Section */
.services {
    padding: 120px 2rem;
    background: var(--background-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition-base);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.service-card-link {
    text-decoration: none;
    display: block;
}

/* Bat Mitzvah Section */
.batmitzvah-section {
    padding: 100px 2rem;
    background: var(--background);
}

.batmitzvah-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.batmitzvah-content {
    display: flex;
    flex-direction: column;
}

.batmitzvah-content .btn {
    align-self: flex-start;
}

.batmitzvah-content h2 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.batmitzvah-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.batmitzvah-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
}

.batmitzvah-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.batmitzvah-features li {
    position: relative;
    padding-right: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.05rem;
}

.batmitzvah-features li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.batmitzvah-image {
    display: flex;
    align-self: stretch;
}

.batmitzvah-image img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    object-position: center top;
}

/* CTA Section */
.cta-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c42d47 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section::before {
    top: -200px;
    left: -100px;
}

.cta-section::after {
    bottom: -200px;
    right: -100px;
}

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

.cta-content h2 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

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

/* Contact Section */
.contact {
    padding: 120px 2rem;
    background: var(--background-alt);
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-top: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--background);
}

.form-group label {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group textarea ~ label {
    top: 1.5rem;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--background);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0.75rem;
    font-size: 0.75rem;
    color: var(--primary-color);
    transform: none;
    font-weight: 500;
}

.contact-form .btn {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 70px;
    width: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin-bottom: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 4rem;
    }

    .about-wrapper,
    .batmitzvah-wrapper {
        gap: 4rem;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        padding: 100px 2rem 2rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
    }

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

    .nav-links a {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image::before {
        width: 280px;
        height: 280px;
    }

    .hero-image img {
        max-width: 360px;
    }

    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .about-content h2::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .image-frame::before,
    .image-frame::after {
        display: none;
    }

    .batmitzvah-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .batmitzvah-image {
        order: -1;
    }

    .batmitzvah-image img {
        height: auto;
        max-width: 400px;
        margin: 0 auto;
    }

    .batmitzvah-features {
        text-align: right;
        max-width: 380px;
        margin: 2rem auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .about,
    .services,
    .batmitzvah-section,
    .contact {
        padding: 80px 1.5rem;
    }

    .quote-section,
    .cta-section {
        padding: 60px 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .service-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 42px;
    }

    .welcome-text {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .tagline {
        font-size: 1.15rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 280px;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Overlay for mobile menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Focus states for accessibility */
.btn:focus-visible,
.nav-links a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Page Header */
.page-header {
    padding: 100px 2rem 40px;
    background: var(--cream);
    text-align: center;
}

.page-header h1 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* More Workshops Section */
.more-workshops {
    padding: 100px 2rem;
    background: var(--background-alt);
}

.workshops-container {
    max-width: 1100px;
    margin: 0 auto;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.workshop-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.workshop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.workshop-card h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.workshop-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .workshops-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 1.5rem 30px;
    }

    .more-workshops {
        padding: 60px 1.5rem;
    }

    .batmitzvah-section {
        padding: 60px 1.5rem;
    }
}

/* Articles Page */
.articles-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

.article-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--cream));
    color: var(--gold);
}

.article-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.article-card-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.article-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.article-card-read {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition-fast);
}

.article-card:hover .article-card-read {
    color: var(--primary-dark);
}

/* Single Article Page */
.article-header {
    background: var(--cream);
    padding: 140px 2rem 3rem;
    text-align: center;
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.article-back:hover {
    color: var(--primary-dark);
}

.article-header h1 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-meta-divider {
    margin: 0 0.5rem;
}

.article-content {
    padding: 3rem 2rem 4rem;
}

.article-body {
    max-width: 750px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.article-body h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.article-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.article-cta p {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
    .articles-section {
        padding: 2.5rem 1.5rem;
    }

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

    .article-header {
        padding: 100px 1.5rem 2rem;
    }

    .article-header h1 {
        font-size: 1.6rem;
    }

    .article-content {
        padding: 2rem 1.5rem 3rem;
    }

    .article-body h2 {
        font-size: 1.3rem;
    }

    .article-body p {
        font-size: 1rem;
    }
}

/* Content Tabs */
.content-tabs-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.content-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.content-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.content-tab:hover {
    color: var(--gold);
}

.content-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    font-weight: 600;
}

.content-tab svg {
    flex-shrink: 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Radio Episodes */
.radio-intro {
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
}

.radio-intro p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.radio-episodes {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.radio-card {
    display: flex;
    gap: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition-base);
}

.radio-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.radio-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--gold);
}

.radio-card-content {
    flex: 1;
    min-width: 0;
}

.radio-card-episode {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    background: var(--primary-light);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.radio-card-content h3 {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.radio-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.radio-card audio {
    width: 100%;
    height: 40px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .content-tabs-section {
        padding: 1.5rem 1.5rem 3rem;
    }

    .content-tab {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    .radio-card {
        flex-direction: column;
        gap: 1rem;
    }

    .radio-card-icon {
        width: 40px;
        height: 40px;
    }
}

/* Gallery Preview Strip (Home Page) */
.gallery-preview {
    padding: 5rem 2rem 4rem;
    background: var(--background-alt);
}

.gallery-preview .section-title {
    margin-bottom: 0.5rem;
}

.gallery-preview .section-subtitle {
    margin-bottom: 2.5rem;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-preview-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
}

.gallery-preview-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition-base);
}

.gallery-preview-item:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-preview-item:hover img {
    transform: scale(1.08);
}

.gallery-preview-link {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-preview {
        padding: 3rem 1.5rem;
    }
}

/* Gallery Page */
.gallery-page-section {
    padding: 3rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition-base);
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Masonry-like variation for gallery items */
.gallery-item:nth-child(4) {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item:nth-child(7) {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

@media (max-width: 768px) {
    .gallery-page-section {
        padding: 2rem 1.5rem 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-item:nth-child(4),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
    z-index: 2001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
    z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .lightbox-close {
        top: 1rem;
        left: 1rem;
    }
}
