/* Common / Global Stylesheet - Sensation Beach Club */

/* Dynamic Design variables - Can be overridden inline by settings */
:root {
    --primary-color: #a69382;          /* Default Boho Taupe */
    --background-color: #ffffff;       /* Editable Background */
    --text-color: #2c2520;             /* Warm dark charcoal */
    --accent-color: #fcfbfa;           /* Warm linen cream */
    --accent-color-hover: #f3f0ea;     /* Darker linen hover */
    --border-color: #e6dfd5;           /* Soft clay border */
    --font-family: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(166, 147, 130, 0.1), 0 2px 4px -1px rgba(166, 147, 130, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(166, 147, 130, 0.15), 0 4px 6px -2px rgba(166, 147, 130, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(166, 147, 130, 0.18), 0 10px 10px -5px rgba(166, 147, 130, 0.1);
}

/* Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--background-color);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
    color: var(--text-color);
    font-family: var(--font-family);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

ul {
    list-style-type: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes rotateLanguage {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Utility Animations */
.animate-fade {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Alert Messages (Flask Flash) */
.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flash-message {
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    background-color: var(--accent-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    box-shadow: var(--shadow-md);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    animation: fadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.flash-message.success {
    border-left: 5px solid #a69382; /* Boho highlight */
}

.flash-message.error {
    border-left: 5px solid #d9534f; /* Alert red */
}

.flash-close {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--text-color);
    opacity: 0.5;
    transition: opacity var(--transition-speed);
}

.flash-close:hover {
    opacity: 1;
}

/* Responsive Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
