/*
Theme Name: Athens By Sea
Theme URI: https://athensbysea.com
Description: AI-optimized travel website for luxury catamaran cruises in Athens Riviera. Built for Generative Engine Optimization (GEO).
Version: 1.0.0
Author: Sailing Athens
Author URI: https://sailingathens.com
License: Proprietary
Text Domain: athensbysea
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B1D35;
  --navy-light: #132E4F;
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --azure: #1B8FCE;
  --white: #FFFFFF;
  --offwhite: #F7F8FA;
  --text: #2C3345;
  --text-light: #6B7280;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(11,29,53,0.10);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--azure); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: 0.5em; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8em;
  display: block;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11,29,53,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.site-logo span { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,29,53,0.4) 0%, rgba(11,29,53,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.5em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 2em;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 40px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--offwhite);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h2,
.section--navy h3 { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* === CRUISE CARDS === */
.cruise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.cruise-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cruise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11,29,53,0.15);
}

.cruise-card__image {
  height: 240px;
  overflow: hidden;
}

.cruise-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cruise-card:hover .cruise-card__image img {
  transform: scale(1.05);
}

.cruise-card__body {
  padding: 28px;
}

.cruise-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.cruise-card__price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
}

.cruise-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.cruise-card__meta span::before {
  margin-right: 6px;
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.feature {
  text-align: center;
  padding: 20px;
}

.feature__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === TESTIMONIALS === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial {
  background: var(--white);
  padding: 36px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial__stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial__text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial__author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial__source {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 24px 0;
}

.faq-item summary {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding-top: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.post-card:hover { transform: translateY(-3px); }

.post-card__image {
  height: 200px;
  overflow: hidden;
}
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body { padding: 24px; }

.post-card__date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.post-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === SINGLE POST === */
.post-content {
  max-width: 740px;
  margin: 0 auto;
  padding-top: 120px;
}

.post-content h1 { margin-bottom: 0.3em; }

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.post-body h2, .post-body h3 { margin-top: 1.8em; }
.post-body img { border-radius: var(--radius); margin: 2em 0; }
.post-body ul, .post-body ol { margin: 1em 0 1em 1.5em; }
.post-body li { margin-bottom: 0.5em; }

/* === CTA BAR === */
.cta-bar {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
}

.cta-bar h2 {
  color: var(--white);
  margin-bottom: 0.5em;
}

.cta-bar p {
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 1.5em;
}

/* === FOOTER === */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 16px;
  }
  .mobile-toggle { display: block; }
  .hero { min-height: 80vh; }
  .section { padding: 60px 0; }
  .cruise-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2em; }
