:root {
    --united-nations-blue: hsl(214, 56%, 58%);
    --bright-navy-blue: hsl(214, 57%, 51%);
    --spanish-gray: hsl(0, 0%, 60%);
    --black-coral: hsl(225, 8%, 42%);
    --oxford-blue: hsl(208, 97%, 12%);
    --yale-blue: hsl(214, 72%, 33%);
    --blue-ncs: hsl(197, 100%, 36%);
    --gunmetal: hsl(206, 34%, 20%);
    --gainsboro: hsl(0, 0%, 88%);
    --cultured: hsl(0, 0%, 98%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --onyx: hsl(0, 0%, 25%);
    --jet: hsl(0, 0%, 20%);

    --ff-poppins: "Poppins", sans-serif;
    --ff-montserrat: "Montserrat", sans-serif;
    --ff-turret: "Turret Road", sans-serif;

    --fs-1: calc(20px + 3.5vw);
    --fs-2: calc(18px + 1.6vw);
    --fs-3: calc(16px + 0.45vw);
    --fs-4: 15px;
    --fs-5: 14px;
    --fs-6: 13px;
    --fs-7: 12px;
    --fs-8: 11px;

    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
    --fw-800: 800;

    --transition: 0.25s ease-in-out;

    --section-padding: 60px;

    --radius-15: 15px;
    --radius-25: 25px;
}

/* General  */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
li { list-style: none; }
a, img, span, input, label, button, ion-icon { display: block; }
    a { text-decoration: none; }
    input, button { background: none; border: none; font: inherit; }
    button { cursor: pointer; }
    input { width: 100%; }
    ion-icon { pointer-events: none; }
html { font-family: var(--ff-poppins); scroll-behavior: smooth; }
body { background: var(--white); }
.container { padding-inline: 15px; }
.btn { color: var(--white); text-transform: uppercase; font-size: var(--fs-5); border-radius: 100px; padding: 8px 18px; border: 2px solid transparent; transition: var(--transition); }
.btn-primary { background: var(--bright-navy-blue); border-color: var(--bright-navy-blue); }
    .btn-primary:is(:hover, :focus) { background: var(--yale-blue); border-color: var(--yale-blue); }
.btn-secondary { border-color: var(--white); }
    .btn-secondary:is(:hover, :focus) { background: hsla(0, 0%, 100%, .1); }
.h1, .h2, .h3 { font-weight: var(--fw-800); font-family: var(--ff-montserrat); text-transform: uppercase; }
    .h1 { color: var(--white); font-size: var(--fs-1); }
    .h2, .h3 { color: var(--gunmetal); }
        .h2 { font-size: var(--fs-2); }
        .h3 { font-size: var(--fs-3); font-weight: var(--fw-700); }
.section-subtitle { color: var(--bright-navy-blue); font-size: var(--fs-5); text-transform: uppercase; font-family: var(--ff-montserrat); margin-bottom: 8px; }
.section-title { margin-bottom: 15px; }
.section-text { color: var(--black-coral); margin-bottom: 30px; }
.card-text { color: var(--black-coral); font-size: var(--fs-5); }

/* Header */
/* === Nav scroll lock === */
html.nav-open,
html.nav-open body {
  overflow: hidden;
}

header { position: absolute; top: 0; left: 0; width: 100%; padding-top: 61px; z-index: 4;  }
.header-top { position: absolute; top: 0; left: 0; width: 100%; transition: var(--transition); border-bottom: 1px solid hsla(0, 0%, 100%, .1); padding-block: 15px; z-index: 1; }
    .header.active .header-top { position: fixed; background: var(--gunmetal); }
    .header-top .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
    .header-top .logo { margin-inline: auto; }
        .header-top .logo img { max-width: 100px; }
.helpline-box .wrapper { display: none; }
.helpline-box ion-icon { background: var(--bright-navy-blue); padding: 6px; border-radius: 50%; color: var(--white); }
    .helpline-box .icon-box ion-icon { --ionicon-stroke-width: 40px; }
.header-btn-group { justify-self: flex-end; display: flex; align-items: center; gap: 10px; color: var(--white); }
.search-btn, .nav-open-btn { font-size: 30px; color: inherit; }
    .search-btn { font-size: 20px; }
.header-bottom { border-bottom: 1px solid hsla(0, 0%, 100%, .1); }
    .header-bottom .container { display: flex; justify-content: space-between; align-items: center; padding-block: 15px; }
.social-list { display: flex; align-items: center; gap: 5px; }
.social-link { color: var(--white); padding: 8px; border: 1px solid hsla(0, 0%, 100%, .3); border-radius: 50%; font-size: 15px; transition: var(--transition); }
    .social-link:is(:hover, :focus) { background: hsla(0, 0%, 100%, .2); }
.header .btn { --padding: 4px 20px; }
.header .navbar { position: fixed; top: 0; right: -300px; width: 100%; max-width: 300px; height: 100%; background: var(--white); visibility: hidden; pointer-events: none; transition: .15s ease-in; z-index: 3; }
    .navbar.active { right: 0; visibility: visible; pointer-events: all; transition: .25s ease-out; }
.navbar-top { display: flex; justify-content: space-between; align-items: center; padding: 40px 15px; }
    .navbar-top .logo img { width: 150px; }
.nav-close-btn { font-size: 20px; color: var(--bright-navy-blue); }
    .nav-close-btn ion-icon { --ionicon-stroke-width: 80px; }
.navbar-list { border-top: 1px solid hsla(0, 0%, 0%, .1); } 
    .navbar-list li { border-bottom: 1px solid hsla(0, 0%, 0%, .1); }
.navbar-link { padding: 15px 20px; color: var(--jet); font-weight: var(--fw-500); font-size: var(--fs-4); transition: var(--transition); text-transform: capitalize; }
    .navbar-link:is(:hover, :focus) { color: var(--bright-navy-blue); }
.overlay { position: fixed; inset: 0; background: var(--black); opacity: 0; pointer-events: none; z-index: 2; transition: var(--transition); }
    .overlay.active { opacity: .7; pointer-events: all; }

/* Hero */
.hero {
    /* Artık sabit background-image yok: */
    background-image: var(--chp-hero, none);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: hsla(0, 0%, 0%, .7);
    background-blend-mode: overlay;

    display: grid;
    place-items: center;
    min-height: 600px;
    text-align: center;
    padding-top: 125px;
}
.hero-title { margin-bottom: 20px; }
.hero-text { color: var(--white); font-size: var(--fs-5); margin-bottom: 40px; }
.btn-group { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }

/* Tour Search */

.tour-search { background: var(--bright-navy-blue); padding-block: var(--section-padding); }
.tour-search-form .input-label { color: var(--white); font-size: var(--fs-4); margin-left: 20px; margin-bottom: 10px; }
.tour-search-form .input-field { background: var(--white); padding: 10px 15px; font-size: var(--fs-5); border-radius: 50px; }
    .tour-search-form .input-field::placeholder { color: var(--spanish-gray); }
    .tour-search-form .input-field::-webkit-datetime-edit { color: var(--spanish-gray); text-transform: uppercase; }
.tour-search-form .input-wrapper { margin-bottom: 15px; }
.tour-search .btn { width: 100%; --border-width: 1px; font-weight: var(--fw-600); margin-top: 35px; }

/* Popular */

.popular { padding-block: var(--section-padding); }
.popular-list, .popular-list > li:not(:last-child) { margin-bottom: 30px; }
.popular-card { position: relative; overflow: hidden; border-radius: var(--radius-25); height: 430px; }
    .popular-card .card-img { height: 100%; }
        .popular-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
    .popular-card .card-content { position: absolute; bottom: 20px; left: 20px; right: 20px; background: var(--white); border-radius: var(--radius-25); padding: 20px; }
    .popular-card .card-rating { 
        background: var(--bright-navy-blue); 
        color: var(--white); 
        position: absolute; 
        top: 0; 
        right: 25px; 
        display: flex; 
        align-items: center; 
        gap: 1px; 
        transform: translateY(-50%);
        padding: 6px 10px; 
        border-radius: 20px; 
        font-size: 14px; 
    }
    .popular-card .card-subtitle { color: var(--blue-ncs); font-size: var(--fs-6); text-transform: uppercase; margin-bottom: 8px; }
    .popular-card .card-title { margin-bottom: 5px; }
        .popular-card :is(.card-subtitle, .card-title) > a { color: inherit; }
.popular .btn { margin-inline: auto; }

/* Package */

.package { padding-block: var(--section-padding); }
.package-list { margin-bottom: 40px; }
    .package-list > li:not(:last-child) { margin-bottom: 30px; }
.package-card { background: var(--cultured); overflow: hidden; border-radius: 15px; }
    .package-card .card-banner { height: 250px; }
        .package-card .card-banner img { width: 100%; height: 100%; object-fit: cover; }
    .package-card .card-content { padding: 30px 20px; }
    .package-card .card-title { line-height: 1.6; margin-bottom: 20px; }
    .package-card .card-price { background: var(--united-nations-blue); color: var(--white); padding: 25px 20px; text-align: center; }
        .package-card .card-price .wrapper { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 15px; margin-bottom: 10px; }
    .package-card .card-rating { display: flex; justify-content: center; align-items: center; gap: 1px; font-size: 14px; }
        .package-card .card-rating ion-icon:last-child { color: hsl(0, 0%, 80%); }
    .package-card .price { font-size: var(--fs-2); font-family: var(--ff-montserrat); font-weight: var(--fw-800); margin-bottom: 20px; }
        .package-card .price span { font-size: var(--fs-7); font-weight: initial; }
.card-meta-list { 
    background: var(--white); 
    max-width: max-content; 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
    padding: 8px;
    box-shadow: 0 0 5px hsla(0, 0%, 0%, .15);
    border-radius: 50px;
    margin-top: 10px; 
}
.card-meta-time { position: relative; }
.card-meta-item:not(:last-child)::after {
  content: '';
  position: absolute; top: 4px; right: -1px; bottom: 4px; width: 1px;
  background: hsla(0, 0%, 0%, .3);
}
    .card-meta-item:not(:last-child)::after { content: ''; position: absolute; top: 4px; right: -1px; bottom: 4px; width: 1px; background: hsla(0, 0%, 0%, .3); }
.meta-box { display: flex; justify-content: center; align-items: center; gap: 5px; padding-inline: 9px; color: var(--black-coral); font-size: var(--fs-8); }
    .meta-box > ion-icon { color: var(--bright-navy-blue); font-size: 13px; }
    .package .btn { margin-inline: auto; }

/* Gallery */

.gallery { padding-block: var(--section-padding); }
.gallery-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-image { width: 100%; height: 100%; border-radius: var(--radius-15); overflow: hidden; }
.gallery-item:nth-child(3) { grid-area: 1 / 2 / 3 / 3; }
    .gallery-image img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

/* CTA */

.cta { background: var(--bright-navy-blue); padding-block: var(--section-padding); }
    .cta :is(.section-subtitle, .section-title, .section-text) { color: var(--white); }
    .cta .section-text { font-size: var(--fs-5); }
    .cta .btn { margin-inline: auto; }

/* Footer */

.footer-top { background: var(--gunmetal); padding-block: var(--section-padding); color: var(--gainsboro); }
.footer-brand { margin-bottom: 30px; }
    .footer-brand img { width: 180px; }
    .footer-brand .logo { margin-bottom: 20px; }
.footer-text { font-size: var(--fs-5); line-height: 1.7; }
.footer-contact { margin-bottom: 30px; }
.contact-title { position: relative; font-family: var(--ff-montserrat); font-weight: var(--fw-500); margin-bottom: 30px; }
    .contact-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 50px; height: 2px; background: var(--bright-navy-blue); }
