/* Custom styles for The Resort website */

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

/* Base styles */
body {
    overflow-x: hidden;
}

/* Navigation */
.nav-fixed {
    background: rgba(253, 242, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 77, 102, 0.08);
    transition: all duration-500;
}

.nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(90, 34, 48, 0.06);
}

.nav-link {
    position: relative;
}

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

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #842d45, #a13651);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(161, 54, 81, 0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(161, 54, 81, 0.4);
    background: linear-gradient(135deg, #a13651, #c04d66);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #6c273a;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #f3c4d0;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #f9e2e8;
    border-color: #d96f85;
    transform: translateY(-2px);
}

/* Hero animations */
.hero-text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-image {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

/* Menu cards */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f9e2e8;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Image hover effects */
.rounded-2xl img,
.rounded-3xl img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .rounded-2xl img,
    .rounded-3xl img {
        transition: none;
    }
    
    .btn-primary,
    .btn-secondary,
    .menu-card {
        transition: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover,
    .menu-card:hover {
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.15;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .font-display {
        font-size: 1.75rem;
    }
}
