/*
Theme Name: Aegean Bliss
Theme URI: https://aegeanblissretreat.com
Author: Aegean Bliss Retreat
Description: A bespoke Cycladic theme for Aegean Bliss Retreat — a vacation apartment in Paros. Crisp white-and-blue island aesthetic, photo-forward, with direct links to Airbnb & Booking.com and a guest inquiry form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aegean-bliss
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --aegean-deep:   #0e4d6b;   /* deep sea */
  --aegean-blue:   #1a7aa3;   /* dome blue */
  --aegean-light:  #4fb3d9;   /* shallow water */
  --aegean-foam:   #eaf4f8;   /* foam tint */
  --sand:          #f6efe3;   /* warm sand */
  --sand-deep:     #e7d8bf;
  --whitewash:     #ffffff;
  --ink:           #21303a;   /* primary text */
  --ink-soft:      #4d606c;   /* secondary text */
  --bougainvillea: #d6577a;   /* accent flower */
  --line:          #e4e9ec;

  --maxw: 1180px;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(14,77,107,.08);
  --shadow-md: 0 14px 40px rgba(14,77,107,.14);

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--whitewash);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aegean-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--aegean-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .4em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tint { background: var(--aegean-foam); }
.section--sand { background: var(--sand); }
.center { text-align: center; }
.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 720px; margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--aegean-blue);
  margin-bottom: 14px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .02em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--aegean-blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--aegean-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--aegean-deep); }
.btn--outline { background: transparent; color: var(--aegean-deep); border-color: var(--aegean-blue); }
.btn--outline:hover { background: var(--aegean-blue); color: #fff; }
.btn--airbnb { background: #ff5a5f; color: #fff; }
.btn--airbnb:hover { background: #e34c50; color: #fff; }
.btn--booking { background: #003580; color: #fff; }
.btn--booking:hover { background: #00224f; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--aegean-deep);
}
.brand__sub {
  font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--aegean-blue);
}
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  font-weight: 500; font-size: .96rem; color: var(--ink);
  padding: 6px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--aegean-blue); transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; text-align: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,77,107,.35) 0%, rgba(14,77,107,.55) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding: 60px 24px; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); margin-bottom: .15em; }
.hero__tag {
  font-size: 1.3rem; font-weight: 300; max-width: 640px; margin: 0 auto 32px;
  color: rgba(255,255,255,.95); text-shadow: 0 1px 14px rgba(0,0,0,.3);
}
.hero__loc {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: 22px; color: rgba(255,255,255,.9);
}