.contact-text { font-size: var(--fs-5); margin-bottom: 15px; max-width: 200px; }
.contact-item { display: flex; justify-content: flex-start; align-items: center; gap: 10px; margin-bottom: 10px; }
    .contact-item ion-icon { --ionicon-stroke-width: 40px; }
.contact-link, address { font-style: normal; color: var(--gainsboro); font-size: var(--fs-5); }
    .contact-link:is(:hover, :focus) { color: var(--white); }
.form-text { font-size: var(--fs-5); margin-bottom: 20px; }
.footer-form .input-field { background: var(--white); font-size: var(--fs-5); padding: 15px 20px; border-radius: 100px; margin-bottom: 10px; }
.footer-form .btn { width: 100%; }
.footer-bottom { --gunmetal: hsl(205, 36%, 17%); background: var(--gunmetal); padding-block: 20px; text-align: center; }
.copyright { color: var(--gainsboro); font-size: var(--fs-5); margin-bottom: 10px; } 
    .copyright a { color: inherit; display: inline-block; font-family: var(--ff-turret); } 
        .copyright a:is(:hover, :focus) { color: var(--white); }
.footer-bottom-list { display: flex; align-items: center; justify-content: center; gap: 21px; }
    .footer-bottom-list > li { position: relative; }
        .footer-bottom-list > li:not(:last-child)::after { content: ''; position: absolute; top: 3px; right: -10px; bottom: 3px; width: 1px; background: hsla(0, 0%, 100%, .12); }
