/* Engage The Exotic - Optimized Responsive CSS
 * Modernized layout preserving desktop 995px design
 * Mobile-first responsive implementation
 * Updated for PHP 8.x compatibility and performance
 */

/* ===================================
   BASE STYLES & RESETS
   =================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body, html {
    width: 100%; 
    height: 100%; 
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: #000 !important;
    font-size: 16px; /* Modern minimum for readability */
    line-height: 1.6;
}

/* ============================================================================
   EXCEPTION: Preserve original font sizes for 4 unique Barranquilla Carnival pages
   Client requested these pages keep original design/font sizes
   ============================================================================ */
body[class*="barranquilla-carnival"],
body.page-barranquilla-carnival,
body.page-barranquilla-colombia-carnival-3,
body.page-barranquilla-carnival-celebration,
body.page-barranquilla-carnival-women {
    font-size: 14px !important; /* Original font size */
}

body[class*="barranquilla-carnival"] p,
body.page-barranquilla-carnival p,
body.page-barranquilla-colombia-carnival-3 p,
body.page-barranquilla-carnival-celebration p,
body.page-barranquilla-carnival-women p {
    font-size: 14px !important; /* Original paragraph font size */
}

body[class*="barranquilla-carnival"] h1,
body[class*="barranquilla-carnival"] h2,
body[class*="barranquilla-carnival"] h3,
body[class*="barranquilla-carnival"] h4 {
    font-size: inherit !important; /* Preserve heading sizes */
}

a:link, a:focus {
    outline: 0; 
    text-decoration: none; 
    transition: all 0.3s ease;
    color: #2E512E;
}

::selection { 
    background: #B03038; 
    color: #fff; 
}

::-moz-selection { 
    background: #B03038; 
    color: #fff; 
}

::-webkit-selection { 
    background: #B03038; 
    color: #fff; 
}

/* ===================================
   TYPOGRAPHY
   =================================== */
ul {
    margin: 0; 
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold; 
    margin-top: 0; 
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px; 
    font-size: 16px; 
    color: #2E512E; 
    line-height: 1.6; 
    margin-top: 0;
}

.justify {
    text-align: left;
}

p.ptitle, p.order_btn {
    color: #990000; 
    font-weight: bold; 
    font-size: 14px; 
    margin-bottom: 40px; 
    margin-top: -5px;
}

p.order_btn {
    margin-bottom: 0px;
}

.para1 p {
    margin-bottom: 5px !important;
    line-height: 20px !important;
    font-size: 16px !important;
}

h4.footer-heading {
    margin-bottom: 0px;
    margin-top: 20px;
}

p a:link, p a:visited, p a:focus {
    text-decoration: underline;
}

p a:hover {
    text-decoration: none;
}

/* ===================================
   CONTAINER & LAYOUT - RESPONSIVE
   =================================== */
.container {
    max-width: 995px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    background: #fff !important;
}

/* Desktop preserves exact 995px */
@media (min-width: 996px) {
    .container {
        width: 995px;
        padding: 0;
    }
}

