/* Custom styles for Rockledge Rooms and Rentals */

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

body {
  overflow-x: hidden;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Geometric shape animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-5deg); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.geo-shape, .geo-accent {
  animation: float 8s ease-in-out infinite;
}

.geo-accent:nth-child(2n) {
  animation: float-reverse 10s ease-in-out infinite;
}

.geo-accent:nth-child(3n) {
  animation: pulse-soft 6s ease-in-out infinite;
}

/* Mobile menu animations */
.menu-line {
  transition: all 0.3s ease;
}

#menuToggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menuToggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menuToggle.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 6;
}

/* Button hover effects */
a {
  transition: all 0.3s ease;
}

/* Card hover lift effect */
.bg-white.rounded-2xl {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-2xl:hover {
  transform: translateY(-4px);
}

/* Geometric pattern background */
.geo-pattern {
  background-image:
    linear-gradient(135deg, transparent 40%, rgba(192, 82, 58, 0.02) 40%, rgba(192, 82, 58, 0.02) 60%, transparent 60%),
    linear-gradient(45deg, transparent 40%, rgba(192, 82, 58, 0.02) 40%, rgba(192, 82, 58, 0.02) 60%, transparent 60%);
  background-size: 60px 60px;
}

/* Custom selection color */
::selection {
  background: rgba(192, 82, 58, 0.2);
  color: #1a1a1a;
}

/* Focus visible styles */
:focus-visible {
  outline: 2px solid #C0523A;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .geo-shape, .geo-accent {
    display: none;
  }
}