.footer-bottom-link { color: var(--gainsboro); font-size: var(--fs-7); transition: var(--transition); }
    .footer-bottom-link:is(:hover, :focus) { color: var(--white); }

.go-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--bright-navy-blue);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 18px;
    border-radius: 6px;
    box-shadow: 0 1px 3px hsla(0, 0%, 0%, .5);
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: var(--transition);
}
    .go-top.active { opacity: .8; transform: translateY(0); visibility: visible; }
    .go-top:is(:hover, :focus) { opacity: 1; }

/* Media Queries */

@media (min-width: 580px) {
    .container { max-width: 580px; margin-inline: auto; }
    .btn { --fs-5: 16px; padding: 12px 30px; }

    section:not(.cta) :is(.section-subtitle, .section-title, .section-text) { text-align: center; }
        .section-text { margin-bottom: 40px; }
    .card-text { --fs-5: 15px; }

    .header { padding-top: 83px; }
    .helpline-box .icon-box { padding: 14px; }
    .header-top .logo img { max-width: unset; }
    .search-btn { font-size: 30px; }
    .nav-open-btn { font-size: 40px; }
        .header .btn { --fs-5: 14px; padding: 6px 20px; }

    .hero { min-height: 800px; padding-top: 85px; }
    .hero-text { --fs-5: 15px; }
    .btn-group { gap: 20px; }

    .tour-search-form { display: grid; grid-template-columns: 1fr 1fr; align-items: flex-end; gap: 15px; }
        .tour-search-form .input-wrapper { margin-bottom: 0; }
        .tour-search-form .input-field { padding: 16px 20px; }
    .tour-search .btn { grid-column: span 2; margin-top: 20px; }

    .popular-card .card-content { right: auto; } 

    .footer .container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-form { grid-column: span 2; }
    .footer-bottom { text-align: left; }
    .copyright { margin-bottom: 0; }
    .footer-bottom-list { justify-content: flex-end; }
}

