* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-bg: #0d0d0d;
  --accent-white: #ffffff;
  --accent-purple: #8e44ad;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--main-bg);
  color: var(--accent-white);
  line-height: 1.6;
}

/* Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(0, 0, 0, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
}

header nav a {
  margin-left: 1rem;
  color: var(--accent-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: var(--accent-purple);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
  overflow: hidden;
  color: var(--accent-white);
}

.book-button {
  display: inline-block;
  background-color: #fff;
  color: #000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* make sure transform is included */
  user-select: none;
  cursor: pointer;
}

.book-button:hover,
.book-button:focus {
  box-shadow: 0 0 15px rgba(186, 85, 211, 0.7);
  transform: scale(1.1);  /* bigger on hover */
  outline: none;
}


.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  filter: blur(4px);
}

.slideshow .slide:nth-child(1) {
  animation-delay: 0s;
  opacity: 1;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: center;
  animation: fadeIn 1.5s ease forwards;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  padding: 5rem 5%;
  text-align: center;
}

.about h2{
  padding-bottom: 20px;
}

.about-content {
  max-width: 800px;
  margin: auto;
}

/* Services */
.services {
  padding: 5rem 5%;
  text-align: center;
}

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

.card {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--accent-purple);
}

/* Contact */
.contact {
  padding: 5rem 5%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact p {
  max-width: 600px;
}

/* Instagram Icon Link in Contact */
.instagram-link img {
  width: 50px;
  height: 50px;
  filter: brightness(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  display: inline-block
}

.instagram-link img:hover {
  filter: brightness(80%) drop-shadow(0 0 8px var(--accent-purple));
  transform: scale(1.1);
}

/* Footer */
footer {
  padding: 1.5rem;
  text-align: center;
  background: #111;
  font-size: 0.9rem;
}

/* Animations */
h1, h2, h3, p, a, .card {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Better header on mobile */
@media (max-width: 768px) {
  header {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #000; /* keep black background if you want */
  }

  header h1 {
    font-size: 2rem;
    margin: 0;
    color: #fff;
    font-weight: 700;
  }

  nav {
    margin-left: 1rem;
    display: flex;
    gap: 1px;
    justify-content: center;
    flex-wrap: wrap;  
    width: 100%; 
    -webkit-overflow-scrolling: touch;
  }

  nav::-webkit-scrollbar {
    display: none; /* hide scrollbar */
  }

  nav a {
    font-size: 0.9rem;
    padding: 5px 10px;
    white-space: nowrap;
    color: #fff;
    border-radius: 25px;
    background: rgba(255 255 255 / 0.1);
    align-items: center;
  }

  nav a:hover,
  nav a:focus {
    background: rgba(255 255 255 / 0.3);
  }


  .card {
    box-shadow: 0 0 15px 3px rgba(138, 43, 226, 0.7); /* persistent purple glow */
    transition: none; /* remove hover transition on mobile */
  }

  .instagram-logo {
    filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.8));
  }

  .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: crossfade 15s infinite;
  animation-timing-function: ease-in-out;
  filter: blur(4px);
}


.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 5s;
}
.slide:nth-child(3) {
  animation-delay: 10s;
}
.slide:nth-child(4) {
  animation-delay: 15s;
}
.slide:nth-child(5) {
  animation-delay: 20s;
}
.slide:nth-child(6) {
  animation-delay: 25s;
}
.slide:nth-child(7) {
  animation-delay: 30s;
}


@keyframes crossfade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}
}
