/* Custom styles for The Emerald Cloud Premier Hotel */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Base styles */
body {
  font-family: 'Raleway', sans-serif;
  background-color: #0D0D0D;
  color: #E8D5C4;
  line-height: 1.6;
}

/* Hero overlay gradient */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.85) 0%,
    rgba(13, 13, 13, 0.6) 50%,
    rgba(13, 13, 13, 0.4) 100%
  );
}

/* Gold accent line */
.gold-line {
  background: linear-gradient(90deg, #C9A84C, #E8D5C4, #C9A84C);
}

/* Card hover effects */
.card-hover {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(201, 168, 76, 0.15);
}

/* Navigation link hover effect */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #C9A84C, #E8D5C4);
  transition: width 0.3s ease;
}

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

/* Primary button styles */
.btn-primary {
  background: linear-gradient(135deg, #C9A84C, #D4B96A);
  color: #0D0D0D;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #D4B96A, #E0C97A);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.3);
}

/* Secondary button styles */
.btn-secondary {
  border: 2px solid #C9A84C;
  color: #C9A84C;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: #C9A84C;
  color: #0D0D0D;
  transform: translateY(-2px);
}

/* Mobile menu styles */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure content is visible without JavaScript */
@media screen and (min-width: 0px) and (max-width: 0px) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C9A84C, #D4B96A);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #D4B96A, #E0C97A);
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive typography */
@media (max-width: 768px) {
  .font-display {
    font-size: 2rem;
  }
}

/* Print styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .btn-primary,
  .btn-secondary {
    background: #333;
    color: white;
  }
}
