/* ===== BAREFOOT BLISS MEXICO — STYLES ===== */

:root {
  --green-dark: #064e3b;
  --green-mid: #0f766e;
  --green-light: #a7f3d0;
  --gold: #d4af37;
  --gold-light: #f5e6b8;
  --cyan: #4dd0e1;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* === NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6,78,59,0.95); backdrop-filter: blur(10px);
  transition: all 0.3s;
}
nav.scrolled { background: var(--green-dark); box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-img { height: 44px; }
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.btn-nav {
  background: var(--gold); color: var(--green-dark); padding: 10px 24px;
  border-radius: 6px; font-weight: 700; font-size: 14px; transition: transform 0.2s;
}
.btn-nav:hover { transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #064e3b 0%, #0f766e 40%, #0d9488 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,133.3C672,128,768,160,864,170.7C960,181,1056,171,1152,144C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}
.hero-content { text-align: center; color: white; padding: 120px 24px 80px; position: relative; z-index: 2; max-width: 900px; }
.hero-tag { font-size: 13px; letter-spacing: 3px; opacity: 0.7; margin-bottom: 16px; font-weight: 600; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 52px; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--cyan); }
.hero-sub { font-size: 18px; opacity: 0.85; max-width: 550px; margin: 0 auto 36px; font-weight: 300; }

.hero-search {
  background: white; border-radius: var(--radius); padding: 20px;
  display: flex; gap: 12px; max-width: 860px; margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.search-field { flex: 1; display: flex; flex-direction: column; text-align: left; }
.search-field label { font-size: 10px; font-weight: 700; color: var(--gray-400); margin-bottom: 4px; letter-spacing: 1px; text-transform: uppercase; }
.search-field input, .search-field select {
  border: 1px solid var(--gray-200); border-radius: 6px; padding: 10px 12px;
  font-size: 14px; color: var(--gray-800); background: var(--gray-50);
}
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--gold); }
.btn-search {
  background: var(--gold); color: white; border: none; border-radius: 8px;
  padding: 12px 28px; font-size: 15px; font-weight: 700; cursor: pointer;
  align-self: flex-end; transition: background 0.2s;
}
.btn-search:hover { background: #c4a030; }

/* === USP === */
.usp-bar {
  display: flex; justify-content: center; gap: 60px; padding: 36px 24px;
  background: white; border-bottom: 1px solid var(--gray-100);
}
.usp-item { text-align: center; }
.usp-icon { font-size: 28px; margin-bottom: 8px; }
.usp-item h4 { font-size: 15px; color: var(--green-dark); margin-bottom: 2px; }
.usp-item p { font-size: 13px; color: var(--gray-400); }

/* === SECTIONS === */
.section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { font-size: 12px; letter-spacing: 3px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.section-tag-light { font-size: 12px; letter-spacing: 3px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--green-dark); }
.section-header p { font-size: 16px; color: var(--gray-600); margin-top: 8px; }
.accent { color: var(--gold); }

/* === PROPERTIES === */
.properties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.property-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); transition: all 0.3s;
  background: white;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.property-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s; }
.property-card:hover .property-img { transform: scale(1.05); }
.placeholder {
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--green-mid); font-size: 14px; font-weight: 500; line-height: 1.6;
}
.property-info { padding: 20px; }
.resort-tag {
  display: inline-block; background: #e0f7fa; color: #00838f;
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}
.property-info h3 { font-size: 18px; margin-bottom: 6px; }
.amenities { font-size: 13px; color: var(--gray-400); margin-bottom: 14px; }
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--gray-100); padding-top: 14px;
}
.price { font-size: 14px; color: var(--gray-600); }
.price strong { font-size: 24px; color: var(--green-dark); }
.price span { font-size: 13px; color: var(--gray-400); }
.btn-book {
  background: var(--green-dark); color: white; padding: 10px 22px;
  border-radius: 6px; font-size: 13px; font-weight: 700; transition: background 0.2s;
}
.btn-book:hover { background: var(--green-mid); }

/* === RESORTS === */
.resorts-section { max-width: 100%; padding-left: 0; padding-right: 0; background: #f8fffe; }
.resorts-section > .section-header { max-width: 1200px; margin-left: auto; margin-right: auto; }
.resorts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.resort-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.resort-img { width: 100%; height: 280px; object-fit: cover; }
.resort-info { padding: 24px; }
.resort-info h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--green-dark); margin-bottom: 10px; }
.resort-info p { font-size: 14px; color: var(--gray-600); margin-bottom: 16px; line-height: 1.7; }
.amenity-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: #f0fdf4; color: #166534; font-size: 12px; font-weight: 500;
  padding: 5px 14px; border-radius: 20px; border: 1px solid #bbf7d0;
}

