/* ================= HERO VIDEO – GALLERY PAGE ================= */

.gallery-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* VIDEO BACKGROUND */
.things-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* FULL SCREEN pa hapësira */
  z-index: 1;
}

/* DARK OVERLAY */
.gallery-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* CONTENT OVER VIDEO */
.gallery-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
}

.gallery-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 68px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gallery-hero-content p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .gallery-hero-content h1 {
    font-size: 42px;
  }

  .gallery-hero-content p {
    font-size: 16px;
  }
}

.apartment-section {
    padding: 100px 0;
}

.apartment-wrapper {
    margin-bottom: 120px;
}

.apartment-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    font-family: 'Playfair Display', serif;
}




.apartments-accordion {
    padding: 100px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 25px 0;
}

.accordion-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin: 0;
}

.accordion-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.accordion-item.active .accordion-content {
    max-height: 9999px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg); /* + bëhet X */
}


.category {
    margin-bottom: 60px;
}

.category h3 {
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
}





.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

@media(max-width: 1200px){
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 900px){
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px){
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ========= LIGHTBOX ========= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    user-select: none;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    body > .language-switcher {
        display: none;
    }

    .gallery-hero {
        min-height: 100svh;
        padding: 96px 20px 32px;
        align-items: center;
        justify-content: center;
    }

    .gallery-video-overlay {
        background: linear-gradient(180deg, rgba(8, 12, 16, 0.14) 0%, rgba(8, 12, 16, 0.58) 58%, rgba(8, 12, 16, 0.88) 100%);
    }

    .gallery-hero-content {
        max-width: 520px;
        width: 100%;
        padding: 0;
        border-radius: 0;
        background: none;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        text-align: center;
    }

    .gallery-hero-content h1 {
        max-width: 100%;
        font-size: 40px;
        line-height: 1.04;
        margin-bottom: 14px;
    }

    .gallery-hero-content p {
        max-width: 28ch;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.72;
    }

    .apartments-accordion {
        padding: 28px 16px 88px;
    }

    .accordion-item {
        margin-bottom: 18px;
        padding: 0 18px;
        border: 1px solid rgba(31, 25, 20, 0.08);
        border-radius: 28px;
        background: #fffdf9;
        box-shadow: 0 20px 42px rgba(58, 42, 28, 0.1);
        overflow: hidden;
    }

    .accordion-header {
        padding: 22px 0;
    }

    .accordion-header h2 {
        max-width: 230px;
        font-size: 26px;
        line-height: 1.12;
    }

    .accordion-icon {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #f1e7da;
    }

    .accordion-content {
        padding: 0 0 6px;
    }

    .category {
        margin-bottom: 28px;
    }

    .category h3 {
        margin-bottom: 14px;
        font-size: 18px;
        letter-spacing: 0.8px;
        text-align: left;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-grid img {
        height: 150px;
        border-radius: 18px;
    }

    .lightbox-close {
        top: 18px;
        right: 22px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 36px;
        padding: 14px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 220px;
    }
}

/* ================= CONTACT SECTION - GALLERY ================= */

.gallery-contact-section .contact-overlay {
    background: linear-gradient(180deg, rgba(244, 238, 229, 0.62) 0%, rgba(244, 238, 229, 0.82) 100%);
}

.gallery-contact-wrapper {
    padding: 80px 24px;
}

.gallery-contact-form {
    max-width: 680px;
    width: 100%;
    padding: 38px;
    border-radius: 24px;
    background: rgba(255, 249, 241, 0.94);
    border: 1px solid rgba(54, 40, 27, 0.12);
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.gallery-contact-kicker {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #645648;
}

.gallery-contact-form h3 {
    margin-bottom: 14px;
    font-size: clamp(34px, 5vw, 48px);
    color: #181410;
}

.gallery-contact-subtitle {
    max-width: 46ch;
    margin: 0 auto 22px;
    font-size: 15px;
    line-height: 1.8;
    color: #2b241d;
}

.gallery-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 24px;
}

.gallery-contact-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(54, 40, 27, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: #181410;
    text-decoration: none;
    font-size: 13px;
}

.gallery-contact-links a:hover {
    background: rgba(255, 255, 255, 0.95);
}

.gallery-contact-form input,
.gallery-contact-form textarea,
.gallery-contact-form input::placeholder,
.gallery-contact-form textarea::placeholder,
.gallery-contact-form button,
.gallery-contact-form button span {
    color: #181410;
}

.gallery-contact-form input,
.gallery-contact-form textarea {
    border-color: rgba(54, 40, 27, 0.16);
    background: rgba(255, 255, 255, 0.92);
}

.gallery-contact-form button {
    background: #f3ece3;
    border: 1px solid rgba(54, 40, 27, 0.14);
}

.gallery-contact-form button:hover {
    background: #eadfce;
}

@media (max-width: 768px) {
    .gallery-contact-wrapper {
        padding: 54px 20px;
    }

    .gallery-contact-form {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .gallery-contact-form h3 {
        font-size: 34px;
    }

    .gallery-contact-subtitle {
        font-size: 14px;
        line-height: 1.7;
    }

    .gallery-contact-links {
        flex-direction: column;
    }

    .gallery-contact-links a {
        justify-content: center;
    }
}

/* ===============================
   CONTACT SECTION - TRANSPARENT
================================ */

.gallery-contact-section .contact-overlay {
    background: linear-gradient(180deg, rgba(7, 11, 15, 0.54) 0%, rgba(7, 11, 15, 0.72) 100%) !important;
}

.gallery-contact-form {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.gallery-contact-kicker,
.gallery-contact-form h3,
.gallery-contact-subtitle,
.gallery-contact-links a,
.gallery-contact-form input,
.gallery-contact-form textarea,
.gallery-contact-form input::placeholder,
.gallery-contact-form textarea::placeholder {
    color: #ffffff !important;
}

.gallery-contact-links a {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.gallery-contact-links a:hover {
    background: rgba(255, 255, 255, 0.14) !important;
}

.gallery-contact-form input,
.gallery-contact-form textarea {
    border-color: rgba(255, 255, 255, 0.24) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.gallery-contact-form button {
    background: #ffffff !important;
    color: #181410 !important;
    border: 0 !important;
}

.gallery-contact-form button span {
    color: #181410 !important;
}
