/* ============================================
   RESET ȘI BAZĂ
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #000;
    background-color: #fff;
    line-height: 1.6;
}

/* ============================================
   CONTAINER ȘI LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER / NAVIGARE
   ============================================ */

.header {
    position: sticky;
    top: 0;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
}

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

.logo {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s;
}

.logo:hover {
    color: #00BFA6;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 300;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #00BFA6;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.03) 0%, rgba(163, 255, 0, 0.03) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 191, 166, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(163, 255, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 600px;
}

.hero > .container > p {
    font-size: 18px;
    font-weight: 300;
    color: #666;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

.btn {
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #00BFA6;
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: 1px solid #ccc;
}

.btn-secondary:hover {
    border-color: #00BFA6;
    color: #00BFA6;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.feature h3 {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #00BFA6;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.feature p {
    font-size: 15px;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff, rgba(255, 254, 240, 0.5), #fff);
    border-top: 1px solid #e5e5e5;
}

.services h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #666;
    max-width: 600px;
    margin-bottom: 60px;
    line-height: 1.7;
}

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

.service-card {
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
    transition: border-color 0.3s;
}

.service-card:hover {
    border-bottom-color: #00BFA6;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 15px;
    font-weight: 300;
    color: #666;
    line-height: 1.7;
}

.why-section {
    background: linear-gradient(135deg, rgba(240, 255, 254, 1) 0%, rgba(255, 254, 240, 1) 100%);
    padding: 48px;
    border: 1px solid #e5e5e5;
}

.why-section h3 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 32px;
}

.why-list {
    list-style: none;
}

.why-list li {
    font-size: 15px;
    font-weight: 300;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff, rgba(255, 254, 240, 0.5), #fff);
    border-top: 1px solid #e5e5e5;
}

.gallery h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(240, 255, 254, 1), rgba(255, 254, 240, 1));
    border: 1px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.3s;
    group: true;
}

.gallery-item:hover {
    border-color: #00BFA6;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: background 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item-title {
    color: white;
    font-size: 14px;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-title {
    opacity: 1;
}

/* ============================================
   MODAL GALERIE
   ============================================ */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #000;
    border: 1px solid #333;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-image-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

.modal-description {
    background: #000;
    color: white;
    padding: 32px;
    border-top: 1px solid #333;
}

.modal-description h3 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 16px;
}

.modal-description p {
    font-size: 15px;
    font-weight: 300;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 16px;
}

#imageCounter {
    font-size: 12px;
    color: #999;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.03) 0%, rgba(163, 255, 0, 0.03) 100%);
    border-top: 1px solid #e5e5e5;
}

.contact h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item h3 {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #00BFA6;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.contact-item a,
.contact-item p {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #00BFA6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    background: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 300;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00BFA6;
}

.form-message {
    font-size: 14px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-section p {
    font-size: 14px;
    font-weight: 300;
    color: #999;
    line-height: 1.7;
}

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

.footer-section ul li {
    font-size: 14px;
    font-weight: 300;
    color: #999;
    margin-bottom: 12px;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00BFA6;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .nav {
        gap: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero > .container > p {
        font-size: 16px;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .services h2,
    .gallery h2,
    .contact h2 {
        font-size: 36px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        gap: 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero > .container > p {
        font-size: 14px;
    }

    .modal-content {
        max-height: 100vh;
    }

    .modal-description {
        padding: 20px;
    }
}
