/* =================================
   Casa de Pedra Gilmar Cantelli
   Custom Styles
   ================================= */

/* === Root Variables === */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D4A574;
    --gold-color: #FFD700;
    --dark-color: #2C1810;
    --light-color: #F5F5F0;
    --success-color: #25D366;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.section-padding {
    padding: 80px 0;
    scroll-margin-top: 140px;
}

/* === Custom Colors === */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-gold {
    background-color: var(--gold-color) !important;
    color: var(--dark-color) !important;
}

/* === WhatsApp Floating Button === */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--success-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* === Navbar === */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(44, 24, 16, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 100px;
    max-height: 100px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .navbar-logo {
    height: 70px;
    max-height: 70px;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 8px;
    transition: var(--transition);
    font-size: 0.95rem;
    padding: 10px 12px !important;
}

.navbar-nav .nav-link:hover {
    color: var(--gold-color) !important;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--success-color);
    color: #fff !important;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* === Hero Section === */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), 
                url('../images/hero-principal.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 140px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gold-color);
    animation: fadeInUp 1.2s ease;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    animation: fadeInUp 1.6s ease;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.8s ease;
}

.badge-item {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-item i {
    color: var(--gold-color);
    margin-right: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: #fff;
    font-size: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* === Buttons === */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
}

.btn-whatsapp-large {
    background-color: var(--success-color);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-whatsapp-large:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* === Section Styles === */
.section-label {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* === Image Stack === */
.image-stack {
    position: relative;
}

.image-stack::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.image-stack img {
    border-radius: 10px;
}

/* === Highlight Box === */
.highlight-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.highlight-box:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.highlight-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.highlight-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* === Timeline === */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year {
    position: absolute;
    left: -60px;
    top: 0;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.timeline-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* === Feature Cards === */
.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* === Cafe Box === */
.cafe-box {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cafe-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cafe-box i {
    font-size: 2rem;
    margin-right: 15px;
    color: var(--gold-color);
}

.cafe-box p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* === Gallery === */
.gallery-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.gallerySwiper {
    width: 100%;
    padding-bottom: 50px !important;
}

.gallerySwiper .swiper-slide {
    height: auto;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(139, 69, 19, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.gallery-caption {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
    margin: 0;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Swiper Navigation Buttons */
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.gallerySwiper .swiper-button-next:after,
.gallerySwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.gallerySwiper .swiper-button-next:hover,
.gallerySwiper .swiper-button-prev:hover {
    background-color: var(--dark-color);
    transform: scale(1.1);
}

.gallerySwiper .swiper-button-next {
    right: 0;
}

.gallerySwiper .swiper-button-prev {
    left: 0;
}

/* Swiper Pagination */
.gallerySwiper .swiper-pagination {
    bottom: 0 !important;
}

.gallerySwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    opacity: 0.5;
    transition: var(--transition);
}

.gallerySwiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.3);
}

/* === Reviews === */
.rating-display {
    margin-top: 20px;
}

.rating-display i {
    color: var(--gold-color);
    font-size: 1.5rem;
    margin: 0 3px;
}

.rating-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 15px;
    color: #333;
}

/* Reviews Carousel Wrapper */
.reviews-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    margin-bottom: 20px;
}

.reviewsSwiper {
    width: 100%;
    padding: 20px 0;
}

.reviewsSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.review-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    width: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.review-stars {
    margin-bottom: 15px;
}

.review-stars i {
    color: var(--gold-color);
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
    flex-grow: 1;
}

.review-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.review-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-author span {
    color: #999;
    font-size: 0.9rem;
}

/* Swiper Navigation Buttons for Reviews */
.reviews-carousel-wrapper .swiper-button-next,
.reviews-carousel-wrapper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.reviews-carousel-wrapper .swiper-button-next:after,
.reviews-carousel-wrapper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.reviews-carousel-wrapper .swiper-button-next:hover,
.reviews-carousel-wrapper .swiper-button-prev:hover {
    background-color: var(--dark-color);
    transform: translateY(-50%) scale(1.1);
}

.reviews-carousel-wrapper .swiper-button-next {
    right: 0;
}

.reviews-carousel-wrapper .swiper-button-prev {
    left: 0;
}

/* Swiper Pagination for Reviews */
.reviews-carousel-wrapper .swiper-pagination {
    bottom: 0 !important;
    position: relative;
    margin-top: 30px;
}

.reviews-carousel-wrapper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    opacity: 0.5;
    transition: var(--transition);
}

.reviews-carousel-wrapper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.3);
}

/* === Location === */
.location-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.location-item {
    display: flex;
    margin-bottom: 30px;
}

.location-item:last-child {
    margin-bottom: 0;
}

.location-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 40px;
}

.location-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.location-item p {
    color: #666;
    margin-bottom: 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* === Contact Box === */
.contact-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-icon {
    font-size: 4rem;
    color: var(--success-color);
}

.contact-box h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
}

.contact-box p {
    color: #666;
}

.contact-benefits {
    list-style: none;
    padding: 0;
}

.contact-benefits li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-benefits i {
    color: var(--gold-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* === Footer === */
.footer {
    background-color: var(--dark-color);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-badges {
    margin-top: 15px;
}

.footer-badges .badge {
    margin-right: 10px;
    font-size: 0.9rem;
    padding: 8px 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--gold-color);
    margin-right: 10px;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

.footer-contact a:hover {
    color: var(--gold-color);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 20px;
}

/* === Responsive === */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background-color: rgba(44, 24, 16, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
    }
    
    .btn-whatsapp {
        margin-top: 15px;
        width: 100%;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .navbar.scrolled {
        padding: 12px 0;
    }
    
    .navbar-logo {
        height: 70px;
        max-height: 70px;
    }
    
    .navbar.scrolled .navbar-logo {
        height: 55px;
        max-height: 55px;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge-item {
        width: 100%;
        text-align: center;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-year {
        left: -50px;
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .navbar.scrolled {
        padding: 10px 0;
    }
    
    .navbar-logo {
        height: 60px;
        max-height: 60px;
    }
    
    .navbar.scrolled .navbar-logo {
        height: 50px;
        max-height: 50px;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 8px 0 !important;
    }
    
    .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .footer-logo {
        max-width: 150px;
    }
    
    /* Gallery Responsive */
    .gallery-carousel-wrapper {
        padding: 0 15px;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .gallerySwiper .swiper-button-next,
    .gallerySwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .gallerySwiper .swiper-button-next:after,
    .gallerySwiper .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .gallery-overlay i {
        font-size: 2.5rem;
    }
    
    .gallery-caption {
        font-size: 0.95rem;
    }
    
    /* Reviews Carousel Responsive */
    .reviews-carousel-wrapper {
        padding: 0 15px;
    }
    
    .reviewsSwiper .swiper-button-next,
    .reviewsSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .reviewsSwiper .swiper-button-next:after,
    .reviewsSwiper .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .review-card {
        padding: 20px;
    }
}

/* === Animations === */
.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* === Utility Classes === */
.bg-light {
    background-color: var(--light-color) !important;
}

.text-gold {
    color: var(--gold-color) !important;
}

/* === Smooth Scroll === */
html {
    scroll-behavior: smooth;
}

/* === Selection === */
::selection {
    background-color: var(--primary-color);
    color: #fff;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: #fff;
}

