/* ------------------------------------------------------------------
   InvisibleGrill — site.css
   Custom animations + small overrides (Tailwind CDN handles the rest)
------------------------------------------------------------------- */

/* Fade-in animation used for hero text */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 700ms ease-out both;
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide visually but keep accessible */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero service chips */
.hero-services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
}
.hero-svc-chip {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 13px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(28, 28, 26, 0.13);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #1c1c1a;
    white-space: nowrap;
    line-height: 1.4;
}
.hero-svc-tagline {
    width: 100%;
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(28, 28, 26, 0.52);
    letter-spacing: 0.01em;
}
@media (max-width: 359px) {
    .hero-svc-chip { font-size: 11px; padding: 4px 10px; }
}

/* Hero slide layer transitions */
.slide-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-out;
    will-change: opacity;
}
.slide-layer.is-active {
    opacity: 1;
}

/* Floating contact button hover bump */
.float-btn {
    transition: transform .2s ease, box-shadow .2s ease;
}
.float-btn:hover {
    transform: scale(1.1);
}

/* Mobile drawer — slides in from left */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 82vw;
    z-index: 70;
    background: #f4f3ef;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 6px 0 32px rgba(28, 28, 26, 0.14);
}
.mobile-drawer.is-open {
    transform: translateX(0);
}

/* Backdrop behind the drawer */
.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 69;
    background: rgba(28, 28, 26, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
}
.menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Form error/success states */
.field-error {
    color: #d92d20;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}
.field-error.is-visible {
    display: block;
}
input.has-error {
    border-color: #d92d20 !important;
}
.form-feedback {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
}
.form-feedback.is-success {
    display: block;
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}
.form-feedback.is-error {
    display: block;
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    html { scroll-behavior: auto; }
}

/* Print-friendly */
@media print {
    .no-print { display: none !important; }
}

/* ============================================================
   PRODUCT CARD SLIDER
   ============================================================ */

.prod-slider {
    position: relative;
    padding: 0 52px;
}

.prod-track-outer {
    overflow: hidden;
}

.prod-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Card */
.prod-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(28,28,26,0.10);
    overflow: hidden;
    transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.prod-card:hover {
    box-shadow: 0 20px 40px -10px rgba(28,28,26,0.13);
    border-color: rgba(46,52,56,0.28);
    transform: translateY(-3px);
}

/* Card image area */
.prod-card-img {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.prod-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.prod-card:hover .prod-img {
    transform: scale(1.04);
}
.prod-category {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(244,243,239,0.92);
    color: #6b7a85;
    padding: 4px 10px;
    border-radius: 99px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
}

/* Card body */
.prod-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.prod-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1c1c1a;
    margin: 0 0 8px;
    line-height: 1.3;
}
.prod-card-desc {
    font-size: 13px;
    color: rgba(28,28,26,0.60);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.prod-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(107,122,133,0.10);
    color: #6b7a85;
}
.prod-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #2e3438;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}
.prod-cta:hover {
    gap: 9px;
    color: #1c1c1a;
}

/* Nav arrows */
.prod-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(28,28,26,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    color: #1c1c1a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.prod-nav-btn:hover:not(:disabled) {
    background: #2e3438;
    border-color: #2e3438;
    color: #fff;
}
.prod-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}
.prod-prev { left: 0; }
.prod-next { right: 0; }

/* Dots */
.prod-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.prod-dot {
    width: 20px;
    height: 6px;
    border-radius: 3px;
    background: rgba(28,28,26,0.20);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease;
}
.prod-dot.is-active {
    width: 40px;
    background: #2e3438;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .prod-slider { padding: 0 48px; }
}
@media (max-width: 639px) {
    .prod-slider { padding: 0; }
    .prod-nav-btn { display: none; }
    .prod-img { height: 200px; }
}

/* ============================================================
   REVIEWS SLIDER
   ============================================================ */

