/* Variabile CSS pentru o paleta "Light & Smooth" */
:root {
    --bg-color: #f8fafc; /* Un gri/albastrui extrem de deschis si relaxant */
    --surface-color: #ffffff; /* Pentru carduri si sectiuni albe */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --primary-color: #0d9488; /* Culoare Teal (verde-smarald deschis) - super profesionala pt fitness */
    --primary-hover: #0f766e;
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.025);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    background-color: var(--surface-color);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo span {
    color: var(--primary-color);
}

.main-nav a {
    margin: 0 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px; /* Colturi usor rotunjite, placut ochiului */
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Hero Section (Pagina Acasa) */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pagina Despre Mine */
.page-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.about-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    padding-bottom: 80px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img, .about-image .img-placeholder {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background-color: var(--border-color);
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 24px;
}

/* Pagina Servicii (Carduri) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.service-card {
    background-color: var(--surface-color);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price span {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==== MEDIA QUERIES PENTRU MOBILE ==== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .main-nav a {
        margin: 0 5px;
        font-size: 14px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }
    
    .hero .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* Formulare */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    background-color: var(--surface-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Layout Pagina Contact */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 80px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h4 {
    margin-top: 20px;
}

.contact-form-container {
    flex: 2;
    min-width: 300px;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

/* Pagina Login */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.login-card {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 450px;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
}

.alert-error {
    background-color: #fef2f2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #f87171;
    text-align: center;
}