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

:root {
  --primary-color: #0ea5e9;
  --primary-dark: #0284c7;
  --bg-color: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --card-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

/* Header & Hero Section */
header {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9) 0%, rgba(2, 132, 199, 0.95) 100%),
              url('vista-aerea-ciudad-y-playa-de-mar-del-plata.jpg') center/cover no-repeat fixed;
  color: white;
  text-align: center;
  padding: 120px 20px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: 60px;
}

header h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

header p {
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  max-width: 1200px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  background: var(--primary-color);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
}

/* Features List */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

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

.feature-card strong {
  display: block;
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* Images Container (Masonry/Grids) */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Data Table */
.pricing-container {
  overflow-x: auto;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

th, td {
  padding: 15px 20px;
  text-align: left;
}

th {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e2e8f0;
}

td {
  border-bottom: 1px solid #e2e8f0;
  color: var(--text-light);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: #f1f5f9;
}

td:first-child {
  font-weight: 600;
  color: var(--primary-dark);
}

td:last-child {
  font-weight: 800;
  color: #059669; /* Emerarld green for prices */
}

/* Dynamic Sections */
.info-block {
  background: white;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary-color);
}

/* Footer / Contact */
.contact-section {
  background: var(--text-dark);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 40px 40px 0 0;
}

.contact-section h2 {
  color: white;
}

.contact-section h2::after {
  background: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
}

.contact-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.contact-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.contact-links a:hover {
  color: white;
}

/* Animations injected by JS */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nav & Buttons */
.main-nav {
  background: white;
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline:hover, .btn-outline.active {
  background-color: var(--primary-color);
  color: white;
}

/* Detalle del Hotel */
.hotel-hero {
  padding: 100px 20px;
  text-align: center;
  color: white;
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
}

.hotel-hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 10px;
}

.hotel-hero p {
  font-size: 1.2rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }
  .image-gallery {
    grid-template-columns: 1fr;
  }
}
