/* ============================================================
   VERDE & NATURA - Stylesheet Principale
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; background: #fff; line-height: 1.6; }
a { color: #2e7d32; text-decoration: none; transition: color .2s; }
a:hover { color: #1b5e20; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Variabili CSS --- */
:root {
    --green:       #2e7d32;
    --green-light: #4caf50;
    --green-dark:  #1b5e20;
    --accent:      #8bc34a;
    --orange:      #ff6f00;
    --text:        #333;
    --text-light:  #666;
    --bg-light:    #f5f9f5;
    --bg-dark:     #1b2e1c;
    --white:       #ffffff;
    --border:      #e0e0e0;
    --shadow:      0 2px 12px rgba(0,0,0,.1);
    --radius:      8px;
    --transition:  .25s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --text:        #e0e0e0;
    --text-light:  #aaa;
    --bg-light:    #1a1a1a;
    --bg-dark:     #0d0d0d;
    --white:       #1a1a1a;
    --border:      #333;
    --shadow:      0 2px 12px rgba(0,0,0,.5);
}

[data-theme="dark"] body { background: #121212; color: #e0e0e0; }
[data-theme="dark"] .navbar { background: #1a1a1a; box-shadow: 0 2px 12px rgba(0,0,0,.5); }
[data-theme="dark"] .navbar-menu li a { color: #e0e0e0; }
[data-theme="dark"] .navbar-menu li a:hover { background: #333; }
[data-theme="dark"] .section-alt { background: #1a1a1a; }
[data-theme="dark"] .card { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .footer { background: #0d0d0d; }
[data-theme="dark"] .footer-col ul li a { color: #aaa; }
[data-theme="dark"] .form-control { background: #1a1a1a; border-color: #333; color: #e0e0e0; }
[data-theme="dark"] .alert-success { background: #1a3a1a; color: #8bc34a; border-color: #4caf50; }
[data-theme="dark"] .alert-danger { background: #3a1a1a; color: #ef5350; border-color: #c62828; }
[data-theme="dark"] .section-title p { color: #aaa; }
[data-theme="dark"] .contact-info-item { color: #aaa; }
[data-theme="dark"] .contact-info h3 { color: #e0e0e0; }
[data-theme="dark"] .card-header { background: #252525; color: #e0e0e0; border-color: #333; }
[data-theme="dark"] .text-muted { color: #888 !important; }
[data-theme="dark"] .service-card { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .service-card-body h3 { color: #e0e0e0; }
[data-theme="dark"] .service-card-body p { color: #aaa; }
[data-theme="dark"] .testimonial-card { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .testimonial-text { color: #aaa; }
[data-theme="dark"] .testimonial-author { color: #e0e0e0; }
[data-theme="dark"] .about-text h2 { color: #e0e0e0; }
[data-theme="dark"] .about-text p { color: #aaa; }
[data-theme="dark"] .about-feature { color: #aaa; }
[data-theme="dark"] .service-card-price { color: #8bc34a; }
[data-theme="dark"] .auth-wrapper { background: #121212; }
[data-theme="dark"] .auth-card { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .auth-logo h2 { color: #e0e0e0; }
[data-theme="dark"] .auth-footer { color: #aaa; }
[data-theme="dark"] .auth-footer a { color: #8bc34a; }
[data-theme="dark"] .theme-toggle { color: #e0e0e0; }

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky; top: 0; z-index: 1000;
    padding: 0;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; color: var(--green); }
.navbar-logo { height: 50px; width: auto; }
.navbar-logo-text { color: var(--green); font-weight: 800; font-size: 1.3rem; }
.navbar-logo-text i { color: var(--accent); }

.navbar-menu { display: flex; align-items: center; gap: 6px; }
.navbar-menu li a { padding: 8px 14px; border-radius: var(--radius); font-weight: 500; color: var(--text); transition: background var(--transition), color var(--transition); text-decoration: none; }
.navbar-menu li a:hover { background: var(--bg-light); color: var(--green); }
.navbar-menu li a.btn-primary { color: #fff; }
.navbar-menu li a.btn-primary:hover { background: var(--green-dark); color: #fff; }
.navbar-menu li a.btn-secondary { color: var(--green); border-color: var(--green); }
.navbar-menu li a.btn-secondary:hover { background: var(--green); color: #fff; }
.navbar-menu li a.btn-accent { color: #fff; }
.navbar-menu li a.btn-accent:hover { background: #7cb342; color: #fff; }

.navbar-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.navbar-toggle span { display: block; width: 25px; height: 3px; background: var(--green); border-radius: 2px; transition: var(--transition); }
.theme-toggle { background: none; border: none; cursor: pointer; padding: 8px; font-size: 1.2rem; color: var(--text); transition: color var(--transition); }
.theme-toggle:hover { color: var(--green); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; right: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); min-width: 180px; box-shadow: var(--shadow); z-index: 100; }
.dropdown-menu li a { display: block; padding: 10px 16px; color: var(--text); }
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--green); }
.dropdown:hover .dropdown-menu { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: var(--radius);
    font-weight: 600; font-size: .95rem; cursor: pointer;
    border: 2px solid transparent; transition: all var(--transition);
    text-decoration: none; white-space: nowrap;
}
.btn-primary   { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--green); border-color: var(--green); }
.btn-secondary:hover { background: var(--green); color: #fff; }
.btn-accent    { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #7cb342; border-color: #7cb342; color: #fff; }
.btn-danger    { background: #c62828; color: #fff; border-color: #c62828; }

/* Social Login */
.social-login-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}
.social-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}
.social-login-divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.btn-google {
    background: #4285f4;
    color: #fff;
    border: none;
}
.btn-google:hover {
    background: #357ae8;
}
.btn-danger:hover { background: #b71c1c; border-color: #b71c1c; color: #fff; }
.btn-warning   { background: #f57f17; color: #fff; border-color: #f57f17; }
.btn-warning:hover { background: #e65100; border-color: #e65100; color: #fff; }
.btn-info      { background: #0277bd; color: #fff; border-color: #0277bd; }
.btn-info:hover { background: #01579b; border-color: #01579b; color: #fff; }
.btn-sm { padding: 6px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-control {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: .95rem; color: var(--text);
    background: #fff; transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,50,.15); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: .82rem; color: var(--text-light); margin-top: 4px; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert { padding: 12px 18px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 500; border-left: 4px solid; }
.alert-success { background: #e8f5e9; color: #2e7d32; border-color: #4caf50; }
.alert-danger   { background: #ffebee; color: #c62828; border-color: #ef5350; }
.alert-warning  { background: #fff8e1; color: #f57f17; border-color: #ffca28; }
.alert-info     { background: #e3f2fd; color: #0277bd; border-color: #42a5f5; }

/* ============================================================
   BADGES
   ============================================================ */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge-success   { background: #e8f5e9; color: #2e7d32; }
.badge-danger    { background: #ffebee; color: #c62828; }
.badge-warning   { background: #fff8e1; color: #f57f17; }
.badge-info      { background: #e3f2fd; color: #0277bd; }
.badge-secondary { background: #f5f5f5; color: #666; }

/* ============================================================
   CARDS
   ============================================================ */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; }
.card-body { padding: 20px; }
.card-footer { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--bg-light); }

/* ============================================================
   TABLES
   ============================================================ */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { background: var(--bg-light); padding: 12px 14px; text-align: left; font-weight: 700; color: var(--text); border-bottom: 2px solid var(--border); white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:hover { background: #f9fdf9; }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider { position: relative; overflow: hidden; height: 580px; background: var(--bg-dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,46,28,.75) 0%, rgba(0,0,0,.3) 100%); z-index: 1; }
.slide-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; width: 90%; max-width: 700px; z-index: 2; }
.slide-content h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.slide-content p { font-size: clamp(1rem, 2.5vw, 1.25rem); margin-bottom: 28px; opacity: .92; }
.slider-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; border: none; transition: background var(--transition); }
.slider-dot.active { background: #fff; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.2); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.slider-arrow:hover { background: rgba(255,255,255,.4); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--green-dark); font-weight: 800; margin-bottom: 12px; }
.section-title p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-title .divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 14px auto 0; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.service-card-img { height: 180px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 20px; }
.service-card-body h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 8px; }
.service-card-body p { color: var(--text-light); font-size: .9rem; margin-bottom: 14px; }
.service-card-price { font-size: 1.2rem; font-weight: 700; color: var(--green); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-text h2 { font-size: 2rem; color: var(--green-dark); margin-bottom: 16px; }
.about-text p { color: var(--text-light); margin-bottom: 14px; }
.about-features { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.about-feature { display: flex; align-items: center; gap: 10px; }
.about-feature i { color: var(--accent); font-size: 1.1rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.testimonial-stars { color: #ffc107; margin-bottom: 10px; }
.testimonial-text { color: var(--text-light); font-style: italic; margin-bottom: 14px; }
.testimonial-author { font-weight: 700; color: var(--green-dark); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; text-align: center; padding: 80px 20px; }
.cta-section h2 { font-size: 2.2rem; margin-bottom: 14px; }
.cta-section p { font-size: 1.1rem; opacity: .9; margin-bottom: 30px; }
.cta-section .btn-primary { background: #fff; color: var(--green); border-color: #fff; }
.cta-section .btn-primary:hover { background: var(--bg-light); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { color: var(--green-dark); margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 16px; }
.contact-info-item i { color: var(--green); font-size: 1.2rem; margin-top: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer-col p { font-size: .9rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aaa; font-size: .9rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contacts li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: .9rem; }
.footer-contacts li i { color: var(--accent); margin-top: 3px; }
.footer-contacts li a { color: #aaa; }
.footer-contacts li a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: background var(--transition); }
.footer-social a:hover { background: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .85rem; color: #888; }

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */
.dashboard-wrapper { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: var(--bg-dark); color: #ccc; flex-shrink: 0; display: flex; flex-direction: column; }
.sidebar-brand { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-brand a { color: #fff; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sidebar-brand a i { color: var(--accent); }
.sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.sidebar-nav ul { }
.sidebar-nav li a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: #aaa; font-size: .92rem; transition: all var(--transition); border-left: 3px solid transparent; }
.sidebar-nav li a:hover, .sidebar-nav li a.active { background: rgba(255,255,255,.07); color: #fff; border-left-color: var(--accent); }
.sidebar-nav li a i { width: 18px; text-align: center; }
.sidebar-section-title { padding: 14px 20px 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: #666; }
.sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.sidebar-footer a { color: #aaa; display: flex; align-items: center; gap: 8px; }
.sidebar-footer a:hover { color: #fff; }

/* Menu toggle button */
.menu-toggle { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; padding: 5px 10px; margin-right: 10px; }
.menu-toggle:hover { opacity: 0.8; }

.main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.topbar { background: var(--white); padding: 14px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.topbar-title { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-user { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.topbar-user .avatar { width: 34px; height: 34px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem; }

.page-content { flex: 1; padding: 28px 24px; overflow-y: auto; background: #f8faf8; }

/* Stats cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; border-left: 4px solid var(--green); }
.stat-card.orange { border-left-color: var(--orange); }
.stat-card.blue   { border-left-color: #0277bd; }
.stat-card.red    { border-left-color: #c62828; }
.stat-icon { width: 50px; height: 50px; border-radius: var(--radius); background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--green); }
.stat-card.orange .stat-icon { color: var(--orange); }
.stat-card.blue   .stat-icon { color: #0277bd; }
.stat-card.red    .stat-icon { color: #c62828; }
.stat-info h3 { font-size: 1.7rem; font-weight: 800; color: var(--text); }
.stat-info p { font-size: .82rem; color: var(--text-light); }

/* Page header */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-header h1 { font-size: 1.5rem; color: var(--text); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius); width: 90%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal-header { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 1.1rem; }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-light); }
.modal-body { padding: 20px; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ============================================================
   CALENDAR
   ============================================================ */
.calendar-wrapper { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.calendar-header { background: var(--green); color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.calendar-header h3 { font-size: 1.1rem; }
.calendar-nav-btn { background: rgba(255,255,255,.2); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.calendar-nav-btn:hover { background: rgba(255,255,255,.35); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-day-name { padding: 10px; text-align: center; font-size: .78rem; font-weight: 700; color: var(--text-light); background: var(--bg-light); border-bottom: 1px solid var(--border); }
.calendar-cell { min-height: 90px; padding: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: .82rem; vertical-align: top; }
.calendar-cell.other-month { background: #fafafa; color: #ccc; }
.calendar-cell.today { background: #e8f5e9; }
.calendar-date { font-weight: 700; margin-bottom: 4px; }
.calendar-event { background: var(--green); color: #fff; border-radius: 3px; padding: 2px 5px; margin-bottom: 2px; font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.calendar-event.intervention { background: #0277bd; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 13px; border-radius: var(--radius); border: 1px solid var(--border); font-size: .88rem; color: var(--text); }
.pagination a:hover { background: var(--bg-light); }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }

/* ============================================================
   PAGE-SPECIFIC: Login/Register
   ============================================================ */
.auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-light); padding: 40px 20px; }
.auth-card { background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 40px rgba(0,0,0,.12); width: 100%; max-width: 440px; padding: 40px; }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo i { font-size: 2.8rem; color: var(--green); }
.auth-logo h2 { font-size: 1.5rem; color: var(--green-dark); margin-top: 8px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: .9rem; color: var(--text-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .sidebar { width: 220px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .navbar-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); padding: 10px 0; }
    .navbar-menu.open { display: flex; }
    .navbar-toggle { display: flex; }
    .navbar-inner { position: relative; }
    .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--bg-light); }

    .hero-slider { height: 380px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .dashboard-wrapper { flex-direction: column; }
    .sidebar { width: 100%; min-height: auto; }
    .sidebar-nav { display: none; }
    .sidebar-nav.open { display: block; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .page-content { padding: 16px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 24px; }
}

/* ============================================================
    ANIMATIONS
    ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

/* Neon glow effect */
@keyframes neonGlow {
    0%, 100% { 
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--green), 0 0 30px var(--green), 0 0 40px var(--green);
    }
    50% { 
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--green), 0 0 40px var(--green), 0 0 50px var(--green), 0 0 60px var(--green);
    }
}

@keyframes neonPulse {
    0%, 100% { 
        box-shadow: 0 0 5px var(--green), 0 0 10px var(--green), 0 0 20px var(--green);
    }
    50% { 
        box-shadow: 0 0 10px var(--green), 0 0 20px var(--green), 0 0 30px var(--green), 0 0 40px var(--green);
    }
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    }
    50% { 
        text-shadow: 0 0 20px var(--accent), 0 0 30px var(--accent), 0 0 40px var(--accent);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glowBorder {
    0%, 100% { border-color: var(--green); box-shadow: 0 0 5px var(--green); }
    50% { border-color: var(--accent); box-shadow: 0 0 15px var(--accent); }
}

.animate-fade-in.animate-in { animation: fadeIn 0.8s ease forwards; }
.animate-fade-in-left.animate-in { animation: fadeInLeft 0.8s ease forwards; }
.animate-fade-in-right.animate-in { animation: fadeInRight 0.8s ease forwards; }
.animate-zoom-in.animate-in { animation: zoomIn 0.6s ease forwards; }
.animate-slide-up.animate-in { animation: slideUp 0.8s ease forwards; }

/* Animation delays for staggered effects */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Neon text effects */
.neon-text {
    animation: neonGlow 2s ease-in-out infinite;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}

.hero-title {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    font-weight: 800;
}

.neon-text-accent {
    animation: textGlow 2s ease-in-out infinite;
    color: var(--accent);
}

/* Futuristic button effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    animation: neonPulse 2s ease-in-out infinite;
}

.btn-primary:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--green);
}

/* Service cards with glow */
.service-card {
    transition: all 0.4s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(45deg, var(--green), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

/* Testimonial cards with glow */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.3);
}

/* Section titles with glow */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--accent));
    transition: width 0.5s ease;
    border-radius: 2px;
}

.section-title:hover h2::after {
    width: 80%;
}

/* Hover effects */
.service-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,.2); }

.testimonial-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.15); }

.btn { transition: all 0.3s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,.2); }

.navbar-menu li a { transition: all 0.3s ease; }

/* Parallax effect for hero */
.hero-slider { position: relative; overflow: hidden; }

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Focus effects */
a:focus, button:focus { outline: 2px solid var(--green); outline-offset: 2px; }

/* Selection color */
::selection { background: var(--green); color: #fff; }

/* Scrollbar styling */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ============================================================
    UTILITIES
    ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-light); }
.text-green  { color: var(--green); }
.text-danger { color: #c62828; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.loading { opacity: .6; pointer-events: none; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform .2s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ============================================================
   SIDEBAR FIXED (DASHBOARD)
   ============================================================ */
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 260px; z-index: 100; overflow-y: auto; }
.main-content { margin-left: 260px; }

@media (max-width: 1024px) {
    .sidebar { position: relative; width: 100%; }
    .main-content { margin-left: 0; }
    
    /* Menu toggle button */
    .menu-toggle { display: block !important; }
    
    .sidebar.open { display: flex; }
    .sidebar:not(.open) .sidebar-nav { display: none; }
    
    /* Grid responsive */
    .stats-grid { grid-template-columns: 1fr; }
    .page-content > div { grid-template-columns: 1fr !important; }
    
    /* Table responsive */
    .table-responsive { overflow-x: auto; }
    .table { min-width: 500px; }
}

/* ============================================================
   COPY URL BUTTON
   ============================================================ */
.copy-url { cursor: pointer; }

/* ============================================================
   QUOTE ITEMS TABLE
   ============================================================ */
#quoteItemsTable input { padding: 6px 10px; }
