/* =========================
   ROOT COLORS
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary: hsl(222, 47%, 11%);
  --primary-light: #1e293b;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --text: #222;
  --gray: #777;
  --bg: white;
}
/* =========================
   GLOBAL
========================= */
body {
  font-family: Inter, sans-serif;
  font-size: 18px;
  margin: 0;
  padding: 0;
  background: #fcfbf7;
  color: var(--text);
}
/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 15px;
  background: var(--bg);
  border-bottom: 3px solid rgba(0,0,0,0.08);
}
/* =========================
   BRANDING
========================= */
.branding h1{
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.1;
  color: #374151;
}
.branding .subtitle {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 0;
  margin-top: 2px;
  line-height: 1.1;
}
/* Logo Link */
.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}
/* =========================
   NAVIGATION
========================= */
.main-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--gray);

  padding: 6px 10px;
  border-radius: 6px;

  transition: 0.2s;
}
/* Hover Effekt */
.main-nav a:hover {
  background: rgba(0,119,182,0.1);
  color: var(--accent);
}
/* =========================
   OPTIONAL: ACTIVE STATE
========================= */
.main-nav a.active {
  background: rgba(0,119,182,0.15);
  color: var(--accent);
}
/* =========================
   RESPONSIVE (optional)
======================== */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
}
/* =========================
   HERO
========================= */
.hero {
  height: 650px;
  background: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.25)),
    url("/includes/pictures/BaskaVoda5.jpg") center/cover no-repeat;
  background-position: 50% 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
  background-attachment: fixed;
  margin-bottom: 50px;
}
.brand{
  font-weight: 800;
   background: linear-gradient(90deg, #CFE9FF, #A8DADC, #F6E9D7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}
.apartment-title{
  margin-bottom: 40px !important;
}
.hero p {
  font-size: 20px;
}
.hero .button {
  margin-top: 20px;
  padding: 12px 25px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.hero .button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
/* =========================
   APARTMENTS
========================= */
.apartments {
  padding: 80px 60px 60px;
  text-align: center;
}
.apartments h2 {
  margin-bottom: 40px;
}
.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}
.card {
  display: block;
  width: 300px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-8px);
}
/* IMAGE */
.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}
.card:hover .card-image img {
  transform: scale(1.1);
}
/* BADGE */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0077b6;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 20px;
}
/* TEXT */
.card-content {
  padding: 15px;
  background: #fff;
}
.card-content h3 {
  margin: 0;
  font-size: 18px;
  color: #111;
}
/* 🔥 FIXED BADGE */
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0077b6;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 999px;
}
/* =========================
   CONTACT
========================= */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
}
.contact-form button {
  padding: 12px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  background: var(--accent-dark);
}
/* =========================
   ABOUT HERO
========================= */
/* Weißer Container innen */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 5px;
  background: 
  linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
  url("/includes/pictures/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* TITEL IMMER ZENTRIERT */
.about-container h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 10px;
}
.subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 50px;
  font-size: 15px;
}
/* =========================
   OUR STORY
========================= */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about-section img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  
}
.olive{
  height: 450px;
  width: auto;
  margin-top: 20px;
}
.about-section p {
  color: #6b7280;
  line-height: 1.8;
  font-size: 15px;
}
/* =========================
  CARDS
========================= */
.cards{
   margin-bottom: 60px;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 100px;
  padding: 40px 20px;
  background: linear-gradient(
    to top,
    #dbeafe 0%,
    #eff6ff 40%,
    transparent 100%);
    border-radius: 8px;
}
.about-card {
  background: transparent;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: none;
  transition: all 0.3s ease;
}
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.about-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.about-card p {
  font-size: 14px;
  color: #6b7280;
}
/* =========================
   VALUES (MODERN ICON CARDS)
========================= */
.center-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
  background: white;
  border-radius: 20px;
}
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto 100px;
  font-size: 30px;
}
.value {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  text-align: left;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.value:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.value i {
  font-size: 28px;
  color: #0077b6;
  margin-bottom: 12px;
}
.value h4 {
  margin-bottom: 8px;
}
.value p {
  font-size: 14px;
  color: #6b7280;
}
/* =========================
   LOCATION SECTION CLEAN
========================= */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.location h2 {
  text-align: left;
}
.location i {
  color: #0077b6;
  margin-right: 8px;
}
.location img {
  border-radius: 20px;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .about-section,
  .location {
    grid-template-columns: 1fr;
  }
  .about-cards,
  .values {
    grid-template-columns: 1fr;
  }
  .location h2 {
    text-align: center;
  }
}
/* =========================
   FOOTER 4 COLUMNS
========================= */
.site-footer {
  background: #f5f9ff;
  padding: 60px 20px 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 40px;
}
.footer-col h3 {
  margin-bottom: 10px;
}
.footer-col h4{
  margin-bottom: 10px;
  font-size: 16px;
  color: #005f8a;
}
.footer-col p {
  color: #6b7280;
  font-size: 14px;
  margin: 4px 0;
}
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #9ca3af;
}
.footer-bg{
  color: #005f8a;
}
.footer-col a {
  color: inherit;
  text-decoration: none;
}
/* =========================
   APARTMENTS HEADER
========================= */
.apartments-header {
  text-align: center;
  padding: 60px 20px 40px;
  /* Hintergrundbild */
   background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url("/includes/pictures/BaskaVoda4.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  background-position: 50% 225%;
  background-attachment: fixed;
}
/* Overlay für bessere Lesbarkeit */
.apartments-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
/* Text über Overlay */
.apartments-header h1,
.apartments-header p {
  position: relative;
  z-index: 2;
}
.apartments-header h1 {
  font-size: 40px;
  margin-bottom: 10px;
}
.apartments-header p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  margin-top: 20px;
}
/* =========================
   APARTMENTS SECTION
========================= */
.apartments {
  padding: 60px 40px;
  background: white;
}
/* GRID */
.apartment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 10vh;
}
/* =========================
   CARD DESIGN
========================= */
.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
/* Hover Effekt */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
/* Bild */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
/* Titel */
.card h3 {
  font-size: 20px;
  padding: 15px 15px 5px;
  color: #0f172a;
}
/* Text */
.card p {
  padding: 0 15px 15px;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}
