@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
/* Assuming "Grown" is a custom font or available locally, keeping placeholder but defaulting to serif/sans-serif fallback if not found */

:root {
    --bs-primary: #f6e3c3;
    --bs-secondary: #cbbba0;
    --bs-dark: #ffffff;
    --bs-light: #000000;
    --bs-white: #ffffff;
    --bs-body-bg: #ffffff;
    --bs-body-color: #000000;
    --bs-primary-rgb: 246, 227, 195;

    /* App palette for dashboard */
    --app-primary: #0d6efd; /* blue */
    --app-accent: #ff6b2d; /* orange */
    --app-muted: #64748b; /* gray-blue */
    --card-bg: #ffffff;
    --panel-border: #e6eef4;
    --panel-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

/* Custom Overrides for Light Mode */
.bg-dark {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.text-light {
    color: #000000 !important;
}

.text-white {
    color: #000000 !important;
}


.text-white-50 {
    color: #444444 !important;
}

.text-light-50 {
    color: #444444 !important;
}

/* Typography Update as requested */
h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Grown', serif;
    /* Fallback to serif if 'Grown' is serif, or sans-serif */
    font-weight: 700;
}

body,
p,
a,
span,
div,
li {
    font-family: 'Open Sans', sans-serif;
}

.footer .text-light-50:hover {
    color: var(--bs-secondary) !important;
    /* #cbbba0 */
}

/* Icons in footer need to be black or gold? User said "everything #f6e3c3 to #f6e3c3" */
.footer i {
    color: var(--bs-primary) !important;
}

/* Specifically for footer pure text (like address, times, but NOT links) which might reuse text-light-50 */
.footer p .text-light-50 {
    color: #000000 !important;
    /* Make non-link text black for readability */
}


.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

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

.btn-primary:hover {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: #000000;
}

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

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


/*** Navbar ***/
.navbar {
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 90;
    transition: .25s;
    background: var(--bs-white) !important;
    border-bottom: 1px solid rgba(13,110,253,0.06);
}

.navbar .navbar-nav .nav-link {
    margin-right: 12px;
    padding: 16px 10px;
    color: #24314a !important;
    font-size: 15px;
    text-transform: none;
    outline: none;
    transition: .25s;
    border-radius: 8px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--app-primary) !important;
    background: rgba(13,110,253,0.04);
}

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .3);
    /* Keep dark overlay for text readability on images */
    z-index: 1;
}

.carousel-caption h1,
.carousel-caption h5,
.carousel-caption p {
    color: #ffffff !important;
    /* Force white text on carousel slider */
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #000000;
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    color: var(--bs-secondary);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    color: #000000;
    border-bottom: 1px solid var(--bs-primary);
}

/* Títulos oscuros para secciones claras */
.title-dark .title-center h1,
.title-dark .title-center h5 {
    color: #000000 !important;
}

.title-dark .title-center h1 {
    border-bottom: 1px solid var(--bs-primary) !important;
}

.title-dark .title-center h5::before,
.title-dark .title-center h5::after {
    border-bottom: 1px solid var(--bs-primary) !important;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-primary);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(246, 227, 195, 0.4);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, #f8f9fa, #ffffff);
}

@media (max-width: 767.98px) {

    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, #f8f9fa, #ffffff);
        text-align: center;
    }
}

/* Servicios personalizados para DILO */
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: #000000;
}

.service-item h4 {
    color: #000000;
}

.service-item p {
    color: #666666;
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .9);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
    display: none;
    /* Hide for cleaner look in light mode or adjust color */
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: #000000;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 100px;
    transition: .5s;
    border: 1px solid #ddd;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-color: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .3;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/* Testimonios personalizados */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--bs-primary);
    border: 1px solid #f0f0f0;
}

.testimonial-card h5 {
    color: #000000;
}

.testimonial-card span {
    color: var(--bs-secondary);
}


/*** Footer ***/
.footer {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-top: 1px solid #f0f0f0;
}

.footer .text-white {
    color: var(--bs-primary) !important;
    /* Icons beige */
}

/* Links color updated to #cbbba0 as requested */
.footer a,
.footer a.text-light-50,
.footer a.text-black-50,
.footer a.text-white-50 {
    color: #cbbba0 !important;
    font-weight: 500;
}

