/* =========================================================
   Global Reset & Base
========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --brand:#ffb400;
  --bg:#f9f9f9;
  --ink:#333;
  --nav:#1d2733;
}
body { font-family: 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); overflow-x: hidden; }
/* Navbar */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--nav); color: #fff; padding: 1rem 2rem;
  position: sticky; top: 0; z-index: 1000;
}
.logo { font-size: 1.4rem; font-weight: 700; color: var(--brand); text-decoration: none; transition: color .3s; }
.logo:hover { color: #fff; }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links li { position: relative; }
.nav-links a, .nav-right a { text-decoration: none; color: #fff; font-weight: 500; transition: color .3s; }
.nav-links a:hover, .nav-right a:hover { color: var(--brand); }
.nav-right a { margin-left: 1.5rem; }
.nav-links a.active, .nav-right a.active { color: var(--brand); font-weight: 700; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #222; list-style: none; padding: .5rem; min-width: 180px; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: .5rem; color: #fff; }
.hamburger { display: none; font-size: 1.6rem; cursor: pointer; color: #fff; }
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-center, .nav-right { display: none; flex-direction: column; background: #111; width: 100%; text-align: center; padding: 1rem 0; }
  .nav-center.active, .nav-right.active { display: flex; }
  .nav-links { flex-direction: column; gap: 1rem; }
  .nav-right a { margin: .5rem 0; }
}

/* Hero */
.hero { position: relative; height: 100vh; background: url("https://source.unsplash.com/1600x900/?photography,studio") center/cover no-repeat;
  display: flex; justify-content: center; align-items: center; color: #fff; text-align: center; overflow: hidden; transition: background-image 1s ease-in-out; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 2rem; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 25px; text-decoration: none; font-weight: 600; transition: all .3s ease; }
.btn-primary { background: var(--brand); color: #111; }
.btn-primary:hover { background: #fff; color: #111; }
.btn-secondary { background: #fff; color: #111; margin-left: 1rem; }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.hero-prev, .hero-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); border: none; color: #fff; font-size: 2rem; padding: .5rem 1rem; cursor: pointer; z-index: 3; border-radius: 50%; transition: background .3s; }
.hero-prev:hover, .hero-next:hover { background: rgba(0,0,0,.8); }
.hero-prev { left: 20px; } .hero-next { right: 20px; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 3; }
.hero-dots span { width: 12px; height: 12px; background: rgba(255,255,255,.6); border-radius: 50%; cursor: pointer; transition: background .3s; }
.hero-dots span.active { background: var(--brand); }

/* Photography */
.photography { padding: 3rem; text-align: center; }
.photography h2 .section-link { color: inherit; text-decoration: none; }
.photography h2 .section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card { background: #fff; padding: 1.5rem; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.1); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.card a { display: inline-block; margin-top: 1rem; color: var(--brand); font-weight: 700; text-decoration: none; }
.card a:hover { color: #111; }

/* Home Travel Carousel */
.travel { padding: 3rem; text-align: center; background: #fafafa; }
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 20px; will-change: transform; transition: transform .5s ease-in-out; }
.travel-card { flex: 0 0 calc((100% - 40px) / 3); background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.1); overflow: hidden; transform: scale(.98); transition: transform .3s, box-shadow .3s; }
.travel-card:hover { transform: scale(1); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.travel-card img { width: 100%; display: block; border-bottom: 2px solid var(--brand); }
.travel-card h3 { margin: .75rem; }
.travel-card .btn { margin: 0 .75rem 1rem; padding: .5rem 1rem; border-radius: 6px; }
.prev, .next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); border: none; color: #fff; font-size: 2rem; cursor: pointer; padding: .35rem .7rem; border-radius: 50%; transition: background .25s, opacity .25s; z-index: 2; }
.prev { left: 10px; } .next { right: 10px; }
.prev:hover, .next:hover { background: rgba(0,0,0,.8); }
.prev:disabled, .next:disabled { opacity: .35; cursor: default; }
@media (max-width: 1024px) { .travel-card { flex: 0 0 calc((100% - 20px) / 2); } }
@media (max-width: 768px)  { .travel-card { flex: 0 0 100%; } }

/* Newsletter */
.newsletter { padding: 3rem; background: #fff5e6; }
.newsletter-container { display: flex; max-width: 900px; margin: auto; background: #fff; border-radius: 15px; box-shadow: 0 2px 10px rgba(0,0,0,.1); overflow: hidden; }
.newsletter-img { flex: 1 1 50%; }
.newsletter-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.newsletter-form { flex: 1 1 50%; padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.newsletter-form input { width: 100%; padding: .8rem; margin-top: 1rem; border: 1px solid #ccc; border-radius: 5px; }
.newsletter-form button { margin-top: 1rem; padding: .8rem 1.5rem; background: var(--brand); border: none; border-radius: 5px; cursor: pointer; transition: background .3s; color: #111; font-weight: 700; }
.newsletter-form button:hover { background: #111; color: #fff; }
@media (max-width: 768px) { .newsletter-container { flex-direction: column; } .newsletter-img, .newsletter-form { flex: 1 1 100%; } .newsletter-img { height: 200px; } }

/* About */
.about { padding: 3rem; text-align: center; background: #fafafa; color: #333; line-height: 1.6; }
.about h2 { margin-bottom: 1rem; color: var(--brand); }

/* Makeup 3x3 */
.makeup-page { padding: 3rem; text-align: center; }
.page-title { font-size: 2.5rem; color: var(--brand); margin-bottom: .5rem; }
.page-subtitle { color: #666; margin-bottom: 2rem; }
.makeup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 2rem auto 0; }
.makeup-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,.1); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; text-align: center; }
.makeup-card:hover { transform: translateY(-8px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.makeup-card img { width: 100%; height: 200px; object-fit: cover; border-bottom: 3px solid var(--brand); }
.makeup-card h3 { margin: 1rem 0; font-size: 1.2rem; }
.makeup-card a { display: inline-block; margin: 1rem; padding: .6rem 1.2rem; border-radius: 25px; background: var(--brand); color: #111; font-weight: 700; text-decoration: none; transition: all .3s; }
.makeup-card a:hover { background: #111; color: #fff; }
@media (max-width: 1024px) { .makeup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .makeup-grid { grid-template-columns: 1fr; } }

/* Travel page hero carousel */
.travel-hero-carousel { position: relative; height: clamp(48vh, 55vw, 72vh); overflow: hidden; color: #fff; background: #000; }
.travel-hero-carousel .thc-track { display: flex; width: 100%; height: 100%; will-change: transform; transition: transform .6s ease; }
.travel-hero-carousel .thc-slide { position: relative; flex: 0 0 100%; height: 100%; background: center/cover no-repeat; background-image: var(--bg); }
.travel-hero-carousel .thc-layer { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.25)); }
.travel-hero-carousel .thc-content { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; }
.travel-hero-carousel .thc-content h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem; }
.travel-hero-carousel .thc-content p { opacity: .95; margin-bottom: 1rem; }
.travel-hero-carousel .thc-prev, .travel-hero-carousel .thc-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.45); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 1.6rem; line-height: 42px; text-align: center; cursor: pointer; z-index: 2; transition: background .25s ease; }
.travel-hero-carousel .thc-prev { left: 14px; } .travel-hero-carousel .thc-next { right: 14px; }
.travel-hero-carousel .thc-prev:hover, .travel-hero-carousel .thc-next:hover { background: rgba(0,0,0,.7); }
.travel-hero-carousel .thc-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.travel-hero-carousel .thc-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); cursor: pointer; transition: transform .2s, background .2s; }
.travel-hero-carousel .thc-dots button.active { background: var(--brand); transform: scale(1.15); }

/* Travel grid & cards */
.dest-grid { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1024px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .dest-grid { grid-template-columns: 1fr; } }
.dest-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.dest-card:hover { transform: translateY(-6px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.dest-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dest-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .35s ease; }
.dest-card:hover .dest-card__media img { transform: scale(1.07); }
.badge { position: absolute; top: 12px; left: 12px; background: rgba(17,17,17,.85); color: #fff; font-size: .8rem; padding: .35rem .6rem; border-radius: 999px; }
.dest-card__body { padding: 1rem 1rem 1.1rem; }
.dest-card__body h3 { margin: .25rem 0 .35rem; font-size: 1.1rem; }
.dest-card__body p { color: #555; font-size: .95rem; margin-bottom: .9rem; }
.explore-btn { display: inline-block; margin: 0 .75rem 0 0; padding: .5rem 1rem; background: var(--brand); border-radius: 6px; text-decoration: none; color: #111; font-weight: 600; transition: background .25s, color .25s; }
.explore-btn:hover { background: #111; color: #fff; }

/* Fancy toolbar search */
.travel-toolbar { position: static; top: 70px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(0,0,0,0.06); z-index: 10; }
.travel-toolbar__inner { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: grid; gap: 12px; }
@media (min-width: 900px) { .travel-toolbar__inner { grid-template-columns: 380px 1fr; align-items: center; } }
.travel-search { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid #e6e9ef; border-radius: 999px; box-shadow: 0 6px 20px rgba(20,30,55,0.08); transition: box-shadow .2s, border-color .2s, background .2s; padding: 6px 12px 6px 44px; min-height: 46px; }
.travel-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .65; font-size: 1rem; }
.travel-search input { flex: 1; border: none; outline: none; background: transparent; font-size: .98rem; color: #111; }
.travel-search input::placeholder { color: #9aa3af; }
.travel-search:focus-within { border-color: var(--brand); box-shadow: 0 8px 26px rgba(20,30,55,0.12), 0 0 0 3px rgba(255,180,0,0.18); background: #fff; }
.travel-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .48rem .92rem; border-radius: 999px; border: 1px solid #e6e9ef; background: #fff; color: #111; font-size: .9rem; cursor: pointer; box-shadow: 0 3px 12px rgba(20,30,55,0.06); transition: transform .12s ease, box-shadow .2s, border-color .2s, background .2s; }
.chip:hover { transform: translateY(-1px); border-color: #d5dae4; box-shadow: 0 6px 16px rgba(20,30,55,0.10); }
.chip.active { background: var(--brand); color: #111; border-color: var(--brand); box-shadow: 0 6px 16px rgba(255,180,0,0.35); }
@media (max-width: 480px) { .travel-toolbar__inner { padding: 10px 12px; } .travel-search { min-height: 44px; padding-left: 42px; } }

/* Footer */
footer { background: var(--nav); color: #fff; padding: 2rem 1rem 1rem; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: auto; }
.footer-section { flex: 1; min-width: 220px; margin: 1rem; }
.footer-section h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin: .5rem 0; }
.footer-section ul li a { color: #ddd; text-decoration: none; transition: color .3s; }
.footer-section ul li a:hover { color: var(--brand); }
.socials a { display: inline-flex; justify-content: center; align-items: center; width: 45px; height: 45px; margin: 0 .1rem; font-size: 1.5rem; border-radius: 50%; color: #fff; background: #444; transition: transform .3s, background .3s; }
.socials a:hover { transform: scale(1.2); }
.socials a.facebook { background: #3b5998; }
.socials a.twitter { background: #1da1f2; }
.socials a.instagram { background: radial-gradient(circle at 30% 30%, #f58529, #dd2a7b, #8134af, #515bd4); }
.socials a.linkedin { background: #0077b5; }
.subscribe-form { display: flex; align-items: center; gap: .5rem; }
.subscribe-form input { padding: .6rem 1rem; border-radius: 20px; border: none; outline: none; flex: 1; }
.subscribe-form button { padding: .6rem 1.2rem; border: none; border-radius: 20px; background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; cursor: pointer; transition: opacity .3s; }
.subscribe-form button:hover { opacity: .85; }
.footer-bottom { text-align: center; padding-top: 1rem; border-top: 1px solid #333; font-size: .9rem; color: #bbb; }
.footer-bottom a { color: #ddd; margin: 0 5px; text-decoration: none; }
.footer-bottom a:hover { color: var(--brand); }

/* Utils */
#backToTop { position: fixed; bottom: 20px; right: 25px; background: var(--brand); color: #fff; border: none; padding: 12px 15px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transition: all .3s; z-index: 999; }
#backToTop:hover { background: #111; color: var(--brand); }
#backToTop.show { opacity: 1; visibility: visible; }
#progressBar { position: fixed; top: 0; left: 0; height: 5px; background: var(--brand); width: 0%; z-index: 1001; }
.page-container { max-width: 800px; margin: 3rem auto; padding: 2rem; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.1); line-height: 1.6; }
.page-container h1 { margin-bottom: 1rem; color: var(--brand); }
.page-container a { display: inline-block; margin-top: 1.5rem; text-decoration: none; color: var(--brand); font-weight: 700; }
.page-container a:hover { color: #111; }
