/* General Reset */
*, *::before, *::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body {
    color: #333;
    line-height: 1.5;
    background-color: #f6f7fb;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background-image: url('Pictures/background.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Parallax */
    background-attachment: fixed;

    text-align: center;
    color: white;
    height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 34px;
    color: #111;
    text-align: center;
    margin: 18px 0 12px;
    line-height: 1.1;
    letter-spacing: 0.6px;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
    background-color: rgba(34, 56, 32, 0.45);
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
}

.hero-content p {
    font-size: 1rem;
    opacity: 0.92;
    margin: 0;
}

/* General Navbar Styles */
.navbar {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    background-color: #f6f7fb;
    width: min(100%, 980px);
    margin: 0 auto;
    position: relative;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    gap: 12px;
    min-height: 64px;
}

.navbar .navbar-logo {
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar .navbar-toggler {
    display: none;
}

.navbar ul {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar ul li {
    display: inline-flex;
}

.navbar ul li a {
    color: #333;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    padding: 10px 12px;
    border-radius: 8px;
}

.navbar ul li a:hover,
.navbar-current a {
    color: #1e3a8a;
    background-color: rgba(30,58,138,0.08);
}

.navbar .navbar-toggler {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: rgba(240, 246, 255, 0.95);
    border: 1px solid rgba(14, 41, 85, 0.12);
    border-radius: 14px;
    font-size: 22px;
    color: #1b273f;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.navbar .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.95);
}

.navbar .navbar-toggler.open {
    background: rgba(28, 55, 113, 0.14);
    color: #1b273f;
    border-color: rgba(28, 55, 113, 0.2);
}

@media (max-width: 720px) {
    .hero {
        background-attachment: scroll;
    }
    .navbar {
        padding: 0 16px;
        flex-direction: column;
        align-items: center;
    }
    .navbar ul {
        position: relative;
        width: 100%;
        background: rgba(248, 250, 255, 0.98);
        flex-direction: column;
        align-items: center;
        display: none;
        gap: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        padding: 0 10px;
    }
    .navbar .navbar-toggler {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 8px auto;
    }
    .navbar ul li {
        width: auto;
    }
    .navbar ul li a {
        width: auto;
        text-align: center;
        padding: 14px 18px;
    }
    .navbar .navbar-toggler {
        display: flex;
    }
    .navbar-menu.show {
        display: flex;
    }

    .pictures-section {
        flex-direction: column;
        gap: 18px;
        overflow-x: visible;
        padding: 0 12px;
    }

    .picture-item-right,
    .picture-item-left {
        min-width: auto;
        width: 100%;
    }
}
/* Main Content */
.content {
    text-align: center;
    padding: 28px 20px 40px;
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 10px;
}

.intro p {
    font-size: 1.1rem;
    color: #555;
}

.contact-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    max-width: 780px;
    margin: 0 auto 40px;
    padding: 32px;
}

.contact-card form {
    display: grid;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1f2a49;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    background: #fbfcff;
    padding: 16px 18px;
    font-size: 1rem;
    color: #202840;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
}

.contact-card textarea {
    min-height: 170px;
    resize: vertical;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.22);
}

/* 3 Pictures Section */
.pictures-section {
    width: min(100%, 960px);
    margin: 0 auto 32px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
}

.picture-item {
    background: #fbfcff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.picture-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.picture-item-right,
.picture-item-left {
    background: #fbfcff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    max-width: 100%;
}

.picture-item-right:hover,
.picture-item-left:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(15,23,42,0.12);
}

.picture-link {
    display:block;
    color:inherit;
    text-decoration:none;
}

.image-wrap {
    position:relative;
    height:360px;
    overflow:hidden;
}

.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.parallax-inner {
    height:100%;
    transition: transform 0.18s linear;
}

.parallax-img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition: transform 0.4s ease;
}

.picture-item:hover .parallax-img {
    transform: scale(1.03);
}

.image-overlay {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:12px 14px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
    color:#fff;
}

.image-overlay h3 {
    margin:0;
    font-size:1.15rem;
}

.text-content {
    padding:14px 14px 18px;
    text-align:left;
}

.text-content p {
    margin:0;
    color:#555;
    font-size:0.96rem;
}

/* Alternating Layout for Picture Items */
.pictures-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
}

.picture-item-right,
.picture-item-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.picture-item-right {
    grid-template-columns: 1fr 1fr;
}

.picture-item-right .picture-link {
    display: contents;
}

.picture-item-right .image-wrap {
    order: 2;
}

.picture-item-right .text-content {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.picture-item-left {
    grid-template-columns: 1fr 1fr;
}

.picture-item-left .picture-link {
    display: contents;
}

.picture-item-left .image-wrap {
    order: 1;
}

.picture-item-left .text-content {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 900px) {
    .pictures-section {
        flex-direction: column;
        gap: 18px;
        padding: 0 16px;
    }
    .picture-item-right,
    .picture-item-left {
        width: 100%;
        min-width: auto;
        max-width: none;
        grid-template-columns: 1fr;
    }
    .picture-item-right .image-wrap,
    .picture-item-left .image-wrap {
        order: 0;
    }
    .picture-item-right .text-content,
    .picture-item-left .text-content {
        order: 0;
    }
    .image-wrap {
        height: 220px;
    }
    .slide-item img { height: 220px; }
    .image-overlay h3 {
        font-size: 1rem;
    }
}
/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
}

.details-section {
    max-width: 760px;
    margin: 24px auto 8px;
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.details-section .temp-text p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.floor-plan {
    margin: 8px 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floor-plan h2 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    color: #111;
    text-align: center;
}

.floor-plan img,
.floor-plan-placeholder {
    width: auto;
    max-width: 760px;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
}

.floor-plan {
    overflow: visible;
}

.floor-plan img {
    width: auto;
    max-width: 60%;
    max-height: 80vh;
    height: auto;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transform: rotate(90deg);
    transform-origin: center center;
    object-fit: contain;
}

.floor-plan-placeholder {
    padding: 24px;
    background: #f4f5f8;
    border: 1px solid #e3e6eb;
    color: #666;
    text-align: center;
}

/* Slider */
.slider-container {
    position: relative;
    width: min(100%, 820px);
    margin: 24px auto;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
    padding: 18px;
    box-sizing: border-box;
}

.slider-images {
    display: flex;
    gap: 20px;
    transition: transform 0.45s ease;
    box-sizing: border-box;
    align-items: center;
}

.slide-item {
    flex: 0 0 60%;
    width: 60%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    min-height: auto;
    overflow: hidden;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;

    object-position: center center;
}

.slide-item .image-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  border-radius: 0 0 12px 12px;
}

.slide-item .image-overlay h3 {
  margin: 0;
  font-size: 1.15rem;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.35);
  color: white;
  font-size: 20px;
  padding: 10px 12px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transform: translateY(-50%);
}

.prev { left: 14px; }
.next { right: 14px; }

.map {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.map iframe {
    width: min(100%, 900px);
    height: 420px;
    border: 0;
    border-radius: 14px;
}

@media (max-width: 820px) {
    
    .slider-container { width: 100%; padding: 10px; }
    .slide-item { flex: 0 0 100%; width: 100%; }
    .map iframe { width: 95%; height: 280px; }
}