.footer a:hover,
.footer a.text-light-50:hover,
.footer a.text-black-50:hover,
.footer a.text-white-50:hover {
    color: #cbbba0 !important;
}

/* Non-link text must be visible (black) */
.footer .text-light-50:not(a),
.footer .text-white-50:not(a) {
    color: #000000 !important;
}

/* Estilos adicionales específicos para DILO Creativo Events */
.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    /* Keep dark for hero readability */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.venue-card {
    transition: transform 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0 !important;
}

.venue-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.venue-card .card-body {
    background: #ffffff !important;
}

.venue-card .card-title {
    color: #000000 !important;
}

.venue-card .card-text {
    color: #666666 !important;
}

.stats-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('img/stats-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-section h1 {
    color: var(--bs-primary) !important;
}

.stats-section p {
    color: #ffffff;
}

/* Fondo para secciones */
.bg-secondary {
    background-color: #ffffff !important;
    color: #000000;
}

.bg-secondary h1,
.bg-secondary h2,
.bg-secondary h3,
.bg-secondary h4,
.bg-secondary h5,
.bg-secondary h6 {
    color: #000000;
}

.bg-secondary p {
    color: #666666;
}

/* Colores de texto generales */
body {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000000;
}

/* Enlaces */
a {
    color: #000000;
}

a:hover {
    color: var(--bs-primary);
}

/* Listas */
.list-group-item {
    background-color: #ffffff;
    color: #000000;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Formularios */
.form-control {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: #000000;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--bs-primary);
    color: #000000;
    box-shadow: 0 0 0 0.25rem rgba(246, 227, 195, 0.25);
}

.form-control::placeholder {
    color: #999999;
}

/* Checks naranja específicos para listas */
.list-group-item .fa-check-circle.text-primary {
    color: var(--bs-primary) !important;
}

/* Improvements for transaction create pages */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 18px;
}
.form-column { background: transparent }
.form-row { margin-bottom: 12px }
.form-row.two-cols { display:flex; gap:12px }
.panel-title { font-weight:700; color:#0f172a; margin-bottom:8px }
.budget-panel { border:1px solid #e6eef4; border-radius:8px; padding:12px; background:#fff }
.budget-panel .panel-body { padding-top:6px }
.big-amount { font-size:20px; font-weight:800; color:#0f172a }
.small-muted { color:#64748b; font-size:13px }
.budget-item { padding:8px; border-radius:6px; border:1px solid #f1f5f9; margin-bottom:8px; background:#fbfdff }
.s26-btn-sm { padding:6px 10px; font-size:13px }
.s26-btn-outline { background:transparent; border:1px solid #cbd5e1; color:#0f172a }

@media (max-width: 900px) {
    .form-grid { grid-template-columns: 1fr }
}

/* s26 / transaction UI polish */
.s26-page-header { padding:18px 0; display:flex; align-items:center; justify-content:space-between; gap:12px }
.s26-title { font-size:28px; color:#0f172a; margin:0; font-weight:700 }
.header-actions { display:flex; align-items:center; gap:8px }
.s26-panel { background: var(--card-bg); border:1px solid var(--panel-border); border-radius:10px; box-shadow: var(--panel-shadow); padding:16px }
.s26-input, .s26-select, textarea.s26-input { width:100%; padding:10px 12px; border:1px solid #e6eef4; border-radius:8px; background:#fff }
.s26-input:focus, .s26-select:focus { outline:none; box-shadow:0 6px 18px rgba(13,110,253,0.06); border-color:rgba(13,110,253,0.18) }
.s26-btn { display:inline-block; background:var(--app-primary); color:#fff; padding:10px 14px; border-radius:8px; text-decoration:none; border:none; cursor:pointer }
.s26-btn:hover { filter:brightness(.96) }
.s26-btn.s26-btn-outline { background:transparent; color:var(--app-primary); border:1px solid rgba(13,110,253,0.12) }
.s26-btn.s26-btn-sm { padding:6px 10px; font-size:13px }
.s26-page-subtitle { color:var(--app-muted); font-size:13px }

/* header badges and cards */
.card-quick { border-radius:10px; background:#fff; border:1px solid rgba(15,23,42,0.03); padding:14px; box-shadow:0 4px 10px rgba(16,24,40,0.04) }

@media (max-width:900px){
    .s26-title{font-size:20px}
    .form-grid{grid-template-columns:1fr}
}