/* Culorile principale */
:root {
    --dark: #142b2a;
    --green: #2d6a4f;
    --mint: #d8f3dc;
    --cream: #f7f6f0;
    --text: #263331;
    --muted: #65736f;
    --white: #ffffff;
    --shadow: 0 12px 30px rgba(20, 43, 42, 0.10);
}

/* Setări generale */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
}

a {
    color: inherit;
}

/* Bara de navigare */
.navbar {
    width: min(1120px, 90%);
    margin: 0 auto;
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
}

.logo span {
    color: #95d5b2;
}

.navbar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.navbar li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.navbar li a:hover,
.navbar li a.active {
    color: var(--white);
    border-color: #95d5b2;
}

/* Prima pagină */
.hero {
    min-height: 590px;
    color: var(--white);

    background:
        linear-gradient(
            90deg,
            rgba(10, 35, 32, 0.88),
            rgba(10, 35, 32, 0.30)
        ),
        url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=2000&q=90")
        center/cover;
}

.hero-content {
    width: min(1120px, 90%);
    margin: 0 auto;
    padding: 90px 0 110px;
}

.hero-content h1 {
    max-width: 700px;
    font-size: clamp(2.6rem, 6vw, 4.7rem);
    line-height: 1.08;
    margin: 12px 0 22px;
}

.hero-content > p:not(.eyebrow) {
    max-width: 590px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Texte decorative */
.eyebrow {
    color: #74c69d;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: 800;
    margin: 0;
}

/* Butoane */
.button {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: 13px 22px;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.button:hover {
    background: #1b4332;
    transform: translateY(-2px);
}

/* Secțiuni */
.section {
    width: min(1120px, 90%);
    margin: 0 auto;
    padding: 76px 0;
}

.intro {
    max-width: 800px;
    text-align: center;
}

h2 {
    color: var(--dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin: 10px 0 18px;
}

.intro p:last-child {
    color: var(--muted);
    font-size: 1.05rem;
}

/* Cele trei casete de pe prima pagină */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-top: 0;
}

.feature-card {
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid #e6ebe6;
}

.feature-icon {
    font-size: 2.2rem;
}

.feature-card h3 {
    color: var(--dark);
    margin: 12px 0 8px;
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 0;
}

/* Secțiunea cu citatul */
.quote {
    width: 100%;
    max-width: none;
    padding: 70px 5%;
    text-align: center;
    background: var(--mint);
}

blockquote {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--green);
    margin: 28px auto 12px;
    max-width: 720px;
}

.text-link {
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Antetul paginilor secundare */
.page-header {
    color: var(--white);
    background: var(--dark);
}

.page-title {
    width: min(1120px, 90%);
    margin: 0 auto;
    padding: 58px 0 70px;
}

.page-title h1 {
    max-width: 780px;
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    line-height: 1.12;
    margin: 12px 0;
}

.page-title p:last-child {
    color: rgba(255, 255, 255, 0.75);
}

/* Cardurile destinațiilor */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.destination-card {
    overflow: hidden;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.destination-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-body h2 {
    font-size: 1.45rem;
    margin: 4px 0 10px;
}

.card-body p:not(.tag) {
    color: var(--muted);
}

.tag {
    display: inline-block;
    background: var(--mint);
    color: var(--green);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    margin: 0;
}

/* Tabelul */
.table-section {
    padding-top: 70px;
}

.table-section > p {
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    text-align: left;
}

th,
td {
    padding: 16px 20px;
    border-bottom: 1px solid #e4e9e4;
}

th {
    background: var(--green);
    color: var(--white);
}

tbody tr:nth-child(even) {
    background: #f0f7f1;
}

tbody tr:hover {
    background: #e0f2e5;
}

/* Pagina de contact */
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 55px;
    align-items: start;
}

.contact-info p,
.contact-list {
    color: var(--muted);
}

.contact-list {
    padding-left: 20px;
}

.contact-list li {
    margin: 12px 0;
}

.notice {
    margin-top: 26px;
    background: var(--mint);
    border-left: 4px solid var(--green);
    padding: 18px;
    border-radius: 0 8px 8px 0;
}

/* Formular */
.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: block;
    font-weight: 700;
    margin: 15px 0 6px;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cbd5ce;
    border-radius: 7px;
    background: #fcfdfb;
    color: var(--text);
    font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid #74c69d;
    border-color: var(--green);
}

.contact-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 0.9rem;
}

.checkbox-label input {
    margin-top: 7px;
}

.contact-form button {
    margin-top: 18px;
}

/* Subsolul site-ului */
footer {
    padding: 24px 5%;
    text-align: center;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Adaptare pentru tablete */
@media (max-width: 800px) {
    .features,
    .destination-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 0 85px;
    }
}

/* Adaptare pentru telefoane */
@media (max-width: 560px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
        gap: 12px;
    }

    .navbar ul {
        gap: 18px;
    }

    .features,
    .destination-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 52px 0;
    }

    .hero-content h1 {
        letter-spacing: -1px;
    }

    th,
    td {
        padding: 12px;
    }

    .contact-form {
        padding: 22px;
    }
}