/* GreeceItaly - Main styles - Mobile first, Core Web Vitals friendly */
:root {
  --color-sea: #1e4d6b;
  --color-sea-light: #2a6b8f;
  --color-white: #fafbfc;
  --color-maroon: #8b2942;
  --color-gold: #c9a227;
  --color-gold-soft: #d4b84a;
  --color-text: #2c3e50;
  --color-text-muted: #5a6c7d;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --container: min(92vw, 1140px);
  --space: 1.25rem;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[loading="lazy"] {
  content-visibility: auto;
}

a {
  color: var(--color-sea);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -3rem;
  left: var(--space);
  padding: 0.5rem 1rem;
  background: var(--color-sea);
  color: var(--color-white);
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 77, 107, 0.1);
}

.site-header .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space) 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-sea);
  text-decoration: none;
}

.logo-link:hover {
  text-decoration: none;
  opacity: 0.9;
}

.logo-link img {
  width: 42px;
  height: auto;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
}

.nav-main a:hover {
  background: rgba(30, 77, 107, 0.08);
  color: var(--color-sea);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-sea) linear-gradient(135deg, rgba(30,77,107,0.85) 0%, rgba(139,41,66,0.6) 100%);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 4%;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero .tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 32ch;
  margin: 0 auto 1.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-gold);
  color: #1a1a1a;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--color-gold-soft);
  text-decoration: none;
  color: #1a1a1a;
  transform: translateY(-1px);
}

/* Sections */
section {
  padding: 3rem 4%;
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-sea);
}

/* About */
.about p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.about p:last-child {
  margin-bottom: 0;
}

/* Highlights / Layanan */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.highlight-card {
  background: #fff;
  border: 1px solid rgba(30, 77, 107, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.highlight-card:hover {
  box-shadow: 0 8px 24px rgba(30, 77, 107, 0.1);
  border-color: rgba(30, 77, 107, 0.2);
}

.highlight-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--color-sea);
}

.highlight-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.highlight-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Info block */
.info-main {
  background: linear-gradient(180deg, rgba(30, 77, 107, 0.06) 0%, transparent 100%);
  border-radius: var(--radius);
  padding: 2rem;
}

.info-main h2 {
  margin: 0 0 1rem;
  color: var(--color-sea);
}

.info-main p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.info-main p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-list li {
  border-bottom: 1px solid rgba(30, 77, 107, 0.12);
  padding: 1rem 0;
}

.faq-list li:first-child {
  padding-top: 0;
}

.faq-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--color-sea);
}

.faq-list p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* CTA */
.cta-block {
  text-align: center;
  padding: 3rem 4%;
  background: var(--color-sea);
  color: var(--color-white);
  border-radius: var(--radius);
  margin: 0 4% 3rem;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.cta-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: inherit;
}

.cta-block p {
  margin: 0 0 1.25rem;
  opacity: 0.95;
}

.cta-block .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-gold);
  color: #1a1a1a;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.cta-block .btn:hover {
  background: var(--color-gold-soft);
  color: #1a1a1a;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #1a2d3a;
  color: var(--color-white);
  padding: 2.5rem 4% 1.5rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.footer-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--color-gold-soft);
  text-decoration: none;
}

.footer-meta {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

/* Subpage banner */
.page-banner {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.page-banner .banner-bg {
  position: absolute;
  inset: 0;
  background: var(--color-sea);
}

.page-banner .banner-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.page-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,77,107,0.8) 0%, rgba(139,41,66,0.5) 100%);
  z-index: 1;
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
  padding: 2rem 4%;
}

.page-banner h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.page-banner .breadcrumb {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.page-banner .breadcrumb a {
  color: inherit;
}

.page-banner .breadcrumb a:hover {
  text-decoration: underline;
}

/* Subpage content */
.page-content {
  padding: 2.5rem 4% 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.page-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--color-sea);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-text);
}

.page-content p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.page-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.page-content .back-home {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 500;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
