/* canvas.css */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #fdfdfd;
  color: #222;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(to right, #111, #333);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

header p {
  font-size: 1.2rem;
  font-style: italic;
}

nav {
  margin-top: 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ff4081;
}

/* Sections */
section {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #444;
}

p {
  margin-bottom: 1rem;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Booking Form */
.booking {
  background: #fff;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.booking h3 {
  margin-bottom: 1rem;
  color: #333;
}

.booking form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.booking input,
.booking textarea,
.booking button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.booking button {
  background-color: #ff4081;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.booking button:hover {
  background-color: #e91e63;
}

/* Contact */
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 0.5rem;
}

a {
  color: #ff4081;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .cta-overlay h2 {
    font-size: 2rem;
  }

  .cta-overlay p {
    font-size: 1rem;
  }

  .gallery-slider {
    flex-direction: column;
    align-items: center;
    animation: none;
    overflow-x: auto;
  }

  .gallery-slider img {
    max-height: 300px;
  }
}

/* Hero Gallery Slider */
.hero-gallery {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-slider {
  display: flex;
  gap: 1rem;
  animation: slideGallery 30s linear infinite;
  max-width: 100%;
  padding: 1rem;
}

.gallery-slider img {
  height: auto;
  max-height: 400px;
  width: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  object-fit: contain;
  flex-shrink: 0;
}

/* Continuous leftward scroll animation */
@keyframes slideGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* CTA Overlay */
.cta-overlay {
  position: absolute;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
}

.cta-overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.cta-overlay p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cta-button {
  background-color: #ff4081;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #e91e63;
}

/* Portfolio */
#portfolio {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

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

.portfolio-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.portfolio-grid img:hover {
  transform: scale(1.03);
}