/* =========================
   FEATURES (optional)
========================= */
.features {
   list-style: none;
  padding: 0 15px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
}
.features li {
  background: #e6f4fa;
  color: #0077b6;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 20px;
}
/* =========================
   BUTTON
========================= */
.card .btn {
  display: block;
  margin: 10px 15px 20px;
  padding: 12px;
  text-align: center;
  background: #0077b6;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}
.card .btn:hover {
  background: #005f8a;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .apartments {
    padding: 40px 20px;
  }
  .apartments-header h1 {
    font-size: 28px;
  }
  .card img {
    height: 180px;
  }
}
/* =========================
   CONTACT SECTION
========================= */
.contact {
    background: #f6f6f6;
}
/* =========================
   CONTAINER (FORM BEREICH)
========================= */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    padding: 60px 30px;
    text-align: center;
    background: #ffffff
}
.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #374151;
}
.contact-section p {
    color: #777;
    margin-bottom: 40px;
}
/* =========================
   FORM
========================= */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}
.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0077b6;
}
/* BUTTON */
.contact-form button {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #0077b6;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}
.contact-form button:hover {
    background: #005f8a;
}
/* =========================
   MAP (WICHTIGER TEIL)
========================= */
.map-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
/* iframe sauber skalieren */
.map-container iframe {
    width: 100%;
    height: 500px;
    overflow: hidden;
}
/* =========================
   APARTMENT DETAIL PAGE
========================= */
.apartment-detail {
  padding: 80px 20px;
  background: #f6f6f6;
}
/* Container */
.apartment-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
/* Image */
.apartment-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
/* Text */
.apartment-info h1 {
  margin-top: 0;
  font-size: 32px;
  color: #0f172a;
}
.price {
  font-size: 20px;
  color: #0077b6;
  font-weight: bold;
  margin: 10px 0;
}
.description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
}
/* Features */
.features2 {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.features2 li {
  background: #e6f4fa;
  color: #0077b6;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}
/* Button */
.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #0077b6;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}
.btn:hover {
  background: #005f8a;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .apartment-container {
    grid-template-columns: 1fr;
  }
  .apartment-info h1 {
    font-size: 26px;
  }
}
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 640px;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f1f5f9;
  padding: 20px 22px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 9999;
  animation: fadeInUp 0.4s ease;
}
.cookie-banner p {
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.5;
}
/* Buttons */
.cookie-banner button {
  margin: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
/* Accept Button (Primary) */
.cookie-banner button:first-of-type {
  background: #0077b6;
  color: white;
}
.cookie-banner button:first-of-type:hover {
  background: #005f8a;
  transform: translateY(-1px);
}
/* Decline Button (Secondary) */
.cookie-banner button:last-of-type {
  background: rgba(255,255,255,0.08);
  color: #f1f5f9;
}
.cookie-banner button:last-of-type:hover {
  background: rgba(255,255,255,0.15);
}
/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.gallery {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.gallery.active {
  display: flex;
}
.gallery img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
}
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
.gallery-controls {
  margin-top: 20px;
}
.gallery-controls button {
  font-size: 24px;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
}
/* =========================
   Privacy Policy sector
========================= */
.privacy-policy {
  background: #f8fafc;
  padding: 80px 20px;
}
.privacy-policy .container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.privacy-policy h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1f2937;
}
.privacy-policy h2 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 20px;
  color: #374151;
}
.privacy-policy p {
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 10px;
}


/*Responsive Design*/
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    background-attachment: scroll; /* wichtig für iOS! */
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }
}
html, body {
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .site-footer {
    padding: 40px 15px 20px;
  }

  .footer-col {
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {

  .about-section {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .about-section img {
    width: 100%;
    height: auto;
  }
  .olive {
    width: 100%;
    height: auto;
    margin-top: 10px;
  }
  .about-container {
    padding: 30px 15px;
  }
  .about-container h2 {
    font-size: 26px;
  }
  .about-section p {
    font-size: 14px;
    line-height: 1.6;
  }
  .about-cards {
    grid-template-columns: 1fr;
    padding: 20px 10px;
  }
  .value {
    text-align: center;
  }
}
@media (max-width: 768px) {

  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
  }

  .main-nav a {
    font-size: 14px;
    padding: 6px 8px;
  }

  .branding h3 {
    font-size: 1rem;
    text-align: center;
  }

  .branding .subtitle {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .values {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 20px;
    width: 100%;
  }
  .value {
    width: 100%;
  }
 .apartments{
  padding: 40px 15px;
  text-align: center;
}
.apartment-title{
  margin-bottom: 20px !important;
}

.cards {
  justify-content: center;
  align-items: center;
}
.about-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-section img {
    width: 100%;
    height: auto;
  }

}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #0077b6;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  transition: 0.3s;
  margin: 0 auto 12px auto;
}
