/* Custom Fonts */
@font-face {
    font-family: 'CosmicSolace';
    src: url('../fonts/Silverstag - Cosmic Solace Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SweetSansPro';
    src: url('../fonts/fonnts.com-SweetSansProLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SweetSansPro';
    src: url('../fonts/fonnts.com-SweetSansProRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SweetSansPro';
    src: url('../fonts/fonnts.com-SweetSansProMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SweetSansPro';
    src: url('../fonts/fonnts.com-SweetSansProBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Google Fonts (Keeping only Merriweather if needed, or removing if entirely replaced) */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@1,300;1,400;1,700;1,900&display=swap');

:root {
    --color-1: #EEE9E1;
    --color-2: #C9C1B4;
    --color-3: #937A5C;
    --color-4: #522711;
    --color-5: #362614;
}

h1,
h2,
h3,
h4 {
    font-family: 'CosmicSolace', serif;
    font-style: normal;
    color: var(--color-4);
}

h5,
h6 {
    font-family: 'SweetSansPro', sans-serif;
    font-style: italic;
    color: var(--color-4);
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: 'SweetSansPro', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

#vegas-slider {
    width: 100%;
    height: 100vh;
    /* Full viewport height */
    position: relative;
    z-index: 1;
    /* Lower z-index so content/menu can overlay */
    background-color: var(--color-5);
    overflow: hidden;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through if needed, though usually just visual */
    display: flex;
    align-items: flex-end;
}

.overlay-content {
    padding-left: 50px;
    padding-right: 30px;
    padding-bottom: 100px;
}

.overlay-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
}

.overlay-phrase {
    font-family: 'SweetSansPro', sans-serif;
    font-style: normal;
    font-weight: 500;
    color: #ffffff;
    font-size: 35px;
    margin: 0;
    max-width: 800px;
    line-height: 1.2;
    text-align: right !important;
    /* Force right alignment */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}


/* Sticky Menu */
.sticky-menu-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-5);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    /* Stretch to occupy full height of parent */
    width: 100%;
    max-width: 1200px;
    height: 100%;
}

.main-nav ul li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav ul li a {
    color: var(--color-1);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: var(--color-2);
}

/* Portfolio Dropdown */
.main-nav ul li {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--color-5);
    min-width: 250px;
    padding: 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-top: 3px solid var(--color-3);
    z-index: 1100;
    pointer-events: none;
    display: block !important;
    height: auto !important;
}

.submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.main-nav ul li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0px);
    pointer-events: auto;
}

.submenu li {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.submenu li a {
    display: block;
    padding: 12px 25px;
    color: var(--color-1) !important;
    font-size: 0.75rem !important;
    letter-spacing: 2px;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background-color: var(--color-3);
    color: #fff !important;
    padding-left: 35px !important;
}

/* Central Logo */
.nav-logo-circle {
    position: relative;
    flex: 0 0 240px !important;
    /* Space for the logo (doubled roughly) */
}

.nav-logo-circle img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    /* Doubled size */
    height: 160px;
    /* Doubled size */
    border-radius: 50%;
    background-color: var(--color-5);
    padding: 10px;
    border: 5px solid var(--color-5);
    object-fit: contain;
    transition: top 0.3s ease;
    /* Transition for sticky effect */
}

/* Sticky Logo Adjustment */
.is-sticky .nav-logo-circle {
    align-self: flex-start;
    /* Pin container to top of flex row */
}

.is-sticky .nav-logo-circle img {
    top: 0 !important;
    transform: translateX(-50%) !important;
}

/* Category Sections */
.category-section {
    padding-bottom: 200px;
    /* Doubled as requested */
    position: relative;
    overflow: hidden;
}

.category-section-padding {
    padding-top: 100px;
    /* Increased separation */
    padding-bottom: 80px;
}

.content-expanded {
    padding-left: 80px !important;
    /* Doubled as requested */
    padding-right: 80px !important;
    /* Doubled as requested */
}

.gap-extra {
    --bs-gutter-x: 6rem;
    /* Doubled from gx-5 (3rem) */
}

.album-item {
    margin-bottom: 30px;
    text-align: center;
}

