:root {
    --primary-color: #8B6F47;
    --primary-dark: #6B5437;
    --secondary-color: #D4AF37;
    --accent-color: #C19A6B;
    --text-dark: #2C2416;
    --text-light: #6B5D4F;
    --bg-light: #FAF8F5;
    --bg-cream: #F5F1E8;
    --white: #FFFFFF;
    --success: #25D366;
    --shadow-sm: 0 2px 8px rgba(139, 111, 71, 0.08);
    --shadow-md: 0 4px 16px rgba(139, 111, 71, 0.12);
    --shadow-lg: 0 8px 32px rgba(139, 111, 71, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 300;
}


/* Header & Navigation */

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-call {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-call:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: var(--success);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* Hero Slider */

.hero-slider {
    margin-top: 76px;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.carousel-caption .lead {
    font-size: 1.3rem;
    color: var(--white);
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-buttons .btn-primary {
    background: var(--primary-color);
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-buttons .btn-success {
    background: var(--success);
    border: none;
}

.cta-buttons .btn-success:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: rgba(139, 111, 71, 0.25);
}

.pagination .page-link:hover {
    color: var(--primary-dark);
    background-color: var(--bg-cream);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-light);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.5;
    transition: var(--transition);
    border: none;
    margin: 0 4px;
}

.carousel-indicators button.active {
    opacity: 1;
    background: var(--secondary-color);
    width: 10px;
}


/* About Section */

.about-section {
    background: var(--bg-light);
}

.about-section img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-section .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.feature-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}


/* Services Section */

.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-content .btn {
    margin-top: auto;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}


/* Locations Section */

.locations-section {
    background: var(--bg-cream);
}

.location-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    min-height: 100px;
}

.location-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location-box span {
    font-weight: 500;
    text-align: center;
}

.location-box:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.location-box:hover i {
    color: var(--white);
}


/* Gallery Section */

.gallery-section {
    background: var(--white);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 250px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 111, 71, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-item {
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}


/* Contact Section */

.contact-section {
    background: var(--bg-light);
}


/* Video Wrapper */

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.montaj-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 111, 71, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition);
    cursor: pointer;
}

.video-wrapper:hover .video-overlay {
    opacity: 0;
}

.video-overlay i {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.video-overlay p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}


/* Testimonials Section */

.testimonials-section {
    background: var(--bg-light);
}

.testimonial-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-box .stars {
    margin-bottom: 1.5rem;
}

.testimonial-box .stars i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-right: 0.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--bg-light);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}


/* Google Profile Section */

.google-profile-section {
    background: var(--white);
}

.google-profile-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.google-badge i {
    font-size: 4rem;
    color: #4285F4;
}

.google-badge h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.google-badge p {
    color: var(--text-light);
    margin: 0;
}

.google-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-content h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 991px) {
    .google-badge {
        flex-direction: column;
        text-align: center;
    }
    .google-stats {
        grid-template-columns: 1fr;
    }
    .google-profile-widget {
        padding: 2rem;
    }
}


/* Contact Section */

.contact-section {
    background: var(--bg-light);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #E5E0D8;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 111, 71, 0.15);
}

.contact-form .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}


/* Footer */

.footer {
    background: var(--text-dark);
    color: var(--bg-light);
}

.footer p {
    color: var(--bg-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    justify-content: flex-end;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}


/* Mobile Bottom Menu */

.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #E5E0D8;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bottom-menu .menu-item {
    background: var(--white);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.mobile-bottom-menu .menu-item i {
    font-size: 1.3rem;
}

.mobile-bottom-menu .menu-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.mobile-bottom-menu .menu-item:active {
    background: var(--bg-light);
}

.mobile-bottom-menu .menu-item:first-child {
    color: var(--primary-color);
}

.mobile-bottom-menu .menu-item.whatsapp {
    color: var(--success);
}


/* Responsive */

@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    .carousel-item {
        height: 500px;
    }
    .carousel-caption h1 {
        font-size: 2rem;
    }
    .carousel-caption .lead {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .contact-buttons {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    /* Mobile Sidebar Navigation */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        overflow-y: auto;
    }
    .navbar-collapse.show {
        right: 0;
    }
    .navbar-nav {
        flex-direction: column;
        padding: 0;
        margin: 0 !important;
    }
    .nav-item {
        border-bottom: 1px solid #E5E0D8;
    }
    .nav-link {
        padding: 1rem 2rem !important;
        font-size: 1.1rem;
    }
    .contact-buttons {
        flex-direction: column;
        padding: 2rem;
        margin-top: 1rem;
    }
    .contact-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .navbar-toggler {
        z-index: 10001;
        position: relative;
    }
    /* Sidebar Overlay - behind the sidebar */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -2;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }
    .carousel-item {
        height: 400px;
    }
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .carousel-caption .lead {
        font-size: 0.9rem;
    }
    .gallery-card {
        height: 180px;
    }
    .service-image {
        height: 180px;
    }
}

@media (min-width: 992px) {
    .mobile-bottom-menu {
        display: none !important;
    }
}


/* Performance Optimizations */

img {
    content-visibility: auto;
}

.carousel-item:not(.active) img {
    content-visibility: hidden;
}


/* Smooth Scrolling */

html {
    scroll-behavior: smooth;
}


/* Print Styles */

@media print {
    .navbar,
    .mobile-bottom-menu,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }
}