/* Paleta Dark: #007AFF (Albastru Electric), #0a0a0c (Fundal Negru), #FFFFFF (Text), #4cc9f0 (Cyan Neon) */

/* SCROLL FLUID & CURSOR DEFAULT */
html { scroll-behavior: smooth; cursor: auto; }
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Background & Body */
.animated-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: linear-gradient(-45deg, #0a0a0c, #020d1f, #007AFF, #0a0a0c);
    background-size: 400% 400%; opacity: 0.6; animation: gradient-shift 25s ease infinite;
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; }
}
body {
    font-family: 'Inter', sans-serif; line-height: 1.6; color: #ffffff;
    background-color: #0a0a0c; min-height: 100vh; overflow-x: hidden;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }

/* Fundal Hero - Corectat Calea */
.section-background-padel {
    background-image: url('../imagini/padel-blade-racket-hanging.jpg');
    background-size: cover; background-attachment: fixed; background-position: center; position: relative; z-index: 0;
}
.section-background-padel::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 10, 12, 0.85); z-index: 1;
}
.section-background-padel .container { position: relative; z-index: 2; }
.section-title {
    text-align: center; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 60px; color: #4cc9f0; letter-spacing: -0.5px;
}

/* Butoane */
.btn-primary {
    display: inline-block; background: linear-gradient(45deg, #0077b6, #4cc9f0); color: #FFFFFF;
    padding: 15px 32px; border-radius: 10px; font-weight: 600; border: none; cursor: pointer;
    transition: all 0.3s ease; box-shadow: 0 8px 15px rgba(0, 122, 255, 0.3); text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 15px 30px rgba(76, 201, 240, 0.5);
}

/* Glass Card Global */
.glass-card {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; color: #ffffff;
    transition: all 0.3s ease-in-out; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.glass-card:hover {
    transform: translateY(-5px); border-color: rgba(76, 201, 240, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(76, 201, 240, 0.2);
}

/* Navbar */
.glass-navbar {
    position: sticky; top: 0; z-index: 1000; padding: 20px 0;
    background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2em; font-weight: 900; color: #4cc9f0; }
.glass-navbar nav a { text-decoration: none; color: rgba(255, 255, 255, 0.7); margin-left: 40px; font-weight: 600; transition: all 0.3s ease; }
.glass-navbar nav a:hover, .glass-navbar nav a.active { color: #4cc9f0; transform: scale(1.05); }

/* Hero */
.hero { padding: 140px 0; min-height: 85vh; display: flex; align-items: center; position: relative; overflow: hidden; }

/* === MODIFICARE: HERO CONTENT MUTAT ÎN DREAPTA === */
.hero-content {
    padding: 60px;
    color: #FFFFFF;
    position: relative;
    z-index: 5;

    /* MAGIA SUPREMĂ PENTRU ALINIERE LA DREAPTA */
    max-width: 500px !important;    /* Îl facem puțin mai compact */
    margin: 0 0 0 auto !important;  /* Împinge elementul complet la dreapta */
    text-align: center;             /* Păstrează textul centrat în interior */
}

.hero-content h2 {
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(76, 201, 240, 0.4);
}

/* Assets */
.hero-asset { position: absolute; z-index: 1; pointer-events: none; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.left-bat { width: clamp(280px, 35vw, 450px); left: -150px; top: 50%; transform: translateY(-50%) rotate(-15deg); }
.right-ball { width: clamp(150px, 18vw, 250px); right: 120px; bottom: 50px; transform: rotate(10deg); }
.glow-shadow-asset { filter: drop-shadow(0 0 15px rgba(0, 122, 255, 0.8)); }
.abstract-asset { position: absolute; pointer-events: none; opacity: 0.2; z-index: 1; width: clamp(100px, 15vw, 200px); animation: float 6s ease-in-out infinite; }
.asset-about-1 { width: clamp(150px, 20vw, 250px); top: 10%; right: 5%; transform: rotate(15deg); }
.asset-service-top { bottom: 0; left: 10%; transform: rotate(-30deg) translateY(50px); }

/* Grid-uri Servicii & About */
.service-grid, .about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding: 10px; }
.service-item, .about-card { padding: 40px; text-align: center; }
.about-card { text-align: left; }
.service-item h4, .about-card h4 { color: #ffffff; margin-bottom: 15px; font-size: 1.5em; font-weight: 700; }
.card-icon, .icon-circle { font-size: 3rem; margin-bottom: 20px; display: block; filter: drop-shadow(0 0 10px rgba(76, 201, 240, 0.5)); }
.about-subtitle { font-size: 1.2em; color: #e0e0e0; max-width: 800px; margin: 0 auto 50px auto; line-height: 1.5; }

/* Stil Card About */
.about-card {
    border: 2px solid #4cc9f0; box-shadow: 0 0 20px rgba(76, 201, 240, 0.3), inset 0 0 20px rgba(76, 201, 240, 0.1); background: rgba(10, 10, 12, 0.6);
}
.about-card:hover {
    transform: translateY(-10px); box-shadow: 0 0 30px rgba(76, 201, 240, 0.5), inset 0 0 30px rgba(76, 201, 240, 0.2); border-color: #ffffff;
}
.about-card p { color: #cccccc; font-size: 1em; line-height: 1.6; margin: 0; }

/* === RECENZII SIDE-BY-SIDE === */
.review-grid {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 25px; padding: 10px 5px 25px 5px;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.review-grid::-webkit-scrollbar { height: 8px; }
.review-grid::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
.review-grid::-webkit-scrollbar-thumb { background: #4cc9f0; border-radius: 4px; }

.review-card {
    min-width: 320px; max-width: 320px; flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 30px;
    transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: space-between;
}
.review-card:hover {
    transform: translateY(-5px); border-color: #4cc9f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(76, 201, 240, 0.3);
    background: rgba(255, 255, 255, 0.06);
}
.review-author { color: #4cc9f0 !important; font-weight: 800; font-size: 1.2em; display: block; margin-bottom: 5px; }
.review-text { color: #e0e0e0 !important; font-style: italic; font-size: 0.95em; line-height: 1.6; }
.review-date { font-size: 0.8em; color: rgba(255, 255, 255, 0.5); display: block; margin-bottom: 15px; }

/* Calendar Modern */
#calendar {
    background: rgba(20, 20, 25, 0.6) !important; backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); font-family: 'Inter', sans-serif;
    touch-action: manipulation;
}
.fc-header-toolbar { display: none !important; }
.fc-timegrid-slot { height: 4em !important; border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; }
.fc-timegrid-slot:hover { background: rgba(76, 201, 240, 0.05); cursor: pointer; }
.fc-theme-standard td, .fc-theme-standard th { border-color: rgba(255, 255, 255, 0.05) !important; }
.fc-col-header-cell-cushion { color: #4cc9f0 !important; text-transform: uppercase; font-weight: 800; padding: 15px 0; }
.fc-event { border: none !important; background: rgba(255, 75, 92, 0.15) !important; border-left: 3px solid #ff4b5c !important; }

/* Date Picker Input Modern */
.date-picker-wrapper { display: flex; justify-content: center; margin-bottom: 25px; }
.flatpickr-input {
    background: transparent; border: 2px solid #4cc9f0; color: #fff; padding: 12px 25px;
    font-size: 1.1em; border-radius: 50px; text-align: center; font-weight: 700; cursor: pointer;
    font-family: 'Inter', sans-serif; min-width: 250px; transition: all 0.3s;
}
.flatpickr-input:hover { background: rgba(76, 201, 240, 0.1); box-shadow: 0 0 15px rgba(76, 201, 240, 0.3); }

/* Stats Hero */
.hero-stats-row { display: flex; justify-content: center; gap: 60px; margin-bottom: 50px; position: relative; z-index: 10; }
.stat-box { text-align: center; }
.stat-number {
    display: block; font-size: 3.5rem; font-weight: 900; color: #4cc9f0;
    font-family: 'Inter', sans-serif; text-shadow: 0 0 20px rgba(76, 201, 240, 0.6); line-height: 1;
}
.stat-label { font-size: 0.9em; color: rgba(255, 255, 255, 0.8); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-top: 10px; }

/* Footer & Modale */
footer { padding: 40px 0; text-align: center; background: #050505; color: #888; border-top: 1px solid #222; }
.modal-content { max-width: 450px; padding: 40px; background: rgba(15,15,20,0.95); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; color: white; text-align: center; }
.modal-input { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid #333; color: white; }
.glass-modal { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); align-items: center; justify-content: center; }
.stars-input { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; font-size: 1.5em; cursor: pointer; }
.star-select { color: #444; } .star-select.active { color: #FFD700; }

/* === LIGHTBOX POZE === */
#lightbox {
    display: none; position: fixed; z-index: 10000; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px);
    align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
#lightbox.active { opacity: 1; pointer-events: all; }
#lightbox img {
    max-width: 90vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.2); object-fit: contain;
}
#lightbox.active img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 30px; right: 30px; font-size: 3rem; color: white; cursor: pointer;
    background: rgba(255,255,255,0.1); width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.lightbox-close:hover { background: #ff4b5c; transform: rotate(90deg); }

/* === RESPONSIVE REPARAT === */
@media (max-width: 992px) {
    /* Pe ecrane mai mici (tablete/telefoane), readucem cardul PADEL pe centru */
    .hero-content {
        margin: 30px auto 0 auto; /* Revine pe centru */
        max-width: 90%;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .service-grid, .about-grid { grid-template-columns: 1fr; }
    .hero-stats-row { flex-direction: column; gap: 30px; margin-bottom: 30px; }
    .hero-content h2 { font-size: 3.5rem !important; }
    .about-card { text-align: center; }
    .modal-content { width: 90%; }
    .fc-timegrid-slot { height: 4em !important; }
    .flatpickr-input { font-size: 1em; padding: 10px 20px; min-width: 200px; }
    .lightbox-close { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 1.5rem; }
}

/* =========================================
   STILURI PAGINA ADMIN
   ========================================= */

.admin-section { margin-bottom: 60px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; color: #e0e0e0; font-size: 0.95em; }
.admin-table th { text-align: left; padding: 15px; color: #4cc9f0; text-transform: uppercase; font-size: 0.85em; border-bottom: 2px solid rgba(76, 201, 240, 0.3); }
.admin-table td { padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
.admin-table tr:hover { background: rgba(255, 255, 255, 0.03); }
.date-badge { background: rgba(76, 201, 240, 0.15); color: #4cc9f0; padding: 5px 10px; border-radius: 8px; font-weight: 700; font-size: 0.9em; white-space: nowrap; }
.contact-info div { margin-bottom: 3px; }
.contact-icon { opacity: 0.5; margin-right: 5px; }
.btn-danger { background: rgba(255, 75, 92, 0.15); color: #ff4b5c; border: 1px solid rgba(255, 75, 92, 0.3); padding: 8px 15px; border-radius: 8px; cursor: pointer; transition: all 0.3s; font-size: 0.85em; font-weight: 700; }
.btn-danger:hover { background: #ff4b5c; color: white; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 75, 92, 0.4); }
.upload-group { display: flex; gap: 15px; margin-top: 15px; }
.upload-input { flex: 1; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.2); padding: 12px; border-radius: 10px; color: white; }

@media (max-width: 768px) {
    .upload-group { flex-direction: column; }
    .admin-table th, .admin-table td { padding: 10px 5px; font-size: 0.85em; }
    .btn-danger { padding: 5px 10px; }
}