/* Custom styles for Thai Spa */

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

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

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

::-webkit-scrollbar-thumb {
    background: #5f616a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff5c2a;
}

/* Selection color */
::selection {
    background: rgba(255, 92, 42, 0.3);
    color: #f6f6f7;
}

/* Geometric shapes styling */
.triangle-decoration {
    width: 0;
    height: 0;
    border-style: solid;
}

.hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Geometric border effect */
.geometric-border {
    position: relative;
}

.geometric-border::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, #ff5c2a, #ff8455, #ffd0bc, #ff8455, #ff5c2a);
    z-index: -1;
    border-radius: inherit;
    opacity: 0.3;
}

/* Menu card hover effect */
.menu-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 92, 42, 0.15);
}

/* Form input styling */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 92, 42, 0.2);
}

/* Button primary */
.btn-primary {
    background: linear-gradient(135deg, #ff5c2a 0%, #f03a08 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8455 0%, #ff5c2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 92, 42, 0.4);
}

/* Button outline */
.btn-outline {
    border: 2px solid #ff5c2a;
    color: #ff5c2a;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #ff5c2a;
    color: #1e1f23;
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #ff5c2a, #ff8455);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section divider */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, #ff5c2a, #ff8455, #ffd0bc, #ff8455, #ff5c2a);
}

/* Hero pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 92, 42, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 132, 85, 0.1) 0%, transparent 40%);
}

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

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

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.float-animation-reverse {
    animation: float-reverse 7s ease-in-out infinite;
}

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

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

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geometric-shape {
        display: none;
    }
    
    .hero-pattern {
        background-image: none;
    }
}
