/* ===== RESET & VARIABLES ===== */
:root {
    --walnut: #4A3728;
    --walnut-light: #6B5343;
    --oak: #8B6914;
    --oak-light: #B8922D;
    --sawdust: #F5EDE0;
    --sawdust-dark: #E8DCCC;
    --pine: #D4A853;
    --forest: #4A6741;
    --cream: #FDF8F0;
    --charcoal: #2C1E14;
    --white: #FFFFFF;
    --shadow: rgba(74, 55, 40, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

* {
    cursor: default !important;
    caret-color: transparent;
}

*::selection {
    background: transparent;
    color: inherit;
}

*::-moz-selection {
    background: transparent;
    color: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, span, div, section, nav, footer, header {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

a, button, [type="submit"],
.nav-cta, .btn-primary, .btn-ghost,
.hamburger, .back-to-top, .whatsapp-float,
.lightbox-close, .lightbox-nav,
.nav-links a, .footer-links a,
.video-play-btn {
    cursor: pointer !important;
}

input, textarea {
    cursor: text !important;
    caret-color: var(--walnut);
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--walnut);
    background-color: var(--sawdust);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(245, 237, 224, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to left, var(--oak), var(--pine), var(--oak-light), var(--walnut-light), var(--oak));
    opacity: 0.5;
}

.navbar.scrolled {
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 20px var(--shadow);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--walnut);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--walnut-light);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--oak);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.55rem 1.4rem;
    background: var(--oak);
    color: var(--cream) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-cta:hover {
    background: var(--oak-light);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--walnut);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 3rem;
    position: relative;
    background: linear-gradient(160deg, rgba(44,30,20,0.85) 0%, rgba(74,55,40,0.8) 60%, rgba(90,66,51,0.8) 100%),
                url('images/מהסדנא/IMG-20260414-WA0057.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4A853' stroke-width='0.8'%3E%3Ccircle cx='150' cy='150' r='30'/%3E%3Ccircle cx='150' cy='150' r='55'/%3E%3Ccircle cx='150' cy='150' r='80'/%3E%3Ccircle cx='150' cy='150' r='105'/%3E%3Ccircle cx='150' cy='150' r='130'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 300px 300px;
    opacity: 0.04;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--cream);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero h1 .highlight {
    color: var(--pine);
}

.hero p {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(253, 248, 240, 0.8);
    max-width: 550px;
    margin: 0 auto 2.2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 0.8rem 2rem;
    background: var(--oak);
    color: var(--cream);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--oak-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 105, 20, 0.3);
}

.btn-ghost {
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(253, 248, 240, 0.4);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    border-color: var(--cream);
    background: rgba(253, 248, 240, 0.08);
    transform: translateY(-2px);
}

/* Floating wood shavings */
.shaving {
    position: absolute;
    opacity: 0.07;
    z-index: 1;
}

.shaving-1 {
    top: 15%;
    right: 10%;
    animation: drift1 18s ease-in-out infinite paused;
}

.shaving-2 {
    bottom: 25%;
    left: 8%;
    animation: drift2 22s ease-in-out infinite paused;
}

.shaving-3 {
    top: 40%;
    left: 15%;
    animation: drift3 20s ease-in-out infinite paused;
}

.hero.in-view .shaving-1 { animation-play-state: running; }
.hero.in-view .shaving-2 { animation-play-state: running; }
.hero.in-view .shaving-3 { animation-play-state: running; }

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 15px) rotate(15deg); }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -20px) rotate(-12deg); }
}

@keyframes drift3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, -15px) rotate(10deg); }
}


/* ===== SECTIONS COMMON ===== */
.section {
    padding: 5rem 2rem;
    contain: layout style paint;
}

.section-container {
    max-width: 1140px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--oak);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--walnut);
    margin-bottom: 0.8rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, var(--oak), var(--pine));
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== PROJECTS ===== */
.gallery {
    background: var(--cream);
}