@media (min-width: 768px) {
    :root {
        --fs-5: 15px;
    }

    .container { max-width: 800px; }
    .section-text { max-width: 600px; margin-inline: auto; }
    .helpline-box { display: flex; justify-content: flex-start; align-items: center; gap: 10px; }
        .helpline-box .wrapper { display: block; color: var(--white); font-size: var(--fs-6); }
    .social-list { gap: 10px; }

    .popular-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; }
        .popular-list > li:not(:last-child) { margin-bottom: 0; }
    .popular-card .card-content { right: 20px; }

    .package-list { margin-bottom: 50px; }
        .package-list > li:not(:last-child) { margin-bottom: 40px; }
    .package-card { display: grid; grid-template-columns: 1.3fr 1.5fr 1fr; }
        .package-card .card-banner { height: 100%; }
        .package-card .card-content { padding: 40px; }
        .package-card .card-price { display: grid; place-content: center; }
            .package-card .card-price .wrapper { margin-bottom: 15px; }

    .gallery { padding-bottom: calc(var(--section-padding) * 2); }
    .gallery-list { grid-template-columns: repeat(3 , 1fr); }
    .gallery-image { border-radius: var(--radius-25); }

    .cta .container { display: flex; justify-content: space-between; align-items: center; }
    .cta-content { width: calc(100% - 225px); }
    .cta .section-text { margin-inline: 0; }
    .cta .btn { margin-inline: 0; }

    .form-wrapper { display: flex; justify-content: flex-start; align-items: center; gap: 20px; }
    .footer-form .input-field { margin-bottom: 0; }
    .footer-form .btn { width: max-content; }
}