.rev-slider {
    position: relative;
    padding: 0 52px;
}
.rev-track-outer {
    overflow: hidden;
}
.rev-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Review card */
.rev-card {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(28,28,26,0.10);
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.rev-card:hover {
    box-shadow: 0 20px 40px -10px rgba(28,28,26,0.11);
    border-color: rgba(46,52,56,0.22);
    transform: translateY(-3px);
}
.rev-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.rev-stars {
    color: #f59e0b;
    font-size: 17px;
    letter-spacing: 3px;
    line-height: 1;
}
.rev-quote {
    font-size: 52px;
    line-height: 0.8;
    color: rgba(28,28,26,0.10);
    font-family: Georgia, 'Times New Roman', serif;
    user-select: none;
}
.rev-text {
    font-size: 14px;
    color: rgba(28,28,26,0.72);
    line-height: 1.75;
    flex: 1;
}
.rev-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(28,28,26,0.07);
}
.rev-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(28,28,26,0.08);
}
.rev-name {
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1a;
    line-height: 1.3;
}
.rev-role {
    font-size: 12px;
    color: #6b7a85;
    margin-top: 2px;
}

/* Nav arrows */
.rev-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(28,28,26,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    color: #1c1c1a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.rev-nav-btn:hover:not(:disabled) {
    background: #2e3438;
    border-color: #2e3438;
    color: #fff;
}
.rev-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}
.rev-prev { left: 0; }
.rev-next { right: 0; }

/* Dots */
.rev-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.rev-dot {
    width: 20px;
    height: 6px;
    border-radius: 3px;
    background: rgba(28,28,26,0.20);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease;
}
.rev-dot.is-active {
    width: 40px;
    background: #2e3438;
}

@media (max-width: 1023px) { .rev-slider { padding: 0 48px; } }
@media (max-width: 639px)  {
    .rev-slider { padding: 0; }
    .rev-nav-btn { display: none; }
}

/* ============================================================
   VIDEO GALLERY & LIGHTBOX MODAL
   ============================================================ */

/* Video slider */
.vid-slider {
    position: relative;
    padding: 0 52px;
}
.vid-track-outer {
    overflow: hidden;
}
.vid-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Nav arrows */
.vid-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(28,28,26,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    color: #1c1c1a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.vid-nav-btn:hover:not(:disabled) {
    background: #2e3438;
    border-color: #2e3438;
    color: #fff;
}
.vid-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}
.vid-prev { left: 0; }
.vid-next { right: 0; }

/* Dots */
.vid-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.vid-dot {
    width: 20px;
    height: 6px;
    border-radius: 3px;
    background: rgba(28,28,26,0.20);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease;
}
.vid-dot.is-active {
    width: 40px;
    background: #2e3438;
}

@media (max-width: 1023px) { .vid-slider { padding: 0 48px; } }
@media (max-width: 639px)  {
    .vid-slider { padding: 0; }
    .vid-nav-btn { display: none; }
}

/* Card */
.vid-card {
    flex: 0 0 auto;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(28,28,26,0.10);
    text-align: left;
    padding: 0;
    transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
    display: flex;
    flex-direction: column;
}
.vid-card:hover {
    box-shadow: 0 20px 40px -10px rgba(28,28,26,0.13);
    border-color: rgba(46,52,56,0.25);
    transform: translateY(-3px);
}

/* Thumbnail */
.vid-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1c1c1a;
    flex-shrink: 0;
}
.vid-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.vid-card:hover .vid-thumb {
    transform: scale(1.05);
    opacity: 0.82;
}

/* Play overlay */
.vid-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.vid-play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
    transition: transform 0.22s ease, background 0.22s ease;
}
.vid-card:hover .vid-play-btn {
    transform: scale(1.14);
    background: #fff;
}

/* Duration badge */
.vid-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(28,28,26,0.80);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    font-variant-numeric: tabular-nums;
}

/* Card text */
.vid-info {
    padding: 18px 20px 22px;
    flex: 1;
}
.vid-title {
    font-size: 15px;
    font-weight: 600;
    color: #1c1c1a;
    margin: 0 0 6px;
    line-height: 1.35;
}
.vid-desc {
    font-size: 13px;
    color: rgba(28,28,26,0.60);
    margin: 0;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- MODAL ---- */
.vid-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s ease;
}
.vid-modal.is-open {
    pointer-events: auto;
    opacity: 1;
}
.vid-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20,20,18,0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.vid-modal-box {
    position: relative;
    z-index: 1;
    width: 92vw;
    max-width: min(920px, calc((100vh - 32px) * 16 / 9));
    transform: scale(0.92);
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vid-modal.is-open .vid-modal-box {
    transform: scale(1);
}
.vid-modal-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.vid-modal-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.vid-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.25s ease;
}
.vid-modal-close:hover {
    background: rgba(0,0,0,0.75);
    transform: rotate(90deg);
}