.projects-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.project-btn {
    padding: 0.4rem 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Heebo', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--walnut-light);
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.project-btn:hover {
    color: var(--oak);
}

.project-btn.active {
    color: var(--oak);
    border-bottom-color: var(--oak);
}

.project-photos-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.25,0.8,0.25,1),
                opacity 0.35s ease,
                padding 0.6s cubic-bezier(0.25,0.8,0.25,1);
    padding: 0;
}

.project-photos-container.open {
    max-height: 2000px;
    opacity: 1;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.project-photo-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer !important;
    opacity: 0;
    transform: translateY(15px) scale(0.97);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25,0.8,0.25,1);
}

.project-photos-container.open .project-photo-item {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-photo-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    background: var(--sawdust-dark);
}

.project-photo-item:hover img {
    transform: scale(1.04);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: linear-gradient(135deg, var(--walnut) 0%, var(--charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials .section-tag {
    color: var(--pine);
}

.testimonials .section-title {
    color: var(--cream);
}

.testimonials .section-divider {
    background: linear-gradient(to left, var(--pine), var(--oak));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.review-card {
    background: rgba(245, 237, 224, 0.05);
    border: 1px solid rgba(212, 168, 83, 0.12);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: rgba(245, 237, 224, 0.08);
    border-color: var(--oak);
}

.review-card .review-card-stars {
    color: var(--pine);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.review-card .review-card-text {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(253, 248, 240, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-card .review-card-author {
    color: var(--cream);
    font-weight: 600;
    font-size: 0.9rem;
}

.add-review-card {
    width: 180px;
    height: 180px;
    background: rgba(245, 237, 224, 0.05);
    border: 2px dashed rgba(212, 168, 83, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.add-review-card:hover {
    background: rgba(245, 237, 224, 0.1);
    border-color: var(--pine);
    transform: translateY(-4px);
}

.add-review-card .plus-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--oak), var(--pine));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 300;
    color: var(--cream);
    transition: transform 0.3s ease;
}

.add-review-card:hover .plus-icon {
    transform: scale(1.1);
}

.add-review-card span:last-child {
    color: rgba(253, 248, 240, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Review Modal */
.review-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.review-modal.active {
    display: flex;
}

.review-modal-content {
    background: var(--cream);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 100%;
    position: relative;
}

.review-modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    background: var(--sawdust-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--walnut);
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.review-modal-close:hover {
    background: var(--sawdust);
}

.review-modal-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--walnut);
    margin-bottom: 1.5rem;
    text-align: center;
}

.review-stars-input {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.review-stars-input span {
    font-size: 2rem;
    color: var(--sawdust-dark);
    cursor: pointer !important;
    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

.review-stars-input span.active {
    color: var(--pine);
    transform: scale(1.15);
}

.review-stars-input span.hover {
    color: var(--oak-light);
    transform: scale(1.2);
    text-shadow: 0 0 12px rgba(212, 168, 83, 0.4);
}

.review-modal-content .form-group {
    margin-bottom: 1rem;
}

.review-modal-content .form-group label {
    display: block;
    color: var(--walnut);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.review-modal-content .form-group input,
.review-modal-content .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--sawdust);
    border: 1.5px solid var(--sawdust-dark);
    border-radius: 10px;
    color: var(--walnut);
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.review-modal-content .form-group input:focus,
.review-modal-content .form-group textarea:focus {
    border-color: var(--pine);
}

.review-modal-content .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.review-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--oak);
    color: var(--cream);
    border: none;
    border-radius: 50px;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer !important;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.review-submit-btn:hover {
    background: var(--oak-light);
    transform: translateY(-2px);
}

/* ===== ABOUT ===== */
.about {
    background: var(--sawdust);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    text-align: center;
}

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

.about-text .section-divider {
    margin: 0 auto 1.5rem;
}

.about-text p {
    color: var(--walnut-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    flex: 1;
    text-align: center;
    padding: 1rem 0.5rem;
    border: 2px solid var(--sawdust-dark);
    border-radius: 10px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--sawdust-dark);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--oak);
    display: block;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--walnut-light);
}

.about-image {
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    transform: rotate(-2deg);
    box-shadow: 0 12px 40px rgba(74, 55, 40, 0.25);
    overflow: hidden;
}

.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: -15px;
    left: 15px;
    background: var(--oak);
    color: var(--cream);
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(139, 105, 20, 0.3);
    transform: rotate(2deg);
}

/* ===== CONTACT ===== */
.contact {
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}



.contact .section-tag {
    color: var(--pine);
}

.contact .section-title {
    color: var(--cream);
}

.contact .section-divider {
    background: linear-gradient(to left, var(--pine), var(--oak));
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(245, 237, 224, 0.06);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 20px;
    padding: 36px;
}

.contact-form-intro {
    text-align: center;
    margin-bottom: 28px;
}

.contact-form-intro h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 8px;
}

.contact-form-intro p {
    color: rgba(253, 248, 240, 0.7);
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    color: var(--walnut);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--sawdust);
    border: 1.5px solid var(--sawdust-dark);
    border-radius: 12px;
    color: var(--walnut);
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pine);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

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

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    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='%236B5343' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.form-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 12px;
    border-radius: 14px;
    border: 1px solid rgba(212, 168, 83, 0.2);
    background: rgba(245, 237, 224, 0.05);
    cursor: pointer !important;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--cream);
    font-family: 'Heebo', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.form-action-btn:hover {
    transform: translateY(-3px);
}

.form-action-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.form-action-btn--whatsapp {
    border-color: rgba(37, 211, 102, 0.3);
}
.form-action-btn--whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}
.form-action-btn--whatsapp svg { fill: #25D366; }

.form-action-btn--email {
    border-color: rgba(212, 168, 83, 0.3);
}
.form-action-btn--email:hover {
    background: rgba(212, 168, 83, 0.15);
    border-color: var(--pine);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.2);
}
.form-action-btn--email svg { stroke: var(--pine); fill: none; stroke-width: 2; }

