/**
* Theme Name: Marco Antonini
* Description: Marco Antonini Custom Theme
* Author: Syrus
* Template: syrus
* Version: 0.0.2
*/

:root {
    --theme-primary-color: #1a1a1a;
    --theme-secondary-color: #f5f0eb;
    --theme-accent-color: #c9a96e;
    --theme-text-color: #2d2d2d;
    --theme-text-light: #8a8a8a;
}

body * {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

body:not(.home) {
    padding-top: 70px;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--theme-accent-color);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin-bottom: 10px;
}

#topnav {
    height: 70px;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 99;
    color: white !important;
    transition: background-color 0.4s ease, box-shadow 0.3s ease;
}

#topnav.scrolled,
#topnav.navbar-dark {
    background-color: var(--theme-primary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

#topnav .navbar-brand img {
    height: 40px;
    width: auto;
}

#main-navbar {
    color: white !important;
}

#main-navbar.collapse.show {
    width: 100%;
    background-color: var(--theme-primary-color);
}

#main-navbar li a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

#main-navbar .nav-link {
    position: relative;
    color: white !important;
    padding: 8px 15px;
}

#main-navbar .nav-link:not(.dropdown-toggle):hover::after,
#main-navbar .nav-link.active:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--theme-accent-color);
    bottom: 0;
    left: 0;
}

#menu-top-menu .dropdown-menu {
    border-radius: 0;
    background: var(--theme-primary-color);
    border: none;
}

#menu-top-menu li a {
    color: white;
}

#menu-top-menu li a:hover {
    color: var(--theme-accent-color);
}

.social-link a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    aspect-ratio: 1;
    transition: all 0.3s ease;
}

.social-link a:hover {
    border-color: var(--theme-accent-color);
    background-color: var(--theme-accent-color);
}

.social-link a i {
    color: white;
    font-size: 20px;
}

.social-link a:hover i {
    color: var(--theme-primary-color);
}

