/* ========================================= */
/* --- GENERAL & UTILITY STYLES --- */
/* ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #02201C;
  font-family: 'Montserrat', sans-serif;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  /* Custom Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #D4AC87 #02201C;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #02201C;
}

body::-webkit-scrollbar-thumb {
  background-color: #D4AC87;
  border-radius: 20px;
  border: 3px solid #02201C;
}

/* ========================================= */
/* --- HEADER & NAVIGATION --- */
/* ========================================= */
nav {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  background: rgba(2, 32, 28, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: padding 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav li.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #D4AC87;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
  color: #c2b8aa;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #B58B5E;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease-out;
}

nav a:hover {
  color: #B58B5E;
  transform: translateY(-2px);
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Home Button Specific Styles */
nav li.home-btn a {
  background: #B58B5E;
  color: #02201C;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(181,139,94,0.3);
  animation: pulse 2s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav li.home-btn a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(181,139,94,0.8);
  color: #02201C;
}

nav li.home-btn a::after {
  content: none;
}

/* ========================================= */
/* --- HERO SECTION --- */
/* ========================================= */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  gap: 3rem;
  text-align: center;
}

.hero img {
  width: 350px;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: float 4s ease-in-out infinite alternate, imageReveal 1.5s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
  transform: scale(0.8);
}

.hero img:hover {
  transform: scale(0.95) translateY(-8px);
  box-shadow: 0 15px 50px rgba(181,139,94,0.8);
}

.hero-content {
  animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: #E2C49C;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  animation: textSlideIn 1.5s ease-out;
}

.hero-content p {
  font-family: 'Times New Roman', serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #c2b8aa;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: textSlideIn 2s ease-out;
  animation-delay: 0.2s;
}

/* ========================================= */
/* --- CONTENT SECTIONS --- */
/* ========================================= */
.sections-wrapper {
  background: #03362F;
  border-top: 1px solid #195140;
  border-bottom: 1px solid #195140;
}

.section {
  padding: 6rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #D4AC87;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #B58B5E;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1.1rem;
  color: #c2b8aa;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.gallery-section {
  padding: 6rem 2rem;
  background-color: #03362F;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(181, 139, 94, 0.6);
}

/* ========================================= */
/* --- FOOTER SECTIONS --- */
/* ========================================= */
.newsletter {
  background: #022B23;
  padding: 80px 20px;
  text-align: center;
  border-top: 2px solid #195140;
}

.newsletter h4 {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #799587;
}

.newsletter h2 {
  font-family: 'Times New Roman', serif;
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 30px;
  color: #b58b5e;
}

.newsletter form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.newsletter input[type="text"],
.newsletter input[type="email"] {
  background-color: transparent;
  border: 1px solid #b58b5e;
  padding: 15px 25px;
  border-radius: 30px;
  color: #fff;
  font-style: italic;
  width: 250px;
  transition: border 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter input:hover,
.newsletter input:focus {
  transform: scale(1.03);
  border-color: #ffcc70;
  box-shadow: 0 0 15px rgba(255, 204, 112, 0.4);
}

.newsletter input::placeholder {
  color: #607c6b;
}

.newsletter input:focus {
  outline: none;
  border-color: #ffcc70;
}

.newsletter button {
  background: linear-gradient(135deg, #ffb347, #ffcc70);
  color: #043027;
  border: none;
  padding: 15px 35px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.newsletter button:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,179,71,0.6);
  background: linear-gradient(135deg, #ffcc70, #ffb347);
}

.instagram-link {
  color: #b58b5e;
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 18px;
  text-decoration: none;
  display: inline-block;
  margin-top: 50px;
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.instagram-link:hover {
  transform: scale(1.05);
  letter-spacing: 4px;
}

/* Footer Navigation */
footer {
  background: #02201C;
  padding: 4rem 2rem 2rem;
}

.navigate {
  max-width: 1000px;
  margin: 0 auto;
}

.navigate ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-style: italic;
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  line-height: 2rem;
  flex-wrap: wrap;
}

.navigate ul li {
  margin-bottom: 0;
}

.navigate ul li a {
  color: #b0c1b9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navigate ul li a:hover {
  text-decoration: underline;
  color: #D4AC87;
}

.footer-bottom {
  border-top: 1px solid #195140;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  color: #607c6b;
  font-family: 'Montserrat', sans-serif;
}

/* ========================================= */
/* --- ANIMATIONS & RESPONSIVE DESIGN --- */
/* ========================================= */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes imageReveal {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(0.9); }
}

@keyframes textSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(181,139,94,0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(181,139,94,0.6); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(181,139,94,0.3); }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 4rem;
  }
  .hero img {
    width: 250px;
    height: auto;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .navigate ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .newsletter input[type="text"], 
  .newsletter input[type="email"], 
  .newsletter button {
    width: 100%;
  }
  .newsletter h2 {
    font-size: 28px;
  }
  nav li.home-btn {
    margin-top: 10px;
  }
}