@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #2c3e50;
  --color-primary-light: #34495e;
  --color-accent: #3498db;
  --color-accent-hover: #2980b9;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-bg-dark: #1a1a2e;
  --color-text: #2c3e50;
  --color-text-light: #6c757d;
  --color-text-muted: #adb5bd;
  --color-border: #dee2e6;
  --color-white: #ffffff;
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --color-error: #e74c3c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--color-accent);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.header-logo .logo-placeholder {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.header-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

main {
  margin-top: var(--header-height);
}

.hero {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #16213e 100%);
  color: var(--color-white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?w=1400&q=80') center/cover no-repeat;
  opacity: 0.15;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto 36px;
  opacity: 0.85;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.section {
  padding: 80px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-accent);
  font-size: 28px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.6;
}

.calculator-section {
  padding: 80px 0;
}

.calculator-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calculator-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.calculator-box .calc-subtitle {
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-size: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-results {
  margin-top: 32px;
  padding: 28px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: none;
}

.calc-results.visible {
  display: block;
}

.calc-results h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.result-row:last-child {
  border-bottom: none;
}

.result-row .label {
  color: var(--color-text-light);
}

.result-row .value {
  font-weight: 600;
  color: var(--color-primary);
}

.result-row.total {
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--color-accent);
  border-bottom: none;
  font-size: 18px;
}

.result-row.total .value {
  color: var(--color-accent);
  font-size: 22px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.destination-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  background: var(--color-white);
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.destination-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.destination-card .card-body {
  padding: 20px;
}

.destination-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.destination-card p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 12px;
  line-height: 1.5;
}

.destination-card .price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(52, 152, 219, 0.1);
  color: var(--color-accent);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.tips-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tip-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.tip-item:hover {
  box-shadow: var(--shadow-md);
}

.tip-item .tip-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.tip-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.tip-item p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-item i {
  margin-top: 3px;
  color: var(--color-accent);
  font-size: 16px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.page-header {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #16213e 100%);
  color: var(--color-white);
  padding: 60px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 17px;
  opacity: 0.75;
}

.content-section {
  padding: 60px 0;
}

.content-section .content-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--color-primary);
}

.content-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--color-primary);
}

.content-section p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-section ul li {
  list-style: disc;
  color: var(--color-text-light);
  margin-bottom: 8px;
  line-height: 1.6;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.team-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 14px;
  color: var(--color-text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--color-border);
}

.contact-info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-item i {
  font-size: 20px;
  color: var(--color-accent);
  margin-top: 2px;
}

.contact-info-item .info-label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-info-item .info-value {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--color-border);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(39, 174, 96, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.form-message.error {
  display: block;
  background: rgba(231, 76, 60, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 20px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
  flex: 1;
}

.cookie-banner p a {
  font-weight: 500;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner .btn-cookie {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.cookie-banner .btn-accept {
  background: var(--color-accent);
  color: var(--color-white);
}

.cookie-banner .btn-accept:hover {
  background: var(--color-accent-hover);
}

.cookie-banner .btn-decline {
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.cookie-banner .btn-decline:hover {
  background: var(--color-border);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 17px;
  }

  .features-grid,
  .destinations-grid,
  .about-team {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  .calculator-box {
    padding: 24px;
  }

  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .tip-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .section {
    padding: 50px 0;
  }

  .page-header {
    padding: 40px 0 30px;
  }

  .page-header h1 {
    font-size: 28px;
  }
}
