/* Base Styles - Typography, Reset, Global Elements */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 120px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Messages */
.message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    font-weight: bold;
}

.message.show {
    transform: translateX(0);
}

.message.success {
    background: #4CAF50;
    color: white;
}

.message.error {
    background: #f44336;
    color: white;
}

.message::before {
    margin-right: 0.5rem;
}

.message.success::before {
    content: '✅';
}

.message.error::before {
    content: '❌';
}