.form-action-btn--phone {
    border-color: rgba(74, 103, 65, 0.3);
}
.form-action-btn--phone:hover {
    background: rgba(74, 103, 65, 0.15);
    border-color: var(--forest);
    box-shadow: 0 8px 25px rgba(74, 103, 65, 0.2);
}
.form-action-btn--phone svg { stroke: #6dbe6d; fill: none; stroke-width: 2; }

/* ===== FOOTER ===== */
.footer {
    background: #231710;
    padding: 3.5rem 2rem 1.5rem;
}

.footer-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 0.8rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(253, 248, 240, 0.55);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(253, 248, 240, 0.55);
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(253, 248, 240, 0.55);
    padding: 0.2rem 0;
}

.footer-bar {
    max-width: 1140px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(253, 248, 240, 0.1);
    text-align: center;
}

.footer-bar p {
    font-size: 0.82rem;
    color: rgba(253, 248, 240, 0.4);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease;
    animation: pulse-wa 2s ease-in-out infinite paused;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    background: var(--oak);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(139, 105, 20, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--oak-light);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--cream);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-2 { transition-delay: 0.2s; }


/* ===== CARVING SECTION ===== */
.carving {
    background: #D4C4AE;
}

.carving .section-title {
    color: var(--walnut);
}

.carving .section-divider {
    background: linear-gradient(to left, var(--walnut-light), var(--oak));
}

.carving-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 2rem 0;
}

.carving-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--walnut-light);
    letter-spacing: 0.15em;
    animation: gentleWave 3s ease-in-out infinite paused;
}

.carving.in-view .carving-text { animation-play-state: running; }

@keyframes gentleWave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.carving-animation {
    display: flex;
    justify-content: center;
}

.carving-svg {
    width: 200px;
    height: 80px;
}

.plane-group {
    animation: planeSlide 3.5s ease-in-out infinite paused;
}

.carving.in-view .plane-group { animation-play-state: running; }

@keyframes planeSlide {
    0% { transform: translateX(170px); }
    70% { transform: translateX(60px); }
    100% { transform: translateX(60px); }
}

.shaving-curl {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: curlGrow 3.5s ease-in-out infinite paused;
}

.carving.in-view .shaving-curl { animation-play-state: running; }

