/* Fonts & Typography */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.section-title {
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: #0d6efd; /* Primary color */
    bottom: 0;
    left: 0;
}

#contato .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    #contato .section-title::after {
        left: 0;
        transform: none;
    }
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background: url('../i/hero.jpeg') center/cover no-repeat fixed;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-title {
    letter-spacing: 2px;
}

/* Smooth scrolling offset */
html {
    scroll-behavior: smooth;
}

/* Slideshow */
.slideshow-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 0;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.slideshow-container::-webkit-scrollbar {
    display: none;
}

.slideshow-container:active {
    cursor: grabbing;
}

.slideshow-track {
    display: flex;
    gap: 20px;
    width: max-content;
    /* JS will handle scrolling */
}

.slide-img {
    height: 350px;
    width: 350px;
    object-fit: cover;
    object-position: center bottom;
    user-select: none; /* Prevent blue highlight selection */
    -webkit-user-select: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

@media (max-width: 991.98px) {
    .slide-img {
        height: 200px;
        width: 200px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.6s;
}

.lightbox-close {
    position: absolute;
    top: 15px; right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* Reviews Background Cards */
.review-card {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    z-index: 2; /* Foreground default */
    transform: translateY(-50%);
}

.review-card.background-review {
    z-index: 1; /* Background ones */
    transform: translateY(-50%) scale(0.8);
    opacity: 0.5;
    filter: blur(2px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fbbc04; /* Google yellow-ish or random */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    font-weight: 600;
    color: #000;
}

.reviewer-info .stars {
    color: #fbbc04; /* Google star color */
    font-size: 0.9rem;
}

.reviewer-info .time-ago {
    font-size: 0.75rem;
    color: #70757a;
    margin-left: 5px;
}

.review-text {
    font-size: 0.9rem;
    color: #3c4043;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.google-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Desktop */
@media (min-width: 768px) {
    .whatsapp-float {
        bottom: 40px;
        right: 40px;
        width: 65px;
        height: 65px;
        border-radius: 50%;
    }
    .whatsapp-float:hover {
        transform: scale(1.1);
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: 60px;
        border-radius: 30px;
    }
    .wa-text {
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 1px;
    }
}
