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

/* CSS Variables */
:root {
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Poppins', sans-serif;
  --primary-color: #ffffff;
  --secondary-color: #ffffff;
  --dark-bg: #000000;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  
  /* Spacing */
  --spacing-xs: 10px;
  --spacing-sm: 15px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 15px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition-normal: 0.3s ease;
  --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background: #000;
  color: #fff;
  line-height: 1.6;
  text-align: center;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.95);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--smooth);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-btn {
  background: var(--primary-color);
  color: var(--dark-bg) !important;
  padding: 8px 20px;
  border-radius: 25px;
}

.nav-btn:hover {
  background: #fff;
  color: var(--dark-bg);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  margin-top: 70px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('./bp_logo_inverted.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeInUp 1s forwards;
}

.tagline {
  font-size: 1.8rem;
  font-weight: 300;
  margin: 20px 0;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.5s;
}

.hero-description {
  font-size: 1.2rem;
  opacity: 0;
  animation: fadeInUp 1s forwards 1s;
}

.btn {
  background: #fff;
  color: #000000;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 2px 16px #fff2;
  animation: pulse 2s infinite;
  opacity: 0;
  animation: fadeInUp 1s forwards 1.5s, pulse 2s infinite 1.5s;
}

.btn:hover {
  background: #ddd;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s forwards 2s;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
  margin: 0 auto 10px;
}

.mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* Sections */
section {
  padding: 80px 5%;
}

/* Services Section */
.services {
  text-align: center;
}



.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.service-icon {
  width: 280px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 25px;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.1);

}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: left;
}

.story-highlight {
  font-size: 1.4rem;
  font-style: italic;
  color: #ff0000ad;
  border-left: 4px solid #ff0000c0;
  padding-left: 20px;
  margin: 30px 0;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  margin: 20px 0;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Booking */
.booking form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}
.booking input, .booking button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}
.booking input {
  background: #000;
  border: 1px solid #fff;
  color: #fff;
}
.booking button {
  background: #fff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}
.booking button:hover {
  background: #ddd;
}


/* Gallery Section */
.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.gallery-card {
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.6s var(--bounce);
  perspective: 1000px;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-15px) scale(1.02);
}

.flip-card {
  width: 100%;
  height: 400px;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--smooth);
  transform-style: preserve-3d;
}

.gallery-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-front {
  background: rgba(0,0,0,0.15);
}

.flip-card-back {
  background: rgba(255,255,255,0.08);
  transform: rotateY(180deg);
  padding: 30px;
  text-align: center;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
footer {
  background: linear-gradient(120deg, #000000 60%, #222 100%);
  padding: 80px 5% 40px;
  border-top: 2px solid rgba(255,255,255,0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  background: rgba(255,255,255,0.07);
  padding: 36px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.13);
  transition: transform 0.4s var(--bounce);
}

.footer-section:hover {
  transform: translateY(-10px) scale(1.03);
}

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-family: var(--heading-font);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 15px;
}

.footer-section a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s;
}

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

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--primary-color);
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-5px);
}

.copyright {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.13);
  text-align: center;
  color: rgba(255,255,255,0.7);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.4rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .gallery-track {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .service-icon {
    width: 100px;
    height: 100px;
  }

  section {
    padding: 60px 5%;
  }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
  .hero {
    height: -webkit-fill-available;
  }
}

 /* Popup overlay */
/* Popup styles */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup.active {
  display: flex;
}
.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.5rem;
  cursor: pointer;
}