.topnav-mobile {
    background: var(--theme-primary-color);
    margin-top: -1px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-switcher {
    align-items: center;
}

.lang-btn {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 2px 4px;
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    color: var(--theme-accent-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.hero-carousel-section {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100dvh;
}

.hero-carousel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(.65);
}

.carousel-slide.zoom img {
    animation: kenburns 6s ease-in-out forwards;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-carousel .text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    z-index: 10;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.hero-carousel .text-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.05;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.hero-carousel .text-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1200px) {
    .hero-carousel .text-container h1 {
        font-size: 3.5em;
    }
}

@media (max-width: 768px) {
    .hero-carousel .text-container h1 {
        font-size: 2.5em;
    }

    .hero-carousel .text-container h2 {
        font-size: 12px;
        letter-spacing: 3px;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

section.welcome-section {
    padding: 100px 0;
}

section.welcome-section h2 {
    color: var(--theme-accent-color);
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
}

section.welcome-section p {
    color: var(--theme-text-color);
    line-height: 1.8;
    font-size: 15px;
}

section.welcome-section .welcome-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 55%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.service-card:hover .service-card-overlay {
    opacity: 1;
}

.service-card-overlay h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.service-card-overlay .btn-service-link {
    color: var(--theme-accent-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card-overlay .btn-service-link:hover {
    color: white;
}

.gallery-preview-item {
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

section.gallery-section .image-container {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1;
    transition: all .3s ease;
}

section.gallery-section .image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

section.gallery-section .image-container > img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    transition: transform 0.5s ease;
}

section.gallery-section .image-container:hover > img {
    transform: scale(1.05);
}

section.plan-section .row-step {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section.plan-section .row-step h4 {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 14px;
}

section.plan-section .row-step p {
    font-size: 14px;
    font-weight: 300;
}

section.plan-section .row-step .step-number {
    text-align: center;
    background-color: var(--theme-accent-color);
    color: white;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
}

section.plan-section .row-step .vertical-divider {
    width: 2px;
    position: relative;
    height: 100%;
    background-color: var(--theme-accent-color);
    display: block;
    left: calc(50% - 1px);
    top: 5px;
}

.page-hero-section {
    position: relative;
    height: 70vh;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-section .text-container {
    position: absolute;
    bottom: 40px;
    z-index: 3;
}

.page-hero-section .text-container h1 {
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero-section .text-container span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}

.page-hero-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    top: 0;
    left: 0;
    z-index: 1;
}

.page-hero-section h1 {
    z-index: 2;
    display: block;
    margin: 0;
    position: relative;
    color: white;
}

.page-header-section {
    background-color: var(--theme-secondary-color);
    padding: 80px 0 60px;
}

.page-header-section h1 {
    color: var(--theme-text-color);
    font-size: 3rem;
}

.card-plan ul {
    list-style-type: none;
    padding: 0;
}

.card-plan {
    height: 550px !important;
}

.card-plan.main {
    height: 600px !important;
}

.pc-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.pc-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.icon-bg-booknow,
.pc-card > .bi {
    position: absolute;
    right: 10px;
    top: 15px;
    width: 100px;
    aspect-ratio: 1;
    font-size: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    opacity: .07;
}

.pc-card.ma-blue {
    background-color: var(--theme-primary-color);
}

.pc-card.ma-blue > .bi {
    color: white;
}

.pc-card.ma-blue .btn-service {
    color: white !important;
    border: 1.5px solid white !important;
}

.pc-card.ma-blue .btn-service:hover {
    background-color: white !important;
    color: var(--theme-primary-color) !important;
}

.icon-bg-booknow {
    right: 15px;
    top: 50px;
    font-size: 200px;
}

.pc-title {
    color: var(--theme-text-light);
    font-size: 13px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pc-price {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 50px;
    color: var(--theme-accent-color);
}

.btn-service {
    padding: 12px 30px !important;
    width: 70%;
    background-color: transparent !important;
    color: var(--theme-primary-color) !important;
    border-radius: 0 !important;
    border: 1.5px solid var(--theme-primary-color) !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.btn-service:hover {
    background-color: var(--theme-primary-color) !important;
    color: white !important;
}

.offcanvas {
    width: 550px !important;
    border-left: 3px solid var(--theme-accent-color) !important;
}

.offcanvas-body {
    overflow: hidden;
    padding: 2rem !important;
}

.offcanvas h4 {
    font-weight: 400;
}

.offcanvas h4 i {
    opacity: 0.9;
    font-size: .8em;
}

.form-control {
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.form-control:focus {
    border-color: var(--theme-accent-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.15);
}

.site-footer {
    background-color: var(--theme-primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--theme-accent-color);
}

.site-footer a {
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--theme-accent-color) !important;
}

.site-footer .social-link a {
    border-color: rgba(255, 255, 255, 0.2);
}

.site-footer .social-link a i {
    color: var(--theme-accent-color);
}

.site-footer .social-link a:hover {
    background: var(--theme-accent-color);
    border-color: var(--theme-accent-color);
}

.site-footer .social-link a:hover i {
    color: var(--theme-primary-color);
}

.whatsapp-footer {
    position: fixed;
    bottom: 1.5em;
    right: 1.5em;
    background: #26ca43;
    color: white;
    width: 2em;
    height: 2em;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 2em;
    padding: 20px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(38, 202, 67, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-footer:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(38, 202, 67, 0.5);
    color: white;
}

#modal-order-now .price {
    font-size: 20px;
    letter-spacing: -1px;
    background: var(--theme-accent-color);
    color: white;
    padding: 2px 10px;
    border-radius: 5px;
}

.link-gallery {
    text-decoration: none;
    font-weight: 600;
}

@media only screen and (max-width: 992px) {
    .img-footer {
        max-width: 30% !important;
    }
}

@media only screen and (max-width: 768px) {
    .offcanvas {
        width: 100% !important;
    }

    section.welcome-section {
        padding: 60px 0;
    }

    .page-header-section {
        padding: 60px 0 40px;
    }
}