/* АЛЬ-РАМІ — Туристичне агентство */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --color-sand: #e8dcc4;
  --color-terracotta: #c17f59;
  --color-deep: #2c3e50;
  --color-ocean: #1a5f7a;
  --color-cream: #faf6f0;
  --color-text: #2d2d2d;
  --color-text-muted: #5a5a5a;
  --shadow: 0 4px 20px rgba(44, 62, 80, 0.08);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

a {
  color: var(--color-ocean);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-terracotta);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--color-deep) 0%, var(--color-ocean) 100%);
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.nav a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

/* Main content */
.main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-sand) 0%, #d4c4a8 100%);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 2.25rem;
  color: var(--color-deep);
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
.section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.75rem;
  color: var(--color-deep);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-terracotta);
  display: inline-block;
}

.section p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(193, 127, 89, 0.15);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(44, 62, 80, 0.12);
}

.card h3 {
  font-size: 1.2rem;
  color: var(--color-ocean);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
  list-style: none;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(193, 127, 89, 0.1);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--color-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Contact block on page */
.contact-block {
  background: linear-gradient(135deg, var(--color-ocean) 0%, var(--color-deep) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}

.contact-block h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.contact-block a {
  color: var(--color-sand);
}

.contact-block a:hover {
  color: #fff;
}

/* Footer */
.footer {
  background: var(--color-deep);
  color: rgba(255,255,255,0.85);
  padding: 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
}

.footer-contacts a {
  color: var(--color-sand);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contacts a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .main {
    padding: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-contacts {
    justify-content: center;
  }
}