@media (min-width: 992px) {
    .container { max-width: 1050px; }

    .header.active .header-top { position: unset; background: unset; }
    .nav-open-btn, .navbar-top { display: none; }
    .header-bottom { border-bottom: none; }
    .header.active .header-bottom { 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        background: var(--white); 
        color: var(--onyx); 
        box-shadow: 0 2px 5px hsla(0, 0%, 0%, .08); 
        transition: var(--transition); 
    }
    .header-bottom .container { padding-block: 0; }
    .header .navbar { all: unset; }
    /* Desktop reset for the custom homepage */
    .customhomeready .header .navbar{
    position: static;
    inset: auto;
    right: auto;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 0;
    }

    .navbar-list { border-top: none; display: flex; justify-content: center; align-items: center; }
        .navbar-list li { border-bottom: none; }
    .navbar-link { color: var(--white); --fs-4: 16px; font-weight: unset; text-transform: uppercase; padding: 20px 15px; }
        .header.active .navbar-link { color: var(--onyx); }
            .header.active .navbar-link:is(:hover, :focus) { color: var(--bright-navy-blue); }
        .header.active .social-link { color: var(--onyx); border-color: hsla(0, 0%, 0%, .15); }
    .overlay { display: none; }

    .hero .container { max-width: 740px; }

    .tour-search-form { grid-template-columns: repeat(5, 1fr); }
    .tour-search .btn { padding: 15px; grid-column: unset; margin-top: 0; }

    .popular-list { grid-template-columns: repeat(3, 1fr); }

    .meta-list { --fs-8: 13px; }
    .meta-box > ion-icon { font-size: 15px; }

    .cta .section-title { max-width: 25ch; }

    .footer-top .container { grid-template-columns: repeat(3, 1fr); gap: 50px; }
    .footer-form { grid-column: unset; }
    .form-wrapper { flex-direction: column; }
    .footer-form .btn { width: 100%; }
} 

@media (min-width: 1200px) {
    :root { --section-padding: 100px; }
    .container { max-width: 1180px; }
}
/* --- Avada compatibility & full-bleed --- */
body.page-template-page-custom-homepage .fusion-header,
body.page-template-page-custom-homepage .fusion-footer,
body.page-template-page-custom-homepage .fusion-page-title-bar { display:none !important; }

body.page-template-page-custom-homepage #main,
body.page-template-page-custom-homepage .fusion-row,
body.page-template-page-custom-homepage .site-content,
body.page-template-page-custom-homepage .post,
body.page-template-page-custom-homepage .post-content { max-width:none !important; width:100% !important; padding:0 !important; margin:0 !important; }

/* Break out our wrapper from any constrained containers */
body.page-template-page-custom-homepage .post-content > .customhomeready,
body.page-template-page-custom-homepage #main .customhomeready {
  width:100vw;
  max-width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
  overflow-x:hidden;
}

/* Primary color variable (set from PHP inline) */
:root{
  --primary-color:#2a5bd7;                /* admin-set */
  --bright-navy-blue: var(--primary-color, hsl(214,57%,51%));
}


