/*
Theme Name: TravelTour Child
Theme URI: https://dev.athanasiadistravel.gr
Description: Child theme of TravelTour for Athanasiadis Travel.
Author: Yannis
Template: traveltour
Version: 1.1.0
Text Domain: traveltour-child
*/

/* ===== BASE ===== */
.ath-home{color:#1a2942}
.ath-container{max-width:1180px;margin:0 auto;padding:0 20px}
.ath-section{padding:60px 0;text-align:center}
.ath-title{font-size:1.85rem;font-weight:800;letter-spacing:.5px;color:#1a2942;margin:0 0 8px;text-transform:uppercase}
.ath-subtitle{font-size:1rem;color:#6b7686;margin:0 0 18px;font-weight:400}
.ath-title-rule{display:block;width:64px;height:3px;background:#e8972b;margin:0 auto 42px;border-radius:2px}

/* ===== HERO ===== */
.ath-hero{position:relative;min-height:480px;display:flex;align-items:center;overflow:hidden;background:#11448f}
.ath-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:1}
.ath-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,40,66,.94) 0%,rgba(17,40,66,.6) 45%,rgba(17,40,66,.1) 80%);z-index:2}
.ath-hero-inner{position:relative;z-index:3;width:100%}
.ath-hero-text h1{font-size:2.7rem;line-height:1.15;font-weight:800;color:#fff;margin:0 0 18px;text-transform:none;max-width:760px;word-wrap:break-word}
.ath-hero-text p{font-size:1.2rem;color:#ffd79a;margin:0 0 30px;line-height:1.5;max-width:620px}
.ath-btns{display:flex;gap:14px;flex-wrap:wrap}
.ath-btn{display:inline-flex;align-items:center;padding:14px 30px;border-radius:6px;font-weight:700;font-size:.92rem;letter-spacing:.5px;text-decoration:none;transition:.2s}
.ath-btn-primary{background:#e8972b;color:#1a2942}
.ath-btn-primary:hover{background:#f5a73c;transform:translateY(-2px)}
.ath-btn-phone{background:#fff;color:#11448f}
.ath-btn-phone:hover{background:#eef3fb;transform:translateY(-2px)}

/* ===== TRUST + REVIEWS RIBBON ===== */
.ath-trustbar{background:#1a2942}
.ath-trustbar-inner{display:grid;grid-template-columns:repeat(4,1fr);max-width:1180px;margin:0 auto}
.ath-trust-item{display:flex;align-items:center;justify-content:center;gap:9px;padding:20px 14px;color:#fff;font-size:.94rem;font-weight:600;text-align:center;border-right:1px solid rgba(255,255,255,.1);text-decoration:none}
.ath-trust-item:last-child{border-right:none}
.ath-trust-item svg{flex:none;width:22px;height:22px;fill:#e8972b}
.ath-trust-reviews{background:rgba(255,255,255,.04)}
.ath-trust-reviews svg{width:20px;height:20px;fill:none}
.ath-trust-reviews:hover{background:rgba(255,255,255,.09)}
.ath-rs-stars{color:#fbbc05;letter-spacing:1px;font-size:.9rem}
.ath-trust-reviews strong{color:#fff;font-size:1.05rem}
@media(max-width:760px){
  .ath-trustbar-inner{grid-template-columns:repeat(2,1fr)}
  .ath-trust-item{border-bottom:1px solid rgba(255,255,255,.1);font-size:.85rem;padding:15px 10px}
  .ath-trust-item:nth-child(2){border-right:none}
}

/* ===== TOUR CARDS — Viator-grade ===== */
.ath-tours-section .tourmaster-tour-grid{position:relative;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(26,41,66,.09);transition:transform .25s,box-shadow .25s;height:100%}
.ath-tours-section .tourmaster-tour-grid:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(26,41,66,.18)}
.ath-tours-section .tourmaster-tour-grid-inner{display:flex;flex-direction:column;height:100%}

/* photo */
.ath-tours-section .tourmaster-tour-thumbnail{position:relative;overflow:hidden}
.ath-tours-section .tourmaster-tour-thumbnail img{width:100%;height:200px;object-fit:cover;display:block;transition:transform .5s}
.ath-tours-section .tourmaster-tour-grid:hover .tourmaster-tour-thumbnail img{transform:scale(1.06)}

/* turn the ribbon into a clean gold "ΠΡΟΣΦΟΡΑ" badge */
.ath-tours-section .tourmaster-thumbnail-ribbon{position:absolute!important;top:12px;left:12px;z-index:3;background:#e8972b!important;color:#1a2942!important;font-size:0!important;font-weight:800;letter-spacing:.5px;padding:6px 12px!important;border-radius:20px!important;line-height:1!important;box-shadow:0 2px 8px rgba(0,0,0,.2);max-width:none!important;white-space:nowrap}
.ath-tours-section .tourmaster-thumbnail-ribbon::before{content:"ΠΡΟΣΦΟΡΑ";font-size:11px}
.ath-tours-section .tourmaster-thumbnail-ribbon-cornor{display:none!important}

/* text area */
.ath-tours-section .tourmaster-tour-content-wrap{padding:16px 18px 18px!important;text-align:left;display:flex;flex-direction:column;flex:1}
.ath-tours-section .tourmaster-tour-title{font-size:1.05rem!important;font-weight:700!important;line-height:1.32!important;margin:0 0 6px!important;text-transform:none!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ath-tours-section .tourmaster-tour-title a{color:#1a2942!important}
.ath-tours-section .tourmaster-tour-grid:hover .tourmaster-tour-title a{color:#11448f!important}

/* hide duplicate description text */
.ath-tours-section .tourmaster-tour-content{display:none!important}

/* duration meta row */
.ath-tours-section .tourmaster-tour-info-wrap{display:flex;gap:14px;margin:10px 0 0!important;padding:0!important}
.ath-tours-section .tourmaster-tour-info{display:flex;align-items:center;gap:6px;font-size:.86rem!important;color:#6b7686!important}
.ath-tours-section .tourmaster-tour-info i{color:#11448f!important;font-size:1rem!important}

/* price row — bottom, aligned */
.ath-tours-section .tourmaster-tour-price-wrap{margin-top:auto!important;padding-top:14px;border-top:1px solid #eef0f3;display:flex;align-items:baseline;gap:6px}
.ath-tours-section .tourmaster-tour-price .tourmaster-head{font-size:.8rem!important;color:#6b7686!important;font-weight:400!important}
.ath-tours-section .tourmaster-tour-price .tourmaster-tail{font-size:1.5rem!important;color:#e8972b!important;font-weight:800!important}

/* ===== OUR COACH — 2026 overlay look ===== */
.ath-coach{position:relative;background-size:cover;background-position:center;min-height:440px;display:flex;align-items:center}
.ath-coach-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,40,66,.85),rgba(17,40,66,.45));z-index:1}
.ath-coach-inner{position:relative;z-index:2;width:100%}
.ath-coach-card{background:rgba(17,40,66,.55);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:42px 46px;max-width:460px;color:#fff}
.ath-coach-tag{display:inline-block;background:#e8972b;color:#1a2942;font-size:.72rem;font-weight:800;letter-spacing:1px;padding:5px 12px;border-radius:20px;margin-bottom:16px}
.ath-coach-card h2{font-size:1.7rem;font-weight:800;letter-spacing:.5px;margin:0 0 12px;color:#fff}
.ath-coach-card>p{font-size:.98rem;line-height:1.6;color:#d4ddea;margin:0 0 22px}
.ath-coach-card ul{list-style:none;margin:0;padding:0}
.ath-coach-card li{font-size:1.05rem;padding:8px 0;display:flex;align-items:center;gap:12px}

/* ===== WHY US ===== */
.ath-why{background:#fafbfc}
.ath-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:left}
.ath-why-item svg{margin-bottom:16px;display:block}
.ath-why-item h3{font-size:1rem;font-weight:800;letter-spacing:.5px;margin:0 0 8px;color:#1a2942}
.ath-why-item p{font-size:.92rem;line-height:1.6;color:#5a6472;margin:0}

/* ===== CATEGORY TILES — exact selectors ===== */
.ath-cats-section .tourmaster-tour-category-grid{position:relative;border-radius:14px;overflow:hidden;margin:0!important;width:auto!important;box-shadow:0 3px 14px rgba(26,41,66,.12)}
.ath-cats-section .tourmaster-tour-category-item-wrap{position:relative;height:240px}
.ath-cats-section .tourmaster-tour-category-thumbnail{height:240px;overflow:hidden}
.ath-cats-section .tourmaster-tour-category-thumbnail img{width:100%!important;height:240px!important;object-fit:cover!important;transition:transform .5s}
.ath-cats-section .tourmaster-tour-category-grid:hover .tourmaster-tour-category-thumbnail img{transform:scale(1.08)}

/* gradient overlay for legibility */
.ath-cats-section .tourmaster-tour-category-overlay{position:absolute!important;inset:0!important;background:linear-gradient(transparent 28%,rgba(17,40,66,.5) 58%,rgba(17,40,66,.92))!important;opacity:1!important;z-index:1}
.ath-cats-section .tourmaster-tour-category-overlay-front{display:none!important}

/* head block bottom-left */
.ath-cats-section .tourmaster-tour-category-head{position:absolute!important;left:0;right:0;bottom:0;top:auto!important;z-index:2;padding:22px!important;text-align:left!important;transform:none!important}
.ath-cats-section .tourmaster-tour-category-head-display{margin:0!important}
.ath-cats-section .tourmaster-tour-category-title{font-size:1.25rem!important;font-weight:800!important;line-height:1.2!important;margin:0 0 6px!important;color:#fff!important;text-transform:none!important;text-shadow:0 1px 6px rgba(0,0,0,.45)}
.ath-cats-section .tourmaster-tour-category-title i{color:#e8972b!important;margin-right:7px;font-size:1rem!important}
.ath-cats-section .tourmaster-tour-category-count{display:inline-block!important;font-size:.82rem!important;font-weight:700!important;color:#1a2942!important;background:#e8972b!important;padding:3px 11px!important;border-radius:14px!important}
/* hide the wrapping "view all" link — whole tile is clickable */
.ath-cats-section .tourmaster-tour-category-head-animate{display:none!important}
/* make the whole tile a link target */
.ath-cats-section .tourmaster-tour-category-grid{cursor:pointer}

/* ===== TESTIMONIALS ===== */
.ath-testi-section{background:#fafbfc}
.ath-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ath-review{background:#fff;border:1px solid #eef0f3;border-radius:12px;padding:28px 24px;text-align:center;box-shadow:0 2px 10px rgba(26,41,66,.05)}
.ath-stars{color:#fbbc05;font-size:1.15rem;letter-spacing:2px;margin-bottom:14px}
.ath-review p{font-size:.94rem;line-height:1.65;color:#3a4452;font-style:italic;margin:0 0 16px}
.ath-review-name{font-size:.9rem;font-weight:700;color:#11448f}

/* ===== NEWSLETTER ===== */
.ath-newsletter{background:linear-gradient(90deg,#11448f,#1a2942);padding:38px 0}
.ath-newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.ath-newsletter-text{display:flex;align-items:center;gap:16px;color:#fff}
.ath-newsletter-text strong{display:block;font-size:1.18rem;letter-spacing:.5px}
.ath-newsletter-text span{font-size:.94rem;color:#c5d2e6}
.ath-newsletter-form{display:flex}
.ath-newsletter-form input{border:none;padding:14px 18px;border-radius:6px 0 0 6px;width:260px;font-size:.95rem;outline:none}
.ath-newsletter-form button{border:none;background:#e8972b;color:#1a2942;font-weight:800;letter-spacing:.5px;padding:14px 30px;border-radius:0 6px 6px 0;cursor:pointer;transition:.2s}
.ath-newsletter-form button:hover{background:#f5a73c}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .ath-why-grid{grid-template-columns:repeat(2,1fr);gap:26px}
  .ath-reviews{grid-template-columns:1fr}
  .ath-coach-card{max-width:none}
}
@media(max-width:600px){
  .ath-hero-text h1{font-size:2.1rem}
  .ath-why-grid{grid-template-columns:1fr}
  .ath-newsletter-inner{flex-direction:column;text-align:center}
  .ath-newsletter-form{width:100%}
  .ath-newsletter-form input{flex:1;width:auto}
  .ath-coach-card{padding:30px 26px}
}

/* ===== TOUR + CATEGORY GRID CONTAINERS ===== */
.ath-tours-section .tourmaster-tour-item-holder{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ath-tours-section .gdlr-core-item-list{width:auto!important;margin:0!important;padding:0!important;float:none!important}
.ath-cats-section .tourmaster-tour-category-widget-holder,
.ath-cats-section .tourmaster-tour-item-holder{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.ath-cats-section .tourmaster-tour-category-widget,
.ath-cats-section .gdlr-core-item-list{width:auto!important;margin:0!important;padding:0!important;float:none!important}
@media(max-width:900px){
  .ath-tours-section .tourmaster-tour-item-holder,
  .ath-cats-section .tourmaster-tour-category-widget-holder,
  .ath-cats-section .tourmaster-tour-item-holder{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .ath-tours-section .tourmaster-tour-item-holder,
  .ath-cats-section .tourmaster-tour-category-widget-holder,
  .ath-cats-section .tourmaster-tour-item-holder{grid-template-columns:1fr}
}
