@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Root color and base font setup */
:root {
  --primary-color: #3f8efc;       /* A clean bluish tone */
  --text-color: #222;             /* Not black, not white */
  --btn-bg: #2563eb;              /* Slightly deeper blue for button */
  --btn-text: #fff;               /* Button text color */
  --font: 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}

body {
    background-color: #f9fbff;
    color: var(--text-color);
}

html {scroll-behavior: smooth;}





/* Header */
header {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 10%;
    background: linear-gradient(#ffffffb3, #ffffffb3, #ffffffb3, transparent);
    transition: 0.5s ease-in-out;
}

header.activeHeader {
    position: fixed;
    padding: 20px 10%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 999;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    cursor: default;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding-bottom: 4px;
    font-family: 'Poppins' , sans-serif;
    transition: color 0.2s ease-in-out;
}

nav ul li a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.btn {
    font-family: 'Poppins' , sans-serif;
    padding: 12px 18px;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-left: 20px;
}

.btn:hover {
    background-color: #1d4ed8;
}



/* universal section */
section {
    display: flex;
    align-items: center;
    min-height: 100dvh;
}





/* home section */
.home {
    padding: 0 10%;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    background: url(images/building1.webp);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.home h1 {
    font-size: 50px;
    margin-top: 5%;
    margin-bottom: 5px;
}
.home h2 {
    font-size: 30px;
    font-weight: 400;
}
.home button {
    padding: 10px 20px;
    border: 2px solid var(--btn-bg);
    border-radius: 4px;
    font-size: 16px;
    margin-top: 40px;
    cursor: pointer;
    color: var(--btn-bg);
    font-weight: 600;
    position: relative;
    background: transparent;
    z-index: 1;
    transition: 0.4s ease-in-out;
}
.home button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--btn-bg);
    height: 0;
    width: 100%;
    z-index: -1;
    transition: 0.3s ease-in-out;
}
.home button:hover {color: #fff;}
.home button:hover::after {
    height: 100%;
}





/* about */
.about {
  padding: 60px 10%;
  background-color: #f0f6ff;
}

.about .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14%;
  justify-content: space-between;
}

.about-text {
    flex: 1 1 400px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--btn-bg);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 600px;
}

.about-text button {
    margin-top: 25px;
    padding: 14px 20px;
    border: 1px dashed transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--primary-color);
    cursor: pointer;
    border-radius: 2px;
    transition: 0.2s ease-in-out;
    box-shadow: 0 8px 10px 0 rgba(0,0,0,0.2);
}

.about-text button:hover {
    border: 1px dashed rgba(0,0,0);
    background-color: var(--btn-bg);
}

.about-images {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.about-images img {
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}






/* appartment */
.apartment {
    padding: 100px 10%;
    flex-direction: column;
    row-gap: 120px;
    background-color: #ffffff;
}

.apartment-info {
    text-align: center;
    margin-bottom: 50px;
}

.apartment-info h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.apartment-info p {
    font-size: 1.05rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.apartment-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.apartment-images {
    display: flex;
    gap: 20px;
}

.apartment-images img {
    width: 50%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Flex layout for text and features side by side */
.apartment-flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10%;
    width: 100%;
    padding: 50px 5%;
    color: #3a2d1f;
}

.apartment-text h2 {
    font-size: 2.5rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 20px;
}

.apartment-text p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
}

/* Right: Features list and buttons */
.apartment-details {
    display: flex;
    width: 50%;
    gap: 20%;
}

/* Feature list with icons */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features-list li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon styles */
.icon {
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon.floors {
    background-image: url('https://img.icons8.com/ios-filled/50/building.png');
}
.icon.space {
    background-image: url('https://img.icons8.com/ios-filled/50/expand.png');
}
.icon.bed {
    background-image: url('https://img.icons8.com/ios-filled/50/bed.png');
}
.icon.bath {
    background-image: url('https://img.icons8.com/ios-filled/50/shower.png');
}

/* Button styles */
.apartment-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary {
    background-color: var(--btn-bg);
    color: #fff;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 3px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

.btn-outline {
    border: 1.5px solid #3a2d1f;
    color: #3a2d1f;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: #3a2d1f;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1e60c4;
}

.btn-outline {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}






/* statement */
.life-statement {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 100px 20px;
    text-align: center;
    font-style: italic;
}

.life-statement blockquote {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto;
    color: #444;
    line-height: 1.6;
    border-left: 4px solid #aaa;
    padding-left: 20px;
}






/* location */
.location-section {
    background-color: #f0f6ff;
    padding: 80px 20px;
    text-align: center;
}

.location-section .container {
    width: 100%;
}

.location-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #222;
}

.location-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.location-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #444;
}

.location-card p {
    font-size: 1rem;
    color: #666;
}

.map-image img {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}






/* Architect */
.architect-section {
    background-color: #f0f6ff;
    padding: 5% 20px;
    padding-bottom: 10%;
    flex-direction: column;
    row-gap: 160px;
}

.architect-section .container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.architect-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12%;
}

.architect-img img {
    width: 520px;
    height: 420px;
    object-fit: cover;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.architect-info {
    max-width: 600px;
    text-align: left;
}

.architect-info h4 {
    color: #555;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.architect-info h2 {
    font-size: 2.5rem;
    margin: 5px 0 15px;
    color: #222;
}

.architect-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    font-style: italic;
}

.architect-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.architect-info button {
    padding: 12px 28px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.architect-info button:hover {
    background-color: #555;
}

.part-two .architect-img {order: 2;}
.part-two .architect-img img {
    height: 600px;
    width: 600px;
}
.part-two .architect-info {order: 1;}






/* quote */
.money-quote {
    min-height: auto;
    background-color: #fff;
    padding: 100px 20px;
    justify-content: center;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    flex-direction: column;
    row-gap: 50px;
}

.money-quote blockquote {
    font-size: 1.8rem;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    color: #3a3a3a;
    font-style: italic;
}

.overview-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.overview-gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.overview-gallery img:hover {
  transform: scale(1.05);
}





/* support */
.real-estate-callout {
    background-color: #f0f6ff;
    padding: 60px 20px;
    text-align: center;
    flex-direction: column;
    min-height: 40dvh;
}

.real-estate-callout h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.real-estate-callout p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.cta-button {
    padding: 12px 28px;
    font-size: 1rem;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: var(--btn-bg);
}




/* freeStyle */
.freeStyle {
    background: url(images/building3.webp);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}




/* footer */
.site-footer {
    background-color: #f0f6ff;
    color: #222;
    padding: 60px 20px 30px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
    flex: 1 1 200px;
    min-width: 250px;
}

.footer-about h3 {
    font-size: 1.8rem;
    color: var(--btn-bg);
    margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--btn-bg);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact input,
.footer-contact textarea {
    padding: 10px;
    border: none;
    border-radius: 4px;
    resize: none;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.02);
}

.footer-contact button {
    padding: 10px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-contact button:hover {
    background-color: var(--btn-bg);
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #777;
}