﻿:root {
    --primary: #0077b6;
    --secondary: #00b4d8;
    --accent: #caf0f8;
    --bg: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

.scroll-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
    transition: all 0.2s ease;
}

.scroll-link:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* Review pe scurt - Plusuri si Minusuri (Una dupa alta) */
.pros-cons-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pros-column {
    width: 100%;
    background: #f0fdf4;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid #dcfce7;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.cons-column {
    background: #fef2f2;
    border-color: #fee2e2;
}

.pros-column h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #166534;
}

.cons-column h3 {
    color: #991b1b;
}

.pros-column ul {
    margin-left: 1.25rem;
    margin-bottom: 0;
}

.pros-column li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    text-align: center;
    padding: 6rem 1rem 7rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.main-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 100;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    max-width: 850px;
    margin: 0 auto;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 1rem 1.25rem;
    color: purple;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Sticky Nav cand dam scroll (optional, dar util) */
.main-nav.sticky {
    position: fixed;
    top: 0;
    bottom: auto;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e2e8f0;
}

.main-nav.sticky a {
    color: var(--text);
}

.main-nav.sticky a:hover {
    color: var(--primary);
    background: #f1f5f9;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

main {
    max-width: 850px;
    margin: -3rem auto 3rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    position: relative;
    z-index: 10;
}

section {
    margin-bottom: 3.5rem;
}

section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

section h2::after {
    content: "";
    flex-grow: 1;
    height: 2px;
    background: var(--accent);
    margin-left: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
}

/* Stiluri Liste */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

/* Disclaimer */
.disclaimer {
    background-color: #fff1f2;
    color: #9f1239;
    padding: 1.25rem;
    border-radius: var(--radius);
    border-left: 5px solid #e11d48;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Rating-uri */
.rating-container {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
}

.rating-item {
    margin-bottom: 1.5rem;
}

.rating-item:last-child {
    margin-bottom: 0;
}

.rating-label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.rating-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    font-weight: bold;
}

/* Elemente interactive */
details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1rem;
    margin: 1.5rem 0;
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    outline: none;
}

pre {
    background: #1e293b;
    color: #f8fafc;
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    overflow-x: auto;
}

/* Media/Imagini & Galerie */
.photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    margin: 0 0 2rem 0;
    display: block;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #e2e8f0;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: #fff;
}

.play-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 182, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #fff;
    border-radius: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    position: relative;
}

.modal-content img, .modal-content video {
    width: 100%;
    border-radius: 8px;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.close-modal:hover {
    color: var(--secondary);
}

/* Referințe în text */
.text-ref {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px dashed var(--secondary);
    transition: all 0.2s;
}

.text-ref:hover {
    background: var(--accent);
    border-bottom-style: solid;
}

/* Stil specific pentru cardul de contact */
.contact-card {
    background: #f8fafc;
    border-left: 5px solid var(--primary);
}

.contact-card ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stil specific pentru cardul de probleme */
.problem-card {
    background: #fffaf0;
    border-left: 5px solid #f59e0b;
}

.problem-card ul {
    margin-top: 1rem;
}

.problem-card li {
    margin-bottom: 0.75rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 1rem;
    background: #f1f5f9;
    color: var(--text-muted);
}

/* Animatii */
main {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 4rem 1rem 3rem;
    }
    header h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .main-nav {
        position: relative;
        bottom: auto;
        background: transparent;
        backdrop-filter: none;
        border: none;
        margin-top: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .main-nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 20px;
    }
    
    main {
        padding: 1.5rem;
        margin: -2rem 1rem 2rem;
    }
    
    .photo {
        height: 200px;
    }
    
    section h2 {
        font-size: 1.4rem;
    }
}
