/* Global Styles for Forever Dental and Skin */
/* CSS Variables, Resets, and Base Styles */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #D4AF37;
    --color-primary-light: #F4C542;
    --color-bg-dark: #1A1A1C;
    --color-bg-medium: #242426;
    --color-bg-darker: #0A0A0C;
    --color-text-light: #FFFFFF;
    --color-text-medium: #E0E0E0;
    --color-text-muted: #B0B0B0;
    --color-text-dark: #808080;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Typography */
    --font-primary: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Nunito Sans', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;

    /* Section Spacing */
    --section-padding-y: 50px;
    --section-padding-x: 2rem;
}

/* Mobile CSS Variables */
@media (max-width: 768px) {
    :root {
        --section-padding-y: 35px;
        --section-padding-x: 1rem;
    }
}

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 300;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 50%, var(--color-bg-dark) 100%);
    background-attachment: fixed;
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Section Styles */
section {
    padding: var(--section-padding-y) var(--section-padding-x);
    overflow: visible;
}

/* Global Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInMenuItem {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
