:root {
    --ocean-blue: #0a4d68;
    --ocean-light: #088395;
    --ocean-teal: #05bfdb;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --dark: #1a1a2e;
}

* {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

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

html, body {
    min-height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    overflow-x: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(10, 77, 104, 0.55) 0%,
            rgba(5, 191, 219, 0.35) 45%,
            rgba(244, 228, 193, 0.25) 100%
        ),
        url("../img/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* HEADER */
.header {
    padding: 48px 20px 36px;
    text-align: center;
    background: linear-gradient(135deg, #0a4d686b, #088395);
}

.header-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--white);
}

/* MAIN */
.main-content {
    padding: 70px 20px 80px;
}

/* GRID */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* CARD */
.hotel-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

/* IMAGE */
.card-image {
    height: 260px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.hotel-card:hover .card-image img {
    transform: scale(1.04);
}

/* CONTENT */
.card-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.card-location {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ocean-light);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    margin: 10px 0 12px;
    background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-description {
    color: #666;
    line-height: 1.6;
    flex: 1;
}

/* SAGETI */
.card-arrow {
    margin-top: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.hotel-card:hover .card-arrow {
    transform: translateX(6px);
}

/* FOOTER */
.footer {
    padding: 45px 20px 35px;
    background: linear-gradient(135deg, #0a4d686b, #088395);
    color: var(--white);
    text-align: center;
}

/* ========================= */
/* TABLETA */
/* ========================= */
@media (max-width: 1024px) {
    .main-content {
        padding: 60px 20px 70px;
    }

    .card-image {
        height: 240px;
    }
}

/* ========================= */
/* TELEFON */
/* ========================= */
@media (max-width: 768px) {
    .header {
        padding: 36px 16px 28px;
    }

    .main-content {
        padding: 50px 16px 60px;
    }

    .hotels-grid {
        gap: 28px;
    }

    .card-image {
        height: 220px;
    }

    .card-content {
        padding: 22px;
    }

    .card-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.6rem;
    }

    .card-image {
        height: 200px;
    }
}

.error-404 {
            min-height: 70vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #ffffff;
        }

        .error-box {
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(6px);
            padding: 50px 40px;
            border-radius: 18px;
            max-width: 600px;
        }

        .error-code {
            font-size: 96px;
            font-family: 'Playfair Display', serif;
            margin-bottom: 10px;
        }

        .error-title {
            font-size: 28px;
            margin-bottom: 15px;
        }

        .error-text {
            font-size: 16px;
            opacity: 0.9;
            margin-bottom: 30px;
        }

        .error-btn {
            display: inline-block;
            padding: 14px 32px;
            border-radius: 30px;
            background: #05bfdb;
            color: #ffffff;
            text-decoration: none;
            font-weight: 600;
            transition: background 0.3s ease;
        }

        .error-btn:hover {
            background: #088395;
        }
		
		.legal-content {
            padding: 80px 0;
            color: #ffffff;
        }

        .legal-box {
            max-width: 900px;
            margin: 0 auto;
            background: rgba(0,0,0,0.45);
            backdrop-filter: blur(6px);
            border-radius: 18px;
            padding: 50px 45px;
        }

        .legal-box h2 {
            font-family: 'Playfair Display', serif;
            font-size: 30px;
            margin-bottom: 25px;
        }

        .legal-box h3 {
            font-size: 20px;
            margin-top: 35px;
            margin-bottom: 10px;
        }

        .legal-box p {
            font-size: 15px;
            line-height: 1.7;
            opacity: 0.95;
        }
		
/* ================= COOKIE BAR ================= */

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cookie-bar.show {
  display: block;
}

.cookie-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #e5e7eb;
  text-align: left;
}

.cookie-text a {
  color: #c7d2fe;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.cookie-btn.primary {
  background: #ffffff;
  color: #111827;
}

.cookie-btn.primary:hover {
  background: #e5e7eb;
}

.cookie-btn.secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn.secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* SETTINGS PANEL */

.cookie-settings {
  display: none;
  background: rgba(17, 24, 39, 0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cookie-settings.show {
  display: block;
}

.cookie-settings-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #e5e7eb;
  text-align: left;
}

.cookie-settings-inner h4 {
  margin-bottom: 14px;
  text-align: left;
}

.cookie-option {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.cookie-option input {
  margin-top: 3px;
}

.cookie-settings-actions {
  margin-top: 16px;
}

/* Mobile */
@media (max-width: 768px) {
  .cookie-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}