/* Base Variables */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-muted: #a0a0a0;
  --accent-white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  --gradient-hover: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
  --glass-bg: rgba(20, 20, 20, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 12px;
  --whatsapp: #25d366;
  --phone: #ffffff;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4,
.logo,
.nav-links a {
  font-family: "Playfair Display", serif;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Utilities */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 700;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 60px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Header */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  transition: 0.3s;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  filter: grayscale(100%) brightness(1.2); /* Ensure logo fits theme */
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-white);
  transition: width 0.3s ease;
}

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

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

.nav-btn {
  background: transparent !important;
  border: 1px solid var(--accent-white);
  color: var(--accent-white) !important;
  padding: 10px 25px !important;
  border-radius: 0; /* Square edges for modern look */
  font-size: 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-btn:hover {
  background: var(--accent-white);
  color: #000 !important;
}

.nav-btn::after {
  display: none;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  background: url("assets/4.jpeg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Enhancing the dark overlay for better white text contrast */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.9)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: 5.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto 50px;
  color: var(--text-muted);
  font-weight: 300;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 45px;
  background: var(--accent-white);
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  border: 1px solid var(--accent-white);
  transition: all 0.4s ease;
}

.cta-button:hover {
  background: transparent;
  color: var(--accent-white);
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  z-index: 2;
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: fadeInDown 2s infinite;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Sections Common */
section {
  padding: 120px 0;
}

/* Info Glass Cards */
.info-section {
  background: #050505;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.glass-card {
  background: var(--bg-secondary);
  border: 1px solid #1a1a1a;
  padding: 50px 30px;
  border-radius: 2px;
  text-align: center;
  transition: var(--transition);
}

.glass-card:hover {
  background: #111;
  transform: translateY(-10px);
  border-color: var(--accent-white);
}

.icon-box {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  transition: 0.3s;
}

.glass-card:hover .icon-box {
  color: var(--accent-white);
  transform: scale(1.1);
}

.glass-card h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.glass-card p {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Gallery - Enhanced Grid */
.gallery-section {
  background: #000;
}

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

.gallery-item {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  filter: grayscale(80%); /* Artistic touch */
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}

.gallery-item .overlay span {
  color: var(--accent-white);
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  transform: translateY(20px);
  transition: 0.4s;
  border: 1px solid var(--accent-white);
  padding: 12px 25px;
  background: rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:hover .overlay span {
  transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex; /* Changed from none/flex to support transition better in JS, but flex is safer here */
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
  border: 2px solid #333;
  animation: zoomIn 0.3s ease;
  object-fit: contain;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2001;
}

.lightbox-close:hover {
  color: #ccc;
  transform: rotate(90deg);
}

/* Location */
.location-section {
  background: url("assets/1.jpeg") no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.location-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
}

.location-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
}

.location-info {
  flex: 1;
  min-width: 350px;
  padding: 60px;
  border-right: 1px solid #222;
}

.location-info h3 {
  color: var(--accent-white);
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 400;
}

.location-info p {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #bbb;
  font-size: 1rem;
}

.location-info i {
  color: var(--accent-white);
  font-size: 1.2rem;
  width: 25px;
  text-align: center;
}

.action-buttons {
  margin-top: 50px;
}

.outline-btn {
  background: transparent;
  border: 1px solid var(--accent-white);
  color: var(--accent-white);
  box-shadow: none;
  border-radius: 0;
}

.outline-btn:hover {
  background: var(--accent-white);
  color: #000;
}

.solid-btn {
  background: var(--accent-white);
  border: 1px solid var(--accent-white);
  border-radius: 0;
}

.solid-btn:hover {
  background: transparent;
  color: var(--accent-white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.map-wrapper {
  flex: 1 1 400px;
  min-width: 300px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: none;
  filter: grayscale(100%) invert(90%) contrast(85%); /* Custom map style filter */
}

/* Footer */
footer {
  background: #000;
  padding: 60px 0 40px;
  border-top: 1px solid #111;
  text-align: center;
}

.footer-logo {
  height: 50px;
  margin-bottom: 40px;
  filter: grayscale(100%);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links a {
  color: #666;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

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

.footer-content p {
  color: #444;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* Animation Classes */
.reveal,
.reveal-text {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.active,
.reveal-text.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* Floating Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-btn {
  background: var(--whatsapp);
}
.phone-btn {
  background: var(--accent-white);
  color: #000;
}

.float-btn:hover {
  transform: translateY(-5px) scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%; /* Full width for modern mobile menu */
    background: #000;
    flex-direction: column;
    justify-content: center;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1); /* EaseInOutQuart */
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .location-container {
    flex-direction: column;
  }

  .map-wrapper iframe {
    height: 350px;
  }

  /* Fix lightbox on mobile */
  .lightbox-content {
    max-width: 95%;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
  }
}
