/* css/styles.css */
:root {
    /* Light Theme */
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #10b981;
    --secondary-hover: #059669;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary: #60a5fa;
    --primary-hover: #3b82f6;
    --secondary: #34d399;
    --secondary-hover: #10b981;
    --card-bg: rgba(30, 41, 59, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-container {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 1;
    animation: slowZoom 20s infinite alternate;
}

/* Colossal Bulging Animation */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes bulgeText {
    0% { transform: scale(1); filter: blur(2px); opacity: 0; }
    50% { transform: scale(1.05); filter: blur(0px); opacity: 1; }
    100% { transform: scale(1); filter: blur(0px); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.bulge-text {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bulgeText 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover { background-color: var(--primary-hover); }

.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover { background-color: var(--secondary-hover); }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.6;
}

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

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.05);
    color: var(--text-color);
    font-family: inherit;
}

[data-theme="dark"] .form-control {
    background: rgba(255,255,255,0.05);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    border-top: 1px solid var(--glass-border);
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cookie-banner.show {
    bottom: 0;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    opacity: 0.7;
}

/* Sidebar Layout */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: var(--card-bg);
    border-right: 1px solid var(--glass-border);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.nav-link {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: background 0.2s;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    background: var(--primary);
    color: #fff;
}

.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 2rem;
}

.panel {
    display: none;
    animation: slideUp 0.4s ease-out;
}

.panel.active {
    display: block;
}

/* Hamburger Menu for Mobile */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .menu-toggle {
        display: inline-block;
    }
}
