/* Custom styles for Le Parc Rooftop Pool and Bar */

/* Base reset and typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fffdf7;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #fffdf7;
}

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

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

/* Selection color */
::selection {
    background: #e85c28;
    color: white;
}

/* Geometric decorations */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.geo-diamond {
    position: absolute;
    transform: rotate(45deg);
    pointer-events: none;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
}

/* Geometric pattern background */
.geo-pattern {
    background-image: 
        linear-gradient(45deg, rgba(232, 92, 40, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(232, 92, 40, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(232, 92, 40, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(232, 92, 40, 0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #e85c28, #b53212);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* 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);
}

/* Menu line animation */
.menu-line {
    display: block;
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

#menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        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; }
}

/* Card hover effects */
.tilt-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tilt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(232, 92, 40, 0.15);
}

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

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

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Custom animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

/* Print styles */
@media print {
    .geo-circle,
    .geo-diamond,
    .geo-rect,
    .geo-triangle,
    .mobile-menu {
        display: none !important;
    }
}