@keyframes curlGrow {
    0% { stroke-dashoffset: 100; opacity: 0; }
    15% { opacity: 1; }
    70% { stroke-dashoffset: 0; opacity: 1; }
    85% { opacity: 0.3; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

/* ===== VIDEO SECTION ===== */
.videos {
    background: var(--sawdust-dark);
}

.videos-wrapper {
    position: relative;
}

.videos-arrow {
    display: none;
}

@media (min-width: 769px) {
    .videos-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(74, 55, 40, 0.1);
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        color: var(--walnut-light);
        align-items: center;
        justify-content: center;
        cursor: pointer !important;
        transition: all 0.3s ease;
    }

    .videos-arrow:hover {
        background: rgba(255, 255, 255, 0.55);
        color: var(--walnut);
        transform: translateY(-50%) scale(1.08);
    }

    .videos-arrow svg {
        width: 18px;
        height: 18px;
    }

    .videos-arrow-right {
        right: -50px;
    }

    .videos-arrow-left {
        left: -50px;
    }

    .videos-arrow.hidden {
        opacity: 0;
        pointer-events: none;
    }
}

.videos-grid {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0;
    overscroll-behavior-x: contain;
    will-change: scroll-position;
}

.videos-grid::-webkit-scrollbar {
    display: none;
}

.video-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    background: var(--charcoal);
    flex: 0 0 220px;
    scroll-snap-align: start;
    position: relative;
    cursor: pointer !important;
    transform: translateZ(0);
}

.video-card video,
.video-card > img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--cream);
    margin-right: -2px;
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card.playing .video-play-btn {
    display: none;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox.active {
    display: flex;
}

.lightbox-strip {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    direction: rtl;
    overscroll-behavior: contain;
    touch-action: pan-x pinch-zoom;
}

.lightbox-strip::-webkit-scrollbar {
    display: none;
}

.lightbox-slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.lightbox-slide img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    cursor: default;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 3;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 3;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 768px) {
    .lightbox-nav {
        display: none;
    }

    .lightbox-strip img {
        padding: 1rem;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }

    .project-photos-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        order: -1;
    }

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

    .about-text .section-divider {
        margin: 0 auto 1.5rem;
    }

    .about-text p {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }



    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.7rem 1.2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--sawdust);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -4px 0 20px var(--shadow);
    }

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

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 5rem 1rem 2.5rem;
        min-height: 85vh;
    }

    .section {
        padding: 2.5rem 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .projects-list {
        gap: 1.2rem;
        margin-bottom: 1rem;
    }

    .project-btn {
        font-size: 1.1rem;
    }

    .project-photos-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.6rem;
    }

    .project-photos-container::-webkit-scrollbar {
        display: none;
    }

    .project-photos-container.open {
        max-height: none;
    }

    .project-photo-item {
        flex: 0 0 160px;
        scroll-snap-align: start;
        border-radius: 8px;
    }

    .video-card {
        flex: 0 0 180px;
    }

    .video-play-btn {
        width: 48px;
        height: 48px;
        background: rgba(44, 30, 20, 0.6);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition: none;
        border: 1.5px solid rgba(212, 168, 83, 0.4);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    .video-play-btn svg {
        width: 20px;
        height: 20px;
        fill: var(--pine);
    }

    .about-image-placeholder {
        height: 280px;
    }

    .about-content {
        gap: 2rem;
    }

    .about-text p {
        font-size: 0.92rem;
    }

    .contact-form-wrapper {
        padding: 1.2rem;
    }



    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .form-action-btn {
        padding: 14px 12px;
    }

    .about-stats {
        flex-direction: row;
        gap: 0.8rem;
    }

    .stat-box {
        flex: 1;
        padding: 0.8rem 0.3rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .shaving {
        display: none;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-ghost {
        width: 100%;
        max-width: 260px;
        text-align: center;
        padding: 0.85rem 1.5rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }

    .footer {
        padding: 2.5rem 1rem 1rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        left: 1rem;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }

}

@media (max-width: 400px) {
    .hero {
        padding: 5rem 1rem 2.5rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo svg {
        width: 26px;
        height: 26px;
    }

    .about-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
}