﻿/* =========================
   BASE / RESET
========================= */

html, body {
    height: 100%;
    margin: 0;
    font-family: Montserrat, sans-serif;
    background: #000;
    color: #fff;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* page fade-in */
body {
    animation: pageFadeIn 0.8s ease-in-out;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* SEO headings */
h1, h2 {
    position: absolute;
    left: -9999px;
}

/* =========================
   TOP ROWS
========================= */

.topRow {
    padding: 14px 0;
    font-size: clamp(14px, 1.2vw, 18px);
    flex: 0 0 auto;
}

.thinRow {
    padding: 2px 0;
    font-size: clamp(10px, 0.9vw, 13px);
    opacity: 0.85;
    flex: 0 0 auto;
}

/* =========================
   HERO
========================= */

.imageRow {
    flex: 1 1 auto;
    display: flex;
    position: relative;
    overflow: hidden;
}

.bgCell {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* parallax image layer */
.parallax-bg {
    position: absolute;
    inset: 0;

    background-image: url('/images/tb01.jpg');
    background-size: cover;
    background-position: center;

    transform: scale(1.08);
    z-index: 0;

    filter: contrast(1.05) saturate(1.05);

    will-change: transform;
}

/* subtle overlay (keeps image bright) */
.bgCell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.08),
        rgba(0,0,0,0.22)
    );
}

/* hero text */
.bigText {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(40px, 5vw, 90px);
    position: relative;
    z-index: 2;

    opacity: 0;
    animation: textFadeUp 1.2s ease forwards;
    animation-delay: 0.3s;
}

@keyframes textFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   BOTTOM STRIP
========================= */

.bottomRow {
    flex: 0 0 140px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
}

/* scrolling track */
.photoTrack {
    display: flex;
    height: 100%;
    width: max-content;
    animation: scrollLeft 45s linear infinite;
    will-change: transform;
}

/* images */
.photoTrack img {
    height: 100%;
    margin-right: 6px;
    object-fit: cover;
    border-radius: 6px;

    transition: transform 0.25s ease, filter 0.25s ease;
    cursor: pointer;

    will-change: transform;
}

.photoTrack img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* smooth infinite scroll */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* =========================
   WHATSAPP FLOAT CTA
========================= */

.whatsapp-float {
    position: fixed;
    right: 12px;
    top: 4%;
    transform: translateY(-50%);

    background: #25D366;
    color: #fff;

    padding: 4px 12px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 500;
    text-decoration: none;

    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 9999;

    transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-50%) scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .bigText {
        font-size: clamp(28px, 8vw, 50px);
    }

    .bottomRow {
        flex: 0 0 110px;
    }

    .photoTrack img {
        border-radius: 4px;
    }

    .whatsapp-float {
        top: auto;
        bottom: 18px;
        right: 15px;
        transform: none;
        border-radius: 50px;
    }
}

/* =========================
   SAFARI FIXES
========================= */
@supports (-webkit-touch-callout: none) {
    .parallax-bg {
        filter: none;
    }
}