/* Tablet adjustments */
@media (max-width: 995px) {
    .container {
        padding: 0 20px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* ===================================
   CONTACT FORM - RESPONSIVE
   =================================== */
.container.only-contact {
    background-color: #000;
    padding: 80px 0px;
}

@media (max-width: 768px) {
    .container.only-contact {
        padding: 40px 15px;
    }
}

.container-contact {
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    padding: 20px 0;
}

.wrap-contact {
    max-width: 660px;
    width: 100%;
    background: #fff;
    border: none;
    padding: 0px 20px 20px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .wrap-contact {
        padding: 0px 15px 20px;
    }
}

/* ===================================
   IMAGES - RESPONSIVE & LAZY LOADING
   =================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-responsive {
    width: 100%;
    height: auto;
}

/* ===================================
   NAVIGATION - RESPONSIVE
   =================================== */
.tour-responsive-img {
    float: left;
    width: 200px;
    margin-right: 22px;
}

@media (max-width: 768px) {
    .tour-responsive-img {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.tour-responsive-text {
    float: right;
    width: 590px;
    margin-right: 250px;
    margin-top: 35px !important;
}

@media (max-width: 995px) {
    .tour-responsive-text {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}

.act-area {
    float: right;
    margin-right: 0px;
    margin-top: -5px;
    width: 50%;
}

@media (max-width: 768px) {
    .act-area {
        float: none;
        width: 100%;
        margin-top: 15px;
    }
}

#arrow-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -15px;
}

@media (max-width: 768px) {
    #arrow-container {
        justify-content: center;
        margin-top: 10px;
    }
}

/* ===================================
   ACTION BUTTONS - RESPONSIVE
   =================================== */
.action-btn-area {
    width: 995px;
    margin-top: -20px;
    margin-bottom: 0px;
    float: right;
}

@media (max-width: 995px) {
    .action-btn-area {
        width: 100%;
        float: none;
        margin-top: 10px;
    }
}

/* ===================================
   IMAGE SLIDER - RESPONSIVE
   =================================== */
.main-ss-cont {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

@media (max-width: 768px) {
    .main-ss-cont {
        flex-direction: column;
    }
}

.ss-img {
    float: left;
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .ss-img {
        float: none;
        width: 100%;
    }
}

/* ===================================
   FOOTER - RESPONSIVE
   =================================== */
#footer-cols li.fcol {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    #footer-cols li.fcol {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.clear {
    width: 100%;
    clear: both;
}

.section {
    margin-bottom: 40px;
}

.bullet {
    position: relative;
    z-index: 1;
}

.bullet:before {
    position: absolute;
    z-index: 2;
    top: -3px;
    left: -40px;
    /* background: url(images/ii_bullet.gif); - REMOVED: Image doesn't exist */
    content: "▸"; /* CSS arrow instead of missing image */
    color: #2E512E;
    font-size: 18px;
    font-weight: bold;
    width: 17px;
    height: 20px;
}

/* ===================================
   HIDE DEBUG OUTPUT FROM SIMPLE FIELDS
   =================================== */
.simple-fields-post-debug-wrap > p {
    display: none !important;
}

/* ===================================
   LOGO
   =================================== */
#logo {
    text-align: center;
}

.logo2 {
    padding: 7px 0;
}

img.logo {
    width: 175px;
    margin-top: 8px;
    float: left;
}

@media (max-width: 768px) {
    img.logo {
        float: none;
        margin: 0 auto;
        display: block;
    }
}

/* ===================================
   CONTENT SPECIFIC STYLES
   =================================== */
.ico1 {
    background: #e3ddd0 !important;
}

.content h1 {
    font-size: 24px;
    color: #000 !important;
}

.content h2 {
    font-size: 18px;
    color: #2E512E;
    margin-bottom: 10px;
}

.content h2.mainpage {
    color: #900000;
}

ul.style1 {
    padding-top: 6px;
}

ul.style1 li {
    list-style: none;
    position: relative;
    font-size: 16px;
    padding-left: 40px;
    color: #2E512E;
    margin-bottom: 15px;
    line-height: 1.6;
}

ul.style1 li:last-child {
    margin-bottom: 0;
}

ul.style1 li:after {
    position: absolute;
    top: -3px;
    left: 0;
    /* background: url(images/ii_bullet.gif); - REMOVED: Image doesn't exist */
    content: "▸"; /* CSS arrow instead of missing image */
    color: #2E512E;
    font-size: 18px;
    font-weight: bold;
    width: 17px;
    height: 20px;
}

/* ===================================
   FAQS SECTION
   =================================== */
.faqs h3 {
    color: #900000;
    font-size: 22px;
    margin-bottom: 18px;
    padding-top: 6px;
}

.faqs .faq_left p {
    font-size: 16px;
    color: #900000;
    font-weight: bold;
}

.faq_right {
    width: 863px;
    float: right;
}

@media (max-width: 995px) {
    .faq_right {
        width: 100%;
        float: none;
    }
}

.faq_left {
    float: left;
    width: 125px;
}

@media (max-width: 768px) {
    .faq_left {
        float: none;
        width: 100%;
        margin-bottom: 15px;
    }
}

.faqs h4 {
    color: #2E512E;
    font-size: 16px;
    margin-bottom: 7px;
    border-bottom: 2px solid #660000;
    padding-bottom: 7px;
}

.faq_left h4 {
    border: 0;
}

.faqs h4.notext {
    height: 1px;
    margin-top: -9px;
    padding-bottom: 0;
}

.faqs .redline {
    border-bottom: 2px solid #660000;
    margin-bottom: 7px;
}

.faqs .redline h3, .faq_right h3 {
    margin-bottom: 8px;
}

.faqs .alignright {
    float: right;
    margin-left: 30px;
    margin-top: -7px;
}

@media (max-width: 768px) {
    .faqs .alignright {
        float: none;
        margin: 0 0 15px 0;
    }
}

.faqs table td {
    vertical-align: top;
    padding-left: 25px;
}

.faqs table td:first-child {
    width: 240px;
    text-align: left;
    padding-left: 0;
}

@media (max-width: 768px) {
    .faqs table td {
        display: block;
        width: 100%;
        padding-left: 0;
    }
}

.faqs p {
    margin-bottom: 12px;
    text-align: left;
}

.home .faqs p {
    margin-bottom: 20px;
}

.faq_answer h4 {
    border: 0;
    line-height: 22px;
}

/* ===================================
   OVERRIDE CLASSES
   =================================== */
.override_black p {
    color: #000 !important;
}

.override_black .RedFont_SpecialWithFaceFamilyIL {
    color: #000 !important;
}

/* ===================================
   SLICK SLIDER
   =================================== */
button.slick-prev,
button.slick-next {
    display: none !important;
}

ul.slider.slick-initialized.slick-slider > button {
    display: none !important;
}

/* ===================================
   FORM INPUTS - CONTACT FORM
   =================================== */
input {
    outline: none;
    border: none;
}

textarea {
    outline: none;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
}

textarea:focus, input:focus {
    border-color: transparent !important;
}

input::-webkit-input-placeholder { color: #bdbdd3; }
input:-moz-placeholder { color: #bdbdd3; }
input::-moz-placeholder { color: #bdbdd3; }
input:-ms-input-placeholder { color: #bdbdd3; }

textarea::-webkit-input-placeholder { color: #bdbdd3; }
textarea:-moz-placeholder { color: #bdbdd3; }
textarea::-moz-placeholder { color: #bdbdd3; }
textarea:-ms-input-placeholder { color: #bdbdd3; }

.contact-form {
    width: 100%;
}

.error {
    padding: 5px 9px;
    border: 1px solid red;
    color: red;
    border-radius: 3px;
}

.success {
    padding: 5px 9px;
    border: 1px solid green;
    color: green;
    border-radius: 3px;
}

.wrap-input {
    width: 90%;
    background-color: #fff;
    border: 1px solid #b3b3b3;
    border-radius: 0px !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.input {
    position: relative;
    display: block;
    width: 100%;
    background: #fff;
    border-radius: 0px;
    color: #8f8fa1;
    line-height: 1.2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2em;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    text-transform: none;
}

input.input {
    height: 40px;
    padding: 0 15px;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.input {
    border-radius: 0px;
}

textarea.input {
    min-height: 169px;
    padding: 19px 15px 0 15px;
}

.focus-input {
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 31px;
    background-color: #fff;
    pointer-events: none;
    transition: all 0.4s;
}

.input:focus + .focus-input100 {
    width: calc(100% + 20px);
}

.container-contact-form-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10px;
}

.contact-form-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    min-width: 150px !important;
    height: 50px;
    background-color: transparent;
    border-radius: 7px;
    cursor: pointer;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.contact-form-btn::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 7px;
    background-color: #9e8c7b;
    pointer-events: none;
    transition: all 0.4s;
}

.contact-form-btn:hover:before {
    background-color: #916439;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit.contact-form-btn {
    font-weight: bold;
    background: #9e9e9e;
}

.validate-input {
    position: relative;
}

.wrap-input.validate-input > p {
    margin-bottom: 0px !important;
}

.wrap-input.validate-input.page-add {
    height: 0px;
    display: none;
}

.contact-form.validate-form > p {
    margin-bottom: 6px;
    margin-left: 26px;
}

.wpcf7-response-output {
    border: none !important;
    text-align: center;
    color: red;
}

/* ===================================
   FORM HEADER
   =================================== */
.form-header-group.header-large {
    background: #e4e4e4;
    padding: 20px 24px;
    margin-bottom: 20px;
}

h1#header_9 {
    margin-bottom: 10px;
}

/* ===================================
   ADDITIONAL SPECIFIC STYLES
   =================================== */
p#copy > a {
    color: #fff;
}

#footer-cols {
    margin-bottom: 0px;
}

div#test {
    color: #000;
    top: 34px;
}

.full-section-area {
    background: #000 !important;
}

body.bodywithmenu.customize-support {
    /* background: rgb(230, 227, 227) !important; */
}

body.yelloy {
    background: #000 !important;
}

/* ===================================
   GRID CONTAINERS
   =================================== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    padding: 10px 30px 0px 30px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        padding: 10px 15px 0px 15px;
    }
}

.grid-container > div {
    padding: 20px 0;
    font-size: 14px;
}

.left-align {
    text-align: left;
}

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

label.label {
    font-size: 15px;
    color: #000 !important;
}

/* ===================================
   WORDPRESS EMOJI STYLES
   =================================== */
img.wp-smiley,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

/* ===================================
   SPECIAL CASE: 4 Unique Barranquilla Carnival Pages
   These pages have custom layouts - preserve original design
   Client request: "leave font size as is... so design stays the same"
   =================================== */

/* Target all 4 carnival pages by class */
body[class*="barranquilla-carnival"] .container,
body.page-barranquilla-carnival .container,
body.page-barranquilla-colombia-carnival-3 .container,
body.page-barranquilla-carnival-celebration .container,
body.page-barranquilla-carnival-women .container {
    /* Preserve exact original widths on desktop */
    width: 995px !important;
    max-width: 995px !important;
}

/* Allow mobile responsiveness for these pages */
@media (max-width: 995px) {
    body[class*="barranquilla-carnival"] .container,
    body.page-barranquilla-carnival .container,
    body.page-barranquilla-colombia-carnival-3 .container,
    body.page-barranquilla-carnival-celebration .container,
    body.page-barranquilla-carnival-women .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px;
    }
}

/* Preserve all custom styling on these pages */
body[class*="barranquilla-carnival"] * {
    /* Don't override custom layouts with global responsive rules */
}

/* ===================================
   ACCESSIBILITY IMPROVEMENTS
   =================================== */
a:focus-visible {
    outline: 2px solid #2E512E;
    outline-offset: 2px;
}

button:focus-visible {
    outline: 2px solid #2E512E;
    outline-offset: 2px;
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .act-area,
    .action-btn-area,
    #arrow-container {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
}