/* Vishwas Homestay - Redesign
   Warm coastal design for Ratnagiri/Ganpatipule homestay */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-sand: #E8DCC4;
  --color-sand-light: #F5F0E6;
  --color-ocean: #0D5C63;
  --color-ocean-dark: #084347;
  --color-coral: #E07A5F;
  --color-coral-hover: #C96A52;
  --color-cream: #FAF8F5;
  --color-charcoal: #2C2C2C;
  --color-muted: #6B6B6B;
  --color-white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-soft: 0 4px 20px rgba(13, 92, 99, 0.08);
  --shadow-medium: 0 8px 32px rgba(13, 92, 99, 0.12);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-ocean); }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* Promo banner */
.promo-banner {
  background: var(--color-ocean);
  color: var(--color-white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
}
.promo-banner a { color: inherit; font-weight: 600; }
.promo-banner a:hover { text-decoration: underline; }
.phone-number, .promo-banner a[href^="tel:"] { color: #FFE066 !important; font-weight: 700; }
.phone-number:hover, .promo-banner a[href^="tel:"]:hover { color: #FFF4B8 !important; text-decoration: underline; }
.hero-cta { color: var(--color-white) !important; }
.hero-cta .phone-highlight { color: #FFE066 !important; font-weight: 700; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 92, 99, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-sm);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ocean-dark);
}
/* Nav */
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop a {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-ocean-dark);
  border-radius: var(--radius-sm);
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-ocean);
  background: rgba(13, 92, 99, 0.12);
}
.nav-desktop a.active { font-weight: 700; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-ocean-dark);
}
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-desktop { display: none; }
}

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-cream);
  z-index: 1000;
  padding: 80px 24px 24px;
  transform: translateX(-100%);
  transition: transform var(--transition);
  box-shadow: 4px 0 24px rgba(0,0,0,0.1);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.nav-drawer-overlay.open { opacity: 1; visibility: visible; }
.nav-drawer .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-ocean-dark);
  border-bottom: 1px solid rgba(13, 92, 99, 0.1);
}
.nav-drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-ocean-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-ocean) 0%, var(--color-ocean-dark) 100%);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 92, 99, 0.7) 0%, rgba(8, 67, 71, 0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px 80px;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  color: #FFF;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: 1.15rem;
  opacity: 0.95;
  margin: 0 0 28px;
  line-height: 1.5;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-coral);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}
.hero-cta:hover {
  background: var(--color-coral-hover);
  transform: translateY(-2px);
}

/* Section */
.section {
  padding: 72px 0;
}
.section-alt { background: var(--color-sand-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--color-ocean);
  text-align: center;
  margin: 0 0 48px;
}

/* Gallery / Carousel */
.gallery-section { padding: 72px 0 48px; }
.gallery-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.gallery-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}
.gallery-video-embed iframe,
.gallery-video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-video-grid .gallery-carousel {
  max-width: none;
}
.gallery-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}
.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}
.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.gallery-slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.gallery-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-ocean);
  background: var(--color-white);
  color: var(--color-ocean);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-nav button:hover {
  background: var(--color-ocean);
  color: var(--color-white);
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.gallery-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 92, 99, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}
.gallery-dots button.active { background: var(--color-ocean); }

/* About grid */
.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-ocean);
  margin: 0 0 16px;
}
.about-content p {
  margin: 0 0 16px;
  color: var(--color-muted);
}

/* Cards grid */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}
.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ocean);
  margin: 0 0 8px;
}
.card-text { color: var(--color-muted); margin: 0; font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  color: var(--color-ocean);
}
.card-link:hover { color: var(--color-ocean-dark); }

/* Social */
.social-section { padding: 48px 0; }
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-ocean);
  color: var(--color-white);
  transition: transform var(--transition), background var(--transition);
}
.social-links a:hover {
  transform: scale(1.08);
  background: var(--color-ocean-dark);
}
.social-links svg { width: 24px; height: 24px; }

/* Newsletter */
.newsletter {
  background: var(--color-ocean);
  color: var(--color-white);
  padding: 48px 24px;
  text-align: center;
}
.newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 16px;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-family: var(--font-body);
}
.newsletter-form button {
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-coral);
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--color-coral-hover); }

/* Footer */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-copy { font-size: 0.9rem; margin: 0; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--color-white); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 20px 24px;
  z-index: 1001;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform var(--transition);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; font-size: 0.9rem; flex: 1; min-width: 200px; }
.cookie-banner button {
  padding: 10px 24px;
  background: var(--color-coral);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-ocean) 0%, var(--color-ocean-dark) 100%);
  color: var(--color-white);
  padding: 80px 24px 60px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0;
}

/* Content area */
.content-section { padding: 48px 0 72px; }
.content-section .container { max-width: 720px; }
.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ocean);
  margin: 32px 0 16px;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p { color: var(--color-muted); margin: 0 0 16px; }
.content-section ul, .content-section ol {
  color: var(--color-muted);
  margin: 0 0 16px;
  padding-left: 24px;
}

/* Contact page */
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 800px;
  margin: 0 auto;
}
.contact-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-ocean);
  margin: 0 0 12px;
}
.contact-card p {
  color: var(--color-muted);
  margin: 0 0 20px;
}
.contact-card .phone-number {
  color: var(--color-coral) !important;
  font-weight: 700;
}

/* Certificates */
.certificates-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 800px;
  margin: 0 auto;
}
.certificate-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}
.certificate-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Google Reviews section */
.google-reviews-section {
  max-width: 900px;
  margin: 0 auto;
}
.google-reviews-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin-bottom: 24px;
}
.google-reviews-embed iframe {
  display: block;
}
.google-reviews-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

/* Floating social buttons */
.floating-social {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.floating-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-social a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.floating-social a svg { width: 26px; height: 26px; }
.floating-social .floating-call { background: var(--color-ocean); }
.floating-social .floating-whatsapp { background: #25D366; }
.floating-social .floating-facebook { background: #1877F2; }
.floating-social .floating-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.floating-social .floating-youtube { background: #FF0000; }
@media (max-width: 479px) {
  .floating-social { bottom: 16px; right: 16px; gap: 10px; }
  .floating-social a { width: 48px; height: 48px; }
  .floating-social a svg { width: 22px; height: 22px; }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
