/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Custom Properties / Design System */
:root {
  --primary: #0D2A4A;          /* Deep Tyrrhenian Navy */
  --primary-light: #1E3E62;    /* Medium Navy */
  --accent: #148F9E;           /* Costiera Turquoise */
  --accent-light: #20B2AA;     /* Light Sea Green */
  --bg-sand: #FAF8F5;          /* Soft Sand Cream */
  --bg-white: #FFFFFF;
  --text-dark: #2C3E50;        /* Charcoal for high readability */
  --text-muted: #64748B;       /* Muted grey */
  --gold: #F5A623;             /* Star rating gold */
  --gold-light: #FEF7E7;
  --coral: #E07A5F;            /* Costiera terracotta accent */
  --whatsapp: #25D366;          /* WhatsApp green */
  --whatsapp-hover: #20BA5A;    /* Darker WhatsApp green */
  --border-color: #E2E8F0;
  
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(13, 42, 74, 0.05);
  --shadow-md: 0 8px 20px rgba(13, 42, 74, 0.08);
  --shadow-lg: 0 16px 36px rgba(13, 42, 74, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  background-color: var(--gold-light);
  color: #B45309;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

/* Main Buttons styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: var(--font-body);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(20, 143, 158, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 6px 20px rgba(13, 42, 74, 0.3);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--coral);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.4);
}

.btn-secondary:hover {
  background-color: #C36148;
  color: var(--bg-white);
  box-shadow: 0 6px 20px rgba(195, 97, 72, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: var(--bg-white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.contact-helper-text {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-helper-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* Header & Translucent Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: contain;
  background-color: var(--bg-white);
  padding: 3px;
  border: 2px solid var(--accent);
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section with piazza della liberta.jpg background */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('assets/sfondo_hero.jpg') no-repeat center center / cover;
  color: var(--bg-white);
  padding-top: 100px; /* offset header height */
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 42, 74, 0.85) 0%, rgba(20, 143, 158, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text-block {
  animation: fadeInUp 0.8s ease-out;
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-rating-badge .star-icon {
  color: var(--gold);
}

.hero-rating-badge strong {
  background-color: var(--gold);
  color: var(--primary);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.25rem;
  font-size: 0.85rem;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--bg-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Booking Widget Card */
.booking-widget-wrapper {
  animation: fadeInUp 1s ease-out;
}

.booking-widget {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.booking-widget h3 {
  font-family: var(--font-title);
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.booking-widget p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input, 
.form-group select {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  background-color: var(--bg-sand);
  transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus {
  border-color: var(--accent);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(20, 143, 158, 0.15);
}

.booking-form .btn {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
}

/* Trust Bar / Fast Ratings */
.trust-bar {
  background-color: var(--bg-sand);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.trust-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-score {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.trust-details h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.trust-details p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Warum noi / Features Section */
.features-section {
  background-color: var(--bg-white);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-sand);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 143, 158, 0.2);
}

.feature-icon-wrapper {
  background-color: rgba(20, 143, 158, 0.1);
  color: var(--accent);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent);
  color: var(--bg-white);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Rooms Section */
.rooms-section {
  background-color: var(--bg-sand);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.room-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.room-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-img {
  transform: scale(1.08);
}

.room-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(13, 42, 74, 0.25);
  z-index: 2;
}

.room-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.room-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.room-description {
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.amenity-tag {
  background-color: var(--bg-sand);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.room-card .btn {
  width: 100%;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background-color: var(--bg-sand);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  transition: var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 143, 158, 0.15);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: rgba(20, 143, 158, 0.1);
  font-family: var(--font-title);
  line-height: 1;
}

.review-stars {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.review-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.author-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.author-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-rating {
  background-color: var(--accent);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.9rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(20, 143, 158, 0.3);
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(20, 143, 158, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--bg-white);
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Map / Location Section */
.location-section {
  background-color: var(--bg-sand);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.location-info h2 {
  margin-bottom: 1.5rem;
}

.location-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.location-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-list-icon {
  background-color: rgba(20, 143, 158, 0.1);
  color: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.location-list text h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.location-list text p {
  margin: 0;
  font-size: 0.9rem;
}

.map-wrapper {
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: #E5E7EB;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer styling */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-img {
  border-color: var(--bg-white);
}

.footer-brand .logo-text {
  color: var(--bg-white);
}

.footer-brand p {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-column h4 {
  color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact li i {
  color: var(--accent-light);
  margin-top: 0.25rem;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li a:hover {
  color: var(--accent-light);
}

.footer-newsletter h4 {
  margin-bottom: 1.5rem;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--bg-white);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: var(--accent-light);
  background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: none;
}

.newsletter-form .btn:hover {
  background-color: var(--accent-light);
  transform: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--accent-light);
}

/* Gallery Section Styles */
.gallery-section {
  background-color: var(--bg-white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-sand);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background-color: var(--accent);
  color: var(--bg-white);
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(20, 143, 158, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  transform: scale(1);
  opacity: 1;
  display: block;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.95);
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(13, 42, 74, 0.9) 0%, rgba(13, 42, 74, 0) 100%);
  color: var(--bg-white);
  padding: 2rem 1.25rem 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 143, 158, 0.15);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding-bottom: 2rem;
  }
  
  .hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .booking-widget-wrapper {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-cta {
    display: none; /* Hide on header, shown in burger if needed, or keep minimal */
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .rooms-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-flex {
    justify-content: flex-start;
    padding: 0 1rem;
  }
  
  .trust-item {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 480px) {
  .trust-item {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    width: 100%;
  }
}