/* ============================================================
   Welcome / intro
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img,
.media-frame {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md);
  aspect-ratio: 4/3; object-fit: cover;
}

/* ============================================================
   Feature cards (amenities / highlights)
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 50px; height: 50px; margin-bottom: 16px; color: var(--aegean-blue);
}
.card h3 { font-size: 1.4rem; margin-bottom: .25em; }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* amenity inline list */
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 28px; }
.amenities li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.amenities svg { width: 22px; height: 22px; color: var(--aegean-blue); flex: none; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery-grid .tile {
  position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-grid .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid .tile:hover img { transform: scale(1.06); }
.gallery-grid .tile.wide { grid-column: span 2; aspect-ratio: 2/1; }
.placeholder-tile {
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 8px; color: #fff; text-align: center; font-size: .85rem;
  background: linear-gradient(135deg, var(--aegean-light), var(--aegean-deep));
}
.placeholder-tile svg { width: 34px; height: 34px; opacity: .85; }

/* Gallery page (grouped grid + lightbox) */
.gallery-heading { font-size: clamp(1.6rem,3vw,2.2rem); margin: 48px 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.gallery-heading:first-of-type { margin-top: 0; }
.gallery-page { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gtile { display: block; aspect-ratio: 3/2; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gtile:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center;
  background: rgba(10,30,40,.92); padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox__fig { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox__img { max-width: 92vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__cap { color: #e7eef2; margin-top: 14px; font-size: .95rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
}

/* ============================================================
   Booking CTA band
   ============================================================ */
.booking-band {
  background: linear-gradient(135deg, var(--aegean-deep), var(--aegean-blue));
  color: #fff; text-align: center;
}
.booking-band h2 { color: #fff; }
.booking-band p { color: rgba(255,255,255,.9); }
.booking-logos { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top: 8px; }

/* ============================================================
   Paros guide tiles
   ============================================================ */
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.guide-card {
  border-radius: var(--radius); overflow: hidden; background:#fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.guide-card__img { aspect-ratio: 3/2; background: linear-gradient(135deg, var(--aegean-light), var(--aegean-deep)); }
.guide-card__body { padding: 22px 24px; }
.guide-card h3 { font-size: 1.4rem; }
.guide-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info li { list-style: none; display:flex; gap:14px; align-items:flex-start; margin-bottom: 20px; }
.contact-info svg { width: 24px; height: 24px; color: var(--aegean-blue); flex:none; margin-top:3px; }
.contact-info ul { padding: 0; margin: 0; }
.contact-info strong { display:block; }

/* Contact Form 7 styling */
.wpcf7 { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.wpcf7 label { display:block; font-weight:600; font-size:.9rem; margin-bottom: 16px; color: var(--ink); }
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=date],
.wpcf7 textarea,
.wpcf7 select {
  width:100%; margin-top:7px; padding: 12px 14px; font: inherit; font-size:.95rem;
  border:1px solid var(--line); border-radius: 10px; background: #fcfdfe; color: var(--ink);
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
  outline:none; border-color: var(--aegean-light); box-shadow: 0 0 0 3px rgba(79,179,217,.18);
}
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 .wpcf7-submit {
  background: var(--aegean-blue); color:#fff; border:0; border-radius: 999px;
  padding: 14px 34px; font-weight:600; cursor:pointer; transition: background .2s ease;
}
.wpcf7 .wpcf7-submit:hover { background: var(--aegean-deep); }
.cf7-two { display:grid; grid-template-columns:1fr 1fr; gap: 0 18px; }

/* ============================================================
   Generic page content
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--aegean-deep), var(--aegean-blue));
  color:#fff; padding: 96px 0 70px; text-align:center;
}
.page-hero h1 { color:#fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width:640px; margin:0 auto; }
.entry-content { max-width: 820px; margin: 0 auto; }
.entry-content img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 1.5em 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote {
  border-left: 4px solid var(--aegean-light); margin: 1.5em 0; padding: .4em 0 .4em 1.4em;
  font-family: var(--font-head); font-size: 1.5rem; color: var(--aegean-deep);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: #c6d2da; padding: 64px 0 28px; }
.site-footer a { color: #c6d2da; }
.site-footer a:hover { color: #fff; }
.footer-cols { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-cols h4 { color:#fff; font-family: var(--font-body); font-size:.85rem; letter-spacing:.18em; text-transform:uppercase; margin-bottom: 16px; }
.footer-cols ul { list-style:none; padding:0; margin:0; }
.footer-cols li { margin-bottom: 10px; }
.footer-brand .brand__name { color:#fff; }
.footer-brand .brand__sub { color: var(--aegean-light); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top: 22px; font-size:.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:#8ea2ae; }
.social { display:flex; gap:14px; }
.social a { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.social svg { width:18px; height:18px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .grid--3, .grid--4, .guide-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; background:#fff; border-bottom:1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; padding: 14px 0 22px;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { width:100%; }
  .main-nav a { display:block; padding: 14px 24px; width:100%; }
  .nav-toggle { display:block; }
  .header-cta .btn { display:none; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .grid--3, .grid--4, .guide-grid, .gallery-grid, .amenities, .cf7-two { grid-template-columns: 1fr; }
  .gallery-grid .tile.wide { grid-column: span 1; aspect-ratio: 1/1; }
  .brand__sub { display:none; }
}
