/* =========================================================
   PLANET EARTH HOME PAGE — page-specific styling
   Works with the shared /includes/header.php + footer.php
   ========================================================= */
:root{
    --ds-orange:#f28a00;
    --ds-orange-dark:#d96d00;
    --ds-green:#143f2d;
    --ds-green-2:#0b2d20;
    --ds-teal:#0aa890;
    --ds-ink:#101820;
    --ds-muted:#67727c;
    --ds-soft:#f7f8f8;
    --ds-line:#e7e9e8;
    --ds-white:#fff;
    --ds-radius:18px;
    --ds-shadow:0 12px 35px rgba(16,24,32,.09);
}

.home-main{overflow:hidden;background:#fff;color:var(--ds-ink)}
.home-wrap{width:min(1460px,calc(100% - 48px));margin:0 auto}
.home-section{padding:78px 0}
.home-section.soft{background:#f8faf9}
.home-title-row{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}
.home-kicker{display:block;margin-bottom:8px;color:var(--ds-orange);font-size:12px;font-weight:800;letter-spacing:2.2px;text-transform:uppercase}
.home-title{margin:0;font-family:'DM Sans',Arial,sans-serif;font-size:38px;line-height:1.18;font-weight:800;letter-spacing:-1.2px;color:#0b141b}
.home-subtitle{max-width:700px;margin:12px 0 0;color:var(--ds-muted);font-size:15px;line-height:1.75}

/* HERO */
.ds-hero{position:relative;height:750px;overflow:hidden;background:#173f31;color:#fff}
.ds-hero-slide{position:absolute;inset:0;opacity:0;transform:scale(1);transition:opacity 1.2s ease,transform 9s ease;background-position:center;background-size:cover}
.ds-hero-slide.active{opacity:1;transform:scale(1.075)}
.ds-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,15,11,.70) 0%,rgba(3,15,11,.48) 40%,rgba(3,15,11,.12) 72%,rgba(3,15,11,.08) 100%)}
.ds-hero-content{position:relative;z-index:3;height:100%;display:flex;align-items:center}
.ds-hero-copy{width:min(760px,90%);padding-top:10px}
.ds-hero-small{display:block;margin-bottom:15px;font-size:22px;font-weight:600;letter-spacing:.1px}
.ds-hero h1{margin:0 0 24px;font-family:'DM Sans',Arial,sans-serif;font-size:64px;line-height:1.05;letter-spacing:-2px;font-weight:800;color:#fff;text-shadow:0 5px 25px rgba(0,0,0,.22)}
.ds-hero p{max-width:680px;margin:0 0 32px;color:#f3f5f4;font-size:17px;line-height:1.7}
.ds-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.ds-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:6px;font-weight:800;transition:.2s ease}
.ds-btn:hover{transform:translateY(-2px)}
.ds-btn-orange{background:var(--ds-orange);color:#fff}.ds-btn-orange:hover{background:var(--ds-orange-dark);color:#fff}
.ds-btn-white{background:#fff;color:#182119}.ds-btn-white:hover{color:var(--ds-orange)}
.ds-hero-dots{position:absolute;z-index:4;left:50%;bottom:32px;transform:translateX(-50%);display:flex;gap:9px}
.ds-hero-dot{width:9px;height:9px;border-radius:50%;border:0;background:rgba(255,255,255,.55);cursor:pointer;padding:0}
.ds-hero-dot.active{width:28px;border-radius:10px;background:var(--ds-orange)}

/* QUICK SEARCH */
.ds-search-wrap{position:relative;z-index:10;margin-top:-42px}
.ds-search{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:0;background:#fff;border-radius:10px;box-shadow:0 18px 55px rgba(0,0,0,.16);overflow:hidden}
.ds-search-field{padding:19px 23px;border-right:1px solid #eceeed}
.ds-search-field label{display:block;margin-bottom:5px;color:#7a838a;font-size:11px;text-transform:uppercase;letter-spacing:1.1px;font-weight:800}
.ds-search-field select{width:100%;border:0;outline:0;background:transparent;color:#17201c;font-weight:700}
.ds-search-btn{border:0;padding:0 33px;background:var(--ds-orange);color:#fff;font-weight:800;cursor:pointer}
.ds-search-btn:hover{background:var(--ds-orange-dark)}

/* WHY CHOOSE */
.why-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:75px;align-items:center}
.why-images{position:relative;min-height:580px}
.why-img-large{position:absolute;left:0;bottom:0;width:55%;height:430px;object-fit:cover;border-radius:16px}
.why-img-small{position:absolute;top:20px;right:0;width:68%;height:300px;object-fit:cover;border:7px solid #fff;border-radius:16px;box-shadow:var(--ds-shadow)}
.why-content{position:relative;padding-left:40px}
.why-content:before{content:'';position:absolute;left:0;top:110px;bottom:25px;width:1px;background:#f0c18a}
.why-item{position:relative;display:grid;grid-template-columns:62px 1fr;gap:20px;margin:0 0 56px}
.why-item:last-child{margin-bottom:0}
.why-item:before{content:'';position:absolute;left:-47px;top:28px;width:16px;height:16px;border-radius:50%;background:var(--ds-orange);border:4px solid #fff}
.why-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:var(--ds-orange);color:#fff;font-size:25px}
.why-item h3{margin:4px 0 7px;font-size:21px;font-weight:800}
.why-item p{margin:0;color:var(--ds-muted);line-height:1.65}

/* DESTINATIONS */
.destination-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.destination-card{position:relative;height:395px;border-radius:18px;overflow:hidden;background:#ddd;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.destination-card img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.destination-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.74) 100%)}
.destination-card:hover img{transform:scale(1.06)}
.destination-name{position:absolute;z-index:2;left:24px;right:24px;bottom:24px;color:#fff;font-size:27px;font-weight:800;line-height:1.1}
.destination-meta{display:block;margin-top:7px;font-size:12px;font-weight:600;opacity:.86}
.center-action{text-align:center;margin-top:38px}
.outline-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 30px;border:1.5px solid var(--ds-teal);border-radius:28px;color:#008f7d;font-weight:800}.outline-btn:hover{background:var(--ds-teal);color:#fff}

/* IDEAS */
.idea-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.idea-card{position:relative;min-height:320px;border-radius:22px;overflow:hidden;background-size:cover;background-position:center;color:#fff}
.idea-card:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,46,38,.88),rgba(9,46,38,.22))}
.idea-card.blue:after{background:linear-gradient(90deg,rgba(31,26,75,.92),rgba(19,46,88,.24))}
.idea-copy{position:relative;z-index:2;padding:38px 42px;max-width:590px}
.idea-copy h3{margin:0 0 10px;font-size:24px;line-height:1.25;font-weight:800}
.idea-copy p{margin:0 0 30px;font-size:15px;line-height:1.65}
.idea-copy .ds-btn{min-height:48px;padding:0 22px;border-radius:24px}

/* SAFARI CARDS */
.safari-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
.safari-card{position:relative;background:#fff;border:1px solid #e3e7e4;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(8,37,27,.06);transition:.25s ease}
.safari-card:hover{transform:translateY(-6px);box-shadow:var(--ds-shadow)}
.safari-img{height:235px;position:relative;overflow:hidden}
.safari-img img{width:100%;height:100%;object-fit:cover;transition:.5s ease}
.safari-card:hover .safari-img img{transform:scale(1.05)}
.safari-badge{position:absolute;top:15px;right:15px;padding:7px 10px;border-radius:5px;background:#ff3253;color:#fff;font-size:11px;font-weight:800}
.safari-body{padding:18px 20px 20px}
.safari-location{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:#66727a;font-size:12px}
.safari-title{min-height:48px;margin:0 0 12px;font-size:16px;line-height:1.45;font-weight:800}
.safari-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.safari-tags span{padding:4px 8px;border-radius:4px;background:#edf3ef;color:#315343;font-size:10px;font-weight:700}
.safari-tags span.orange{background:#fff0dc;color:#bf6800}.safari-tags span.teal{background:#e1f7f2;color:#008a74}
.safari-foot{padding-top:14px;border-top:1px solid #e7e9e8;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;color:#66727a}
.safari-foot strong{color:#111;font-size:13px}

/* NEWSLETTER */
.newsletter{padding:78px 0 92px}
.newsletter-box{position:relative;min-height:485px;border-radius:34px;overflow:hidden;background:url('/images/hero-coast.jpg') center/cover no-repeat}
.newsletter-box:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,23,18,.22),rgba(6,23,18,.02))}
.newsletter-panel{position:absolute;z-index:2;left:8.5%;top:50%;transform:translateY(-50%);width:min(620px,80%);padding:44px 48px;border-radius:18px;background:#07110d;color:#fff}
.newsletter-panel h2{margin:0 0 12px;font-size:34px;letter-spacing:-.8px}.newsletter-panel p{margin:0 0 24px;color:#d6dfda;line-height:1.6}
.newsletter-form{display:grid;grid-template-columns:1fr auto;gap:12px}
.newsletter-form input{min-height:55px;border:0;border-radius:30px;padding:0 22px;outline:0}
.newsletter-form button{min-width:125px;border:0;border-radius:30px;background:var(--ds-teal);color:#fff;font-weight:800;cursor:pointer}

@media(max-width:1150px){
 .destination-grid,.safari-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .why-grid{gap:42px}
 .ds-hero h1{font-size:54px}
}
@media(max-width:900px){
 .ds-search{grid-template-columns:1fr 1fr}.ds-search-btn{min-height:58px}.ds-search-field:nth-child(2){border-right:0}
 .why-grid{grid-template-columns:1fr}.why-images{min-height:520px}.why-content{padding-left:32px}
 .idea-grid{grid-template-columns:1fr}
 .ds-hero{height:650px}.ds-hero h1{font-size:48px}
}
@media(max-width:640px){
 .home-wrap{width:min(100% - 28px,1460px)}.home-section{padding:58px 0}.home-title{font-size:31px}
 .ds-hero{height:580px}.ds-hero h1{font-size:42px}.ds-hero-small{font-size:17px}
 .ds-search{grid-template-columns:1fr}.ds-search-field{border-right:0;border-bottom:1px solid #eceeed}
 .why-images{min-height:400px}.why-img-large{height:310px;width:65%}.why-img-small{height:230px;width:72%}
 .why-content:before{display:none}.why-item:before{display:none}.why-content{padding-left:0}.why-item{grid-template-columns:54px 1fr;margin-bottom:35px}.why-icon{width:54px;height:54px}
 .destination-grid,.safari-grid{grid-template-columns:1fr}.destination-card{height:360px}
 .idea-card{min-height:300px}.idea-copy{padding:30px}
 .newsletter-box{min-height:520px}.newsletter-panel{left:6%;width:88%;padding:32px 25px}.newsletter-form{grid-template-columns:1fr}.newsletter-form button{min-height:52px}
}