/* ==========================================
   FLUX STUDIOS - COMPLETE CSS
   Geometric Minimalism Design
   Color Scheme: Charcoal, White, Electric Teal
   ========================================== */

/* Root Variables */
:root {
    --primary-color: #00d9ff;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-color: #334155;
    --gray-light: #f1f5f9;
    --gray-border: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-family: 'IBM Plex Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--gray-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #00b8d4;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #0f172a;
    border-bottom: 1px solid var(--gray-border);
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
}

.logo-box {
    width: 36px;
    height: 36px;
    background-color: var(--dark-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#menu-toggle {
    display: block !important;
    color: white !important;
    z-index: 1100;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;

    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    padding: 90px 20px 24px;

    transform: translateX(-100%); 
    transition: transform 0.3s ease;

    z-index: 1000;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-link {
    display: block;
    padding: 14px 16px;
    color: #cbd5e1;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(0, 217, 255, 0.12);
    color: var(--primary-color);
}

.overlay {
    display: none;
}

main {
    margin-top: 80px;
}



@media (max-width: 768px) {
    .sidebar {
        top: 0;
        left: 0;
        height: 100vh;
        padding: 90px 20px 24px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        will-change: transform;
    }

    .sidebar.active {
        transform: translateX(0);
    }

      .overlay {
          position: fixed;
          inset: 0;
          background: rgba(0, 0, 0, 0.45);
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
          z-index: 998;
          display: block;
      }
      
      .overlay.active {
          opacity: 1;
          visibility: visible;
          backdrop-filter: blur(4px);
      }

    .menu-toggle {
        display: block;
    }

    main {
        margin-left: 0;
    }
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--light-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #ffffff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    border: 2px solid rgba(0, 217, 255, 0.2);
    opacity: 0.2;
    z-index: 1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    top: 80px;
    right: 80px;
    transform: rotate(45deg);
}

.shape-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: 80px;
    left: 80px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: var(--font-family);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #00b8d4;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 217, 255, 0.3);
}

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

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-dark {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.btn-dark:hover {
    background-color: #2d2d2d;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.125rem;
}

/* Services Section */
.services-preview {
    background-color: var(--light-color);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    padding: 2rem;
    border: 2px solid var(--gray-border);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--gray-color);
}

/* Services Full Section */
.services-full {
    background-color: var(--gray-light);
    padding: 80px 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--light-color);
    padding: 2rem;
    border: 2px solid var(--gray-border);
    border-radius: 8px;
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-item h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.service-item p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin: 1rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.5rem 0;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list i {
    color: var(--primary-color);
    font-weight: 700;
}

.price {
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-border);
}

/* Pricing Section */
.pricing {
    background-color: var(--light-color);
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--light-color);
    border: 2px solid var(--gray-border);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--gray-border);
}

.pricing-features i {
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-features i.fa-times {
    color: #cbd5e1;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--light-color);
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    border: 2px solid var(--gray-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-card h3 {
    margin-bottom: 0.5rem;
}

.portfolio-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.portfolio-results {
    list-style: none;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.portfolio-results li {
    padding: 0.25rem 0;
}

/* About Section */
.about {
    background-color: var(--gray-light);
    padding: 80px 0;
}

.about-content {
    margin-top: 3rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text h3 {
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background-color: var(--light-color);
    padding: 2rem;
    border: 2px solid var(--gray-border);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.value-card h3 {
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--dark-color);
    border-radius: 8px;
    color: var(--light-color);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cbd5e1;
}

/* Quote Section */
.quote {
    background-color: var(--light-color);
    padding: 80px 0;
}

.quote-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 2rem;
    border: 2px solid var(--gray-border);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-border);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background-color: var(--gray-light);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray-color);
}

.contact-form {
    background-color: var(--light-color);
    padding: 2rem;
    border: 2px solid var(--gray-border);
    border-radius: 8px;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0;
    text-align: center;
}

.newsletter h3 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-family: var(--font-family);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2d2d2d 100%);
    color: var(--light-color);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.cta p {
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.9rem;
}

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.fade-in-card:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in-card:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in-card:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in-card:nth-child(4) {
    animation-delay: 0.4s;
}

.fade-in-card:nth-child(5) {
    animation-delay: 0.5s;
}

.fade-in-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .pricing-grid,
    .portfolio-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons,
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .shape-1,
    .shape-2 {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}




.email-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.email-modal.active {
  display: flex;
}

.email-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
}

.email-modal-content input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.logout-btn {
    text-align: left;
    background: none;
    border: none;
    width: 100%;
    color: #ef4444;
    cursor: pointer;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.user-menu {
    position: relative;
    margin-left: auto;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.04);
    color: white;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s ease;
}

.user-menu-btn:hover {
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    padding: 8px;
    display: none;
    z-index: 1200;
}

.user-dropdown.active {
    display: block;
}

.user-dropdown-link {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #cbd5e1;
    text-decoration: none;
    padding: 12px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.user-dropdown-link:hover {
    background: rgba(255,255,255,0.06);
    color: white;
}

.logout-link {
    color: #f87171;
}

.logout-link:hover {
    background: rgba(239,68,68,0.12);
    color: #fca5a5;
}

@media (max-width: 768px) {
    .user-menu-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .user-dropdown {
        right: 0;
        min-width: 170px;
    }
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.sidebar-close:hover {
    opacity: 0.6;
}

#sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

#sidebar.active {
    transform: translateX(0);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;

    z-index: 999;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
}