.album-item .img-wrapper {
    overflow: hidden;
    margin-bottom: 10px;
    aspect-ratio: 3/2;
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.album-item h3 {
    font-size: 1rem;
    color: var(--color-4);
    margin: 0;
    font-weight: 700;
}

/* Category Sections */
.category-section {
    position: relative;
    overflow: hidden;
}

.category-section h2 {
    color: var(--color-4);
    font-weight: 300;
}

.category-sumilla {
    line-height: 1.8;
}

.carousel-img-wrapper {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.carousel-item:hover .carousel-img-wrapper {
    transform: scale(1.02);
}

.object-fit-cover {
    object-fit: cover;
}

.category-section .btn-outline-dark {
    border-width: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    transition: all 0.3s;
}

.category-section .btn-outline-dark:hover {
    background-color: var(--color-5);
    border-color: var(--color-5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* NProgress Customization */
#nprogress .bar {
    background: var(--color-3) !important;
}

#nprogress .spinner-icon {
    border-top-color: var(--color-3) !important;
    border-left-color: var(--color-3) !important;
}

/* Instagram Section */
.instagram-section {
    width: 100%;
    min-height: 340px;
    margin-top: 200px;
    /* Doubled as requested */
    margin-bottom: 0 !important;
    overflow: hidden;
    line-height: 0;
}

.instagram-img-wrapper {
    height: 400px;
    width: 100%;
}

.instagram-img-wrapper img {
    height: 100%;
    width: 100%;
    display: block;
    margin-bottom: 0 !important;
    object-fit: cover;
    filter: brightness(0.8);
}

.instagram-swiper {
    margin-bottom: 0 !important;
}

.instagram-overlay {
    position: absolute;
    top: 75%;
    /* Lower position as requested */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
}

.instagram-banner {
    background-color: var(--color-4);
    opacity: 0.7;
    /* 70% opacity as requested */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'CosmicSolace';
}

.instagram-banner h5 {
    font-family: 'CosmicSolace', serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: 3px;
}

.instagram-banner:hover {
    background-color: var(--color-3);
    opacity: 0.9;
    transform: translateY(-2px);
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.fw-light {
    font-weight: 300;
}

/* Premium Footer */
.custom-footer {
    background-color: var(--color-5);
    color: var(--color-1);
    font-family: 'SweetSansPro', sans-serif;
}

.footer-divider-thin {
    height: 1px;
    background-color: rgba(238, 233, 225, 0.2);
    /* Color crema with low opacity */
    width: 100%;
}

.footer-slogan {
    font-family: 'CosmicSolace';
    font-style: italic;
    max-width: 300px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: 4px;
}

.footer-menu li a {
    transition: color 0.3s;
}

.footer-menu li a:hover {
    color: var(--color-1) !important;
}

.social-links a {
    font-size: 1.4rem;
    transition: transform 0.3s;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--color-2) !important;
}

.right-box .agenda-text {
    font-weight: 300;
    color: var(--color-2);
}

.copyright-text {
    line-height: 1.5;
}

@media (max-width: 768px) {
    .custom-footer {
        text-align: center;
    }

    .custom-footer .row>div {
        margin-bottom: 30px;
    }
}

/* Floating Buttons */

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: var(--color-1);
    /* Crema */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 20px;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--color-5);
    transform: translateY(-5px);
    color: #fff;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover {
    color: #fff;
    /*transform: scale(1.1);*/
}

/* Pulse Animation */
/*
.pulse {
    animation: pulse-green 2s infinite;
}

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

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
*/
/* Internal Pages Banner */
.internal-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(54, 38, 20, 0.7);
    /* Brown color-5 with 70% opacity */
}

.banner-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

.banner-title {
    color: #fff;
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 300;
}

.text-18 {
    font-size: 18px !important;
}

.open-sans {
    font-family: 'SweetSansPro', sans-serif !important;
}

/* Videos Section */
.videos-body {
    padding: 100px 50px;
}

@media (max-width: 768px) {
    .videos-body {
        padding: 30px 10px;
    }
}

.video-delay-1 {
    animation-delay: 0.2s;
}

.video-delay-2 {
    animation-delay: 0.4s;
}