@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;600&display=swap');

:root {
  --bg: #d7f0fa;
  --accent: #66c2d6;
  --text: #2f2f2f;
  --light: #ffffff;
  --transition: 0.3s ease;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family:'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 10%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  line-height: 1.2;
}

.logo p {
  font-size: 0.9rem;
  color: #6d5c5c;
}

nav ul { display:flex; gap:25px; list-style:none; }
nav a { text-decoration:none; color: var(--text); font-weight:500; position:relative; transition:var(--transition);}
nav a::after { content:''; position:absolute; left:0; bottom:-3px; width:0; height:2px; background:var(--accent); transition:var(--transition);}
nav a:hover::after, nav a.active::after { width:100%; }

/* HERO */
.page-hero.small {
  position:relative; height:50vh;
  background:url('../images/black-beach.jpg') center/cover no-repeat;
  display:flex; align-items:center; justify-content:center; color:var(--light);
  text-align:center;
}
.page-hero .overlay { position:absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.35);}
.page-hero .content { position:relative; z-index:1; animation:fadeInUp 1.5s ease forwards;}
.page-hero h2 { font-family:'Playfair Display', serif; font-size:2rem; }

/* CONTENT */
.container {
  max-width: 1200px; 
  margin: 60px auto 0 auto; /* top, auto left/right, 0 bottom */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

.offer-block {
  background: #ffffff;
  padding: 10px;
  border-radius: 15px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  width: 100%;
  max-width: 250px; 
}

.offer-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.offer-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2f2f2f;
}

.offer-block p {
  font-size: 0.95rem;
  color: #4c4c4c;
}

.container p {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1rem;
  color: #555555;
  margin-top: 20px;
}

/* RESPONSIVE */
@media(max-width: 900px){
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px){
  .container {
    grid-template-columns: 1fr;
  }
}


.fade-up { opacity:0; animation:fadeInUp 1s forwards; animation-delay:0.3s; }

@keyframes fadeInUp { from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }

/* FOOTER */
footer { 
  text-align:center; 
  padding:40px 10%; 
  background:#e0f1f6; 
  font-size:0.9rem;
  color:#4f4f4f; 
}

/* RESPONSIVE */
@media(max-width:768px){
  body {
    overflow-x: hidden;
    touch-action: pan-y; 
  }
  nav ul { flex-direction:column; gap:15px; }
  .page-content { padding:40px 5%; }
  .offer-block { padding: 10px; }
}