/* Search overlay UI */
.customhomeready .chp-search-overlay{position:fixed;inset:0;background:rgba(0,0,0,.75);display:none;z-index:9999;}
.customhomeready .chp-search-inner{max-width:600px;margin:10vh auto;background:#fff;padding:20px;border-radius:12px;position:relative;}
.customhomeready .chp-search-close{position:absolute;top:8px;right:8px;font-size:22px;background:#eee;border-radius:6px;padding:6px;}

/* Center align buttons */
.customhomeready .destination .btn,
.customhomeready .packages .btn{display:block;margin:20px auto;text-align:center;}

/* Package card price background uses global primary color */
.customhomeready .package-card .card-price{background:var(--primary-color);color:#fff;}

/* Hover color for buttons (inherits admin-set hover color variable) */
:root{--hover-color:#222;}
.customhomeready .btn:hover{background:var(--hover-color)!important;color:#fff!important;}

/* Footer 3-column layout */
.customhomeready .footer .footer-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;}
@media(max-width:768px){.customhomeready .footer .footer-row{grid-template-columns:1fr;gap:20px;}}

/* Mobile nav and responsive fix */

.customhomeready .hero, .customhomeready .hero img{width:100%;max-width:100%;}
.customhomeready .hero-title, .customhomeready .hero-subtitle{word-wrap:break-word;}

/* Ensure container is fluid on small devices */
@media(max-width:768px){
  .customhomeready .container{padding:0 15px!important;}
  .customhomeready .navbar{flex-direction:column;}
  .customhomeready .navbar-list li{display:block;margin:10px 0;}
}

/* Buttons: center text + hover color from var */
.customhomeready .btn{ display:inline-flex; align-items:center; justify-content:center; text-align:center; }
.customhomeready .btn-primary:hover, .customhomeready .btn-secondary:hover{ background:var(--bright-navy-blue-hover) !important; border-color:var(--bright-navy-blue-hover) !important; }

/* Package card price panel uses primary color */
.customhomeready .package .card-price{ background:var(--bright-navy-blue) !important; }
.customhomeready .package .btn.btn-secondary{ border-color:#fff; color:#fff; }
.customhomeready .package .btn.btn-secondary:hover{ background:#fff !important; color:#000 !important; }

/* Header layout alignment */
.customhomeready .header-top .container,
.customhomeready .header-bottom .container{ display:flex; align-items:center; justify-content:space-between; width:100%; }
.customhomeready .navbar-list{ display:flex; gap:28px; align-items:center; }
.customhomeready .navbar-list > li{ display:block; }
.customhomeready .header .logo img{ max-height:44px; width:auto; }

/* Footer three columns on desktop */
@media (min-width: 992px){
  .customhomeready .footer-top .container{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap:40px; align-items:start; }
}

/* Mobile responsiveness tweaks */
@media (max-width: 991px){
  .customhomeready .header-bottom .container{ flex-direction:column; gap:14px; }
  .customhomeready .navbar{ width:100%; }
  .customhomeready .navbar-list{ flex-direction:column; gap:16px; }
  .customhomeready .hero .container{ padding-left:16px; padding-right:16px; }
}

/* Full-bleed hero image */
.customhomeready .hero{ background-size:cover; background-position:center center; background-repeat:no-repeat; }

/* Footer columns */
.customhomeready .footer-top .container{display:flex;flex-wrap:wrap;gap:30px;}
@media(min-width:992px){
  .customhomeready .footer-top .container{flex-wrap:nowrap;justify-content:space-between;}
  .customhomeready .footer-top .container > div{flex:1;}
}
/* Footer bottom row: copyright left, menu right */
.customhomeready .footer-bottom .container{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;}

/* Buttons sizing and centering */
.customhomeready .btn{padding:12px 28px;font-size:16px;border-radius:30px;display:inline-flex;align-items:center;justify-content:center;}
.customhomeready .btn-block{display:flex;justify-content:center;}

/* Avada reset */
body.page-template-page-custom-homepage .fusion-header,
body.page-template-page-custom-homepage .fusion-footer,
body.page-template-page-custom-homepage .fusion-page-title-bar {
  display:none !important;
}

body.page-template-page-custom-homepage #main,
body.page-template-page-custom-homepage .fusion-row,
body.page-template-page-custom-homepage .site-content,
body.page-template-page-custom-homepage .post,
body.page-template-page-custom-homepage .post-content {
  max-width:none !important;
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
}

/* 🔥 Force CHP container to behave like demo */
body.page-template-page-custom-homepage .container {
  max-width: 1200px !important;  /* desktop */
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box;
}

/* Mobil */
@media (max-width: 767px) {
  body.page-template-page-custom-homepage .container {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 991px) {
  .customhomeready .header-bottom .container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  /* Social ikonlar full sola yaslı */
  .customhomeready .social-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .customhomeready .social-list li {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Booking butonu full sağa yaslı */
  .customhomeready .header-bottom .btn {
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 6px 18px !important;
    font-size: 14px !important;
  }
}
/* Sadece section butonları ortala */
.customhomeready .popular .btn,
.customhomeready .package .btn,
.customhomeready .gallery .btn,
.customhomeready .destination .btn {
  display: block !important;
  margin: 20px auto !important;
  text-align: center !important;
}
/* Galeri düzeni (desktop) */
.customhomeready .gallery-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "img1 img2 img3"
    "img4 img2 img5";
  gap: 15px !important;
}

/* Genel stiller */
.customhomeready .gallery-item {
  border-radius: 15px;
  overflow: hidden;
}

.customhomeready .gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Grid bölgeleri */
.customhomeready .gallery-item:nth-child(1) { grid-area: img1; }
.customhomeready .gallery-item:nth-child(2) { grid-area: img2; }
.customhomeready .gallery-item:nth-child(3) { grid-area: img3; }
.customhomeready .gallery-item:nth-child(4) { grid-area: img4; }
.customhomeready .gallery-item:nth-child(5) { grid-area: img5; }

.chp-search-overlay { display:none; }

/* ==== Footer bottom — consistent single-row layout (all sizes) ==== */
.customhomeready .footer-bottom {
  /* unified height via padding + line-height */
  --footer-bottom-min-h: 48px;
}
.customhomeready .footer-bottom .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:var(--footer-bottom-min-h);
  padding-block:8px;               /* keeps visual height consistent */
  flex-wrap:nowrap;                /* enforce one line */
}

/* Equal visual rhythm */
.customhomeready .copyright,
.customhomeready .footer-bottom-list {
  line-height:1.2;
  font-size:14px;
}

/* Copyright: fixed-size, no wrap */
.customhomeready .copyright{
  margin:0;
  white-space:nowrap;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  min-height:32px;                 /* equal tap target */
}

/* Menu: flex row, scroll if needed (no wrap) */
.customhomeready .footer-bottom-list{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  flex:1 1 auto;
  white-space:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0 2px 4px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;            /* Firefox */
}
.customhomeready .footer-bottom-list::-webkit-scrollbar{ display:none; }
.customhomeready .footer-bottom-list > li{ display:inline-block; }
.customhomeready .footer-bottom-list > li::after{ display:none; } /* no dividers */

/* Tap targets for links */
.customhomeready .footer-bottom-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 8px;
  min-height:32px;
}

/* ==== Perfect mobile view override ==== */
@media (max-width: 767px){
  .customhomeready .footer-bottom .container{
    gap:10px !important;
    min-height:44px;               /* slightly tighter on mobile */
    padding-block:6px;
  }
  .customhomeready .copyright{
    font-size:13px !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;      /* lock width to content */
  }
  .customhomeready .footer-bottom-list{
    flex:1 1 auto !important;
    justify-content:flex-end !important;
    gap:14px !important;
    overflow-x:auto !important;    /* horizontal scroll if needed */
    padding:0 2px 4px !important;
  }
  .customhomeready .footer-bottom-link{
    padding:6px 6px;               /* compact but tappable */
    min-height:30px;
  }
}

/* Optional: respect device safe area on iOS */
@supports (padding: max(0px)) {
  .customhomeready .footer-bottom { 
    padding-bottom: max(0px, env(safe-area-inset-bottom)); 
  }
}

/* ===== MOBILE NAV (<=991px) ONLY — SAFE FOR DESKTOP ===== */
@media (max-width: 991px){

  .customhomeready .overlay{
    background: rgba(18,24,40,.48) !important;
    backdrop-filter: blur(2px);
  }

  .customhomeready .header .navbar{
    position: fixed !important;
    inset: 0 0 0 auto;
    width: 88vw; max-width: 420px;
    background: #fff;
    box-shadow: -24px 0 48px rgba(16,24,40,.18);
    display: flex !important; flex-direction: column !important;
    border-radius: 12px 0 0 12px;
    overflow: hidden; z-index: 9999;
    right: -100%; visibility: hidden; pointer-events: none;
    transition: right .25s ease-out, visibility 0s linear .25s;
  }
  .customhomeready .header .navbar.active{
    right: 0; visibility: visible; pointer-events: auto;
    transition: right .25s ease-out;
  }

  .customhomeready .navbar-top{
    display: flex !important; align-items: center !important; justify-content: flex-end !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(0,0,0,.06) !important;
    background: #fff !important; position: sticky; top: 0; z-index: 2;
  }

  .customhomeready .navbar-list{
    display: flex !important; flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 10px 8px 18px !important; margin: 0 !important;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    border: 0 !important;
  }
  .customhomeready .navbar-list li{
    margin: 0 !important; border: 0 !important; list-style: none !important;
  }

  .customhomeready .navbar-link{
    display: grid !important; grid-template-columns: 1fr 18px;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 12px !important;
    min-height: 48px; border-radius: 12px !important;
    text-align: left !important; font-size: 16px !important; font-weight: 600;
    color: #0f172a !important; background: transparent !important; border: 1px solid transparent !important;
  }
  .customhomeready .navbar-link::after{ content: "›"; font-weight: 700; opacity: .35; }
  .customhomeready .navbar-list > li:not(.has-submenu) .navbar-link::after{ content: ""; }

  .customhomeready .navbar-link:hover,
  .customhomeready .navbar-link:focus-visible{
    background: rgba(42,91,215,.06) !important;
    border-color: rgba(42,91,215,.18) !important;
    outline: none !important;
  }

  .customhomeready .has-submenu{ position: relative; }
  .customhomeready .submenu{
    position: absolute; top: 0; left: 100%;
    width: 88vw; max-width: 420px; height: 100%;
    background: #fff; border-left: 1px solid rgba(0,0,0,.06);
    box-shadow: -16px 0 32px rgba(16,24,40,.12);
    transform: translateX(12px); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
    display: flex; flex-direction: column;
  }
  .customhomeready .has-submenu.open > .submenu{
    transform: translateX(0); opacity: 1; pointer-events: auto;
  }
  .customhomeready .has-submenu.open > .navbar-link{
    background: rgba(42,91,215,.08) !important;
    border-color: rgba(42,91,215,.22) !important;
  }

  .customhomeready .submenu-header{
    display: grid; grid-template-columns: auto 1fr; align-items: center;
    gap: 8px; padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: #fff; position: sticky; top: 0; z-index: 1;
  }
  .customhomeready .submenu-back{
    padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(0,0,0,.12);
    background: transparent; font-weight: 600; color:#0f172a;
  }
  .customhomeready .submenu-title{ font-weight: 700; }

  .customhomeready .submenu-list{
    list-style: none; margin: 0; padding: 10px 8px 18px; overflow: auto;
    display: flex; flex-direction: column; gap: 4px;
  }
  .customhomeready .submenu-link{
    display: block; padding: 12px 12px; min-height: 44px;
    border-radius: 10px; color:#0f172a; font-weight:600; text-decoration:none;
  }
  .customhomeready .submenu-link:hover,
  .customhomeready .submenu-link:focus-visible{
    background: rgba(42,91,215,.06); outline: none;
  }
}

/* Dark mode — mobile only */
@media (max-width: 991px) and (prefers-color-scheme: dark){
  .customhomeready .header .navbar,
  .customhomeready .submenu{ background:#0b1020; }
  .customhomeready .navbar-link, .customhomeready .submenu-link{ color:#e5e7eb!important; }
  .customhomeready .submenu-header{ background:#0b1020; border-bottom-color:rgba(255,255,255,.08); }
  .customhomeready .submenu{ border-left-color:rgba(255,255,255,.08); box-shadow:none; }
}