/* === STEPS === */
.steps { display: flex; justify-content: center; gap: 50px; margin-top: 48px; }
.step { text-align: center; max-width: 260px; }
.step-number {
  width: 56px; height: 56px; background: var(--gold); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; margin: 0 auto 18px;
}
.step h4 { font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* === REVIEWS === */
.reviews-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: white; max-width: 100%; padding: 80px 24px;
}
.reviews-section .section-header { max-width: 1200px; margin: 0 auto 48px; }
.reviews-section h2 { color: white; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.review-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(4px);
}
.stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; }
.review-card p { font-size: 15px; line-height: 1.7; opacity: 0.9; margin-bottom: 18px; font-style: italic; }
.review-author { font-size: 13px; opacity: 0.6; font-style: normal; }

/* === BOOKING === */
.booking-section { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); }
.booking-form {
  max-width: 680px; margin: 0 auto; background: white;
  border-radius: 16px; padding: 40px; box-shadow: var(--shadow);
}
.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-group { flex: 1; display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--gray-200); border-radius: 8px; padding: 12px 14px;
  font-size: 14px; color: var(--gray-800); font-family: inherit; transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-light);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.btn-submit {
  background: var(--gold); color: white; border: none; padding: 16px;
  border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer;
  width: 100%; transition: background 0.2s; margin-top: 8px;
}
.btn-submit:hover { background: #c4a030; }
.payment-badges {
  text-align: center; margin-top: 16px; font-size: 13px; color: var(--gray-400);
}
.payment-badges span { margin: 0 6px; }
.form-note { text-align: center; font-size: 12px; color: var(--gray-400); margin-top: 12px; }

/* === NEWSLETTER === */
.newsletter {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: white; padding: 56px 24px; text-align: center;
}
.newsletter h3 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 8px; }
.newsletter p { opacity: 0.8; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; border: none; border-radius: 8px; padding: 14px 20px; font-size: 14px;
}
.newsletter-form button {
  background: var(--gold); color: white; border: none; padding: 14px 28px;
  border-radius: 8px; font-weight: 700; cursor: pointer; transition: background 0.2s;
}
.newsletter-form button:hover { background: #c4a030; }

/* === FOOTER === */
footer { background: #022c22; color: white; padding: 56px 24px 32px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 32px;
}
.footer-col h4 { font-size: 12px; letter-spacing: 2px; color: var(--cyan); margin-bottom: 16px; text-transform: uppercase; }
.footer-col p, .footer-col a { font-size: 13px; color: #9ca3af; line-height: 2; display: block; }
.footer-col a:hover { color: white; }
.social-links { display: flex; gap: 10px; margin-top: 12px; }
.social-links a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; transition: background 0.2s;
}
.social-links a:hover { background: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
  text-align: center; font-size: 12px; color: #4b5563;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .properties-grid, .reviews-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .resorts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-search { flex-direction: column; }
  .hero h1 { font-size: 36px; }
  .steps { flex-direction: column; align-items: center; }
  .form-row { flex-direction: column; gap: 0; }
  .usp-bar { flex-wrap: wrap; gap: 24px; padding: 24px; }
  .booking-form { padding: 24px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 60px; left: 0; right: 0; background: var(--green-dark);
    padding: 20px; gap: 16px; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}

/* ===== DEALS SECTION ===== */
.deals-section { background: var(--gray-50); }
.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.deal-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.deal-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.deal-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.5px;
}
.deal-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.4s;
}
.deal-card:hover .deal-img { transform: scale(1.03); }
.deal-info { padding: 22px; }
.deal-resort {
  display: inline-block;
  background: #e0f7fa;
  color: #00838f;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.deal-info h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 6px 0 10px; }
.deal-dates { color: var(--gold); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.deal-details {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--gray-600); margin-bottom: 14px;
}
.deal-details span { background: var(--gray-100); padding: 3px 8px; border-radius: 6px; }
.deal-pricing {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 14px;
}
.price-was { text-decoration: line-through; color: var(--gray-400); font-size: 14px; display: block; }
.price-now { color: var(--green-dark); font-size: 22px; display: block; }
.price-now small { font-size: 13px; font-weight: 400; color: var(--gray-600); }
.deal-savings {
  background: #dcfce7; color: #15803d;
  font-size: 13px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
}
.btn-deal {
  display: block; text-align: center;
  background: var(--gold); color: #fff;
  padding: 12px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-deal:hover { background: #c9a22e; }
.deals-cta {
  text-align: center; margin-top: 36px;
  font-size: 16px; color: var(--gray-600);
}
.deals-cta a { color: var(--gold); font-weight: 600; text-decoration: none; }
.deals-cta a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .deals-grid { grid-template-columns: 1fr; }
}
