/* ============================================
   NEW HAWTHORN SUITES HOTEL - KENT
   Custom Styles
   ============================================ */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* ============================================
   GEOMETRIC HERO SHAPES
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Large circle - top left */
.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.12);
    top: -100px;
    left: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

/* Medium circle - bottom right */
.shape-circle-2 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    bottom: 10%;
    right: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

/* Square - top right */
.shape-square-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(168, 85, 247, 0.2);
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

/* Triangle - bottom left area */
.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(245, 158, 11, 0.06);
    bottom: 25%;
    left: 5%;
    animation: float-slow 18s ease-in-out infinite;
}

/* Ring - middle right */
.shape-ring-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid rgba(168, 85, 247, 0.1);
    top: 40%;
    right: 5%;
    animation: pulse-ring 4s ease-in-out infinite;
}

/* Dots pattern - scattered */
.shape-dots {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle, rgba(245, 158, 11, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ============================================
   ROOM CARDS
   ============================================ */
.room-card {
    will-change: transform;
}

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

/* ============================================
   AMENITY CARDS
   ============================================ */
.amenity-card {
    will-change: transform;
}

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

/* ============================================
   SCROLL REVEAL (below the fold only)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .geo-shape {
        animation: none;
    }
}

/* ============================================
   NAVBAR SCROLL STATE
   ============================================ */
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FORM INPUTS
   ============================================ */
input:focus,
textarea:focus {
    outline: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
        left: -80px;
        top: -50px;
    }
    
    .shape-circle-2 {
        width: 180px;
        height: 180px;
    }
    
    .shape-square-1 {
        width: 60px;
        height: 60px;
        right: 5%;
    }
    
    .shape-triangle-1 {
        border-left-width: 30px;
        border-right-width: 30px;
        border-bottom-width: 52px;
    }
    
    .shape-ring-1 {
        width: 120px;
        height: 120px;
    }
}
