@import url("https://fonts.googleapis.com/css2?family=Georama:wght@300;400;500;600;700&display=swap");

:root {
  /* Colors */
  --primary-color: #1a1a1a;
  --secondary-color: #ffffff;
  --accent-gold: #c6a87d;
  --accent-taupe: #b5afa6;
  --bg-primary: #f8f8f6;
  --bg-secondary: #ffffff;
  --text-primary: #1a1a1a;
  --text-body: #333333;
  --text-secondary: #777777;
  --text-light: #ededed;
  --border-color: #ededed;
  --error-red: #ff1c1f;

  /* Spacing */
  --container-max-width: 1360px;
  --section-padding: 100px 40px;
  --section-padding-mobile: 60px 20px;

  /* Transitions */
  --transition-base: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  color: var(--text-body);
  background-color: var(--bg-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Utils */
.bold {
  font-weight: 700;
}
.d-none {
  display: none;
}

/* Layout */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 100%;
}

section {
  padding: var(--section-padding);
}

@media (max-width: 768px) {
  section {
    padding: var(--section-padding-mobile);
  }
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 30px 40px;
  transition: var(--transition-base);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background-color: rgba(26, 26, 26, 0.95);
  padding: 15px 40px;
  backdrop-filter: blur(10px);
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: 40px;
}

.nav-desktop a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}

.nav-desktop a:hover {
  font-weight: 600;
}

.btn-contact-header {
  border: 1px solid var(--text-light);
  color: var(--text-light);
  padding: 10px 24px;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-base);
}

.btn-contact-header:hover {
  color: var(--text-light);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #777777;
  padding: 0 40px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 80px;
  color: var(--text-light);
  margin-bottom: 24px;
  max-width: 770px;
  font-weight: 400;
}

.hero h1 span {
  font-weight: 700;
}

.hero p {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-block;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  padding: 16px 40px;
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition-base);
}

.btn-primary:hover {
  color: var(--text-light);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Video Section */
.video-section {
  padding: 60px 0 0;
}

/* Intro Section */
.intro {
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  gap: 80px;
}

.intro-content {
  flex: 1;
}

.intro-content h2 {
  font-size: 36px;
  margin-bottom: 30px;
  font-weight: 400;
}

.intro-content p {
  font-size: 24px;
  color: var(--text-secondary);
  line-height: 32px;
  margin-top: 80px;
  max-width: 500px;
}

.intro-image {
  flex: 1;
}

.intro-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Properties Slider */
.properties-pin-wrapper {
  height: 500vh;
  position: relative;
}

.properties-section {
  background-color: var(--bg-primary);
  padding: 0px 0 90px 40px;
  position: sticky;
  top: 0;
  height: calc(120vh - 85px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.properties-section .container {
  max-width: none;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.slider-controls {
  gap: 10px;
  display: flex;
  opacity: 0;
}

.slider-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.slider-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.slider-btn:hover img {
  filter: invert(1);
}

.slider-btn img {
  width: 24px;
  height: 24px;
  transition: var(--transition-base);
}

.slider-container {
  overflow: hidden;
  position: relative;
  padding-left: clamp(10px, 6.25vw, 120px);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.property-card {
  min-width: calc(100% - 200px);
  padding: 0;
}

@media (min-width: 768.1px) and (max-height: 641.99px) {
  .hero h1 {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }
  .property-card {
    min-width: 100%;
  }
}

.property-image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.property-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 8px 16px;
  font-family: "Georama", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.property-subtitle {
  position: absolute;
  bottom: 50px;
  font-size: 30px;
  color: white;
  width: 100%;
  line-height: 1.2;
  left: 50%;
  transform: translateX(-50%);
  max-width: 700px;
  padding: 5px;
  text-align: center;
}

.property-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-title {
  padding-top: 22px;
}

.property-title h3 {
  font-size: 28px;
  font-weight: 400;
}

.property-desc {
  font-size: 22px;
  color: var(--text-body);
  max-width: 950px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.property-location {
  font-size: 22px;
  color: var(--text-secondary);
}

.property-details {
  display: flex;
  gap: 80px;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.detail-item {
  flex: 1 1 20%;
}

.detail-item .detail-title {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: block;
}

.detail-item span {
  font-size: 18px;
  font-weight: 500;
}

/* Team Section */
.team-section {
  background-color: var(--accent-taupe);
  text-align: center;
  color: var(--text-primary);
}

.team-section .popup path ~ a {
  display: none;
}

.team-section .popup path.active ~ a {
  display: block;
}

.team-logo {
  margin-bottom: 60px;
}

.team-logo img {
  height: 80px;
}

.team-photo-box {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 60px;
  position: relative;
  overflow: hidden;
  max-height: 560px;
}

.team-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
  text-align: left;
  max-width: 1000px;
  margin: 80px auto 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item .icon img {
  width: 40px;
}

.feature-item h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 18px;
}

/* Swissroc Group */
.group-section {
  background-color: var(--bg-secondary);
  display: flex;
  gap: 80px;
  align-items: center;
}

.group-image {
  flex: 1;
}

.group-image img {
  width: 100%;
}

.group-content {
  flex: 1;
}

.group-content h2 {
  font-size: 48px;
  margin-bottom: 40px;
}

.group-content p {
  font-size: 18px;
  margin-bottom: 40px;
}

.more-info,
.less-info {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--text-primary);
}

/* Contact Section */
.contact-header img {
  width: 100%;
  object-fit: cover;
  height: auto;
}

.contact-section {
  background-color: var(--bg-primary);
}

.contact-section .container {
  display: flex;
  gap: 120px;
}

.contact-left {
  flex: 1;
}

.contact-left p {
  font-size: 24px;
  margin-bottom: 40px;
}

.contact-info-box {
  background: white;
  padding: 40px;
}

.contact-info-title {
  margin-bottom: 20px;
  color: var(--text-body);
  text-decoration: none;
  font-family: "Georama", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin-left: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--text-body);
  text-decoration: none;
  font-family: "Georama", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-right {
  flex: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.form-group {
  border-bottom: 1px solid var(--accent-gold);
  padding-bottom: 10px;
}

.form-group:has(input:user-invalid) {
  border-bottom-color: var(--error-red);
}

.form-group.form-checkboxes {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  border: none;
}
.form-group.form-checkboxes input {
  width: auto;
  accent-color: var(--primary-color);
  border: 1px solid var(--accent-gold);
}
.form-group.form-checkboxes input:checked {
  background-color: var(--primary-color);
}

.form-group.form-checkboxes:has(input:user-invalid) {
  border-bottom: 1px solid var(--accent-gold);
  border-bottom-color: var(--error-red);
}
.form-group.form-checkboxes label {
  font-size: 14px;
  margin-bottom: 0;
}
.form-group label {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 18px;
  outline: none;
}

.form-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  border: 1px solid var(--accent-gold);
  background: transparent;
  color: var(--accent-gold);
  padding: 16px 48px;
  font-size: 24px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-submit:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Footer */
.footer-header {
  display: flex;
}

.footer-header img {
  width: 100%;
  object-fit: cover;
  height: auto;
}

footer {
  background-color: var(--accent-taupe);
  padding: 60px 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-logos img {
  width: 215px;
  height: auto;
}

.footer-info {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-bottom {
  margin-top: 40px;
  color: var(--text-body);
  font-size: 14px;
}

footer .contact-method {
  margin-bottom: 0;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.menu-toggle span {
  width: 27px;
  height: 3px;
  background-color: #d9d9d9;
  transition: var(--transition-base);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #1a1a1a;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 0;
  padding-left: 15px;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 15px;
  background-color: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 2001;
}

.mobile-menu-header .logo img {
  height: 50px;
  width: auto;
}

.close-menu {
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-menu img {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 80px;
  padding: 0 55px;
}

.mobile-nav a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition-base);
}

.mobile-nav a:hover {
  color: var(--accent-gold);
}

.mobile-nav .contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Georama", sans-serif;
  font-size: 18px;
  color: #ededed;
  margin-bottom: 0;
}

.mobile-nav .contact-method img {
  width: 20px;
  height: auto;
  filter: brightness(0) invert(1);
}

.swiper-slide {
  width: calc(100% - 120px);
}

.swiper-slide-active .slider-controls {
  opacity: 1;
}

/* Loader */
.loader:before {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}
.loader {
  position: relative;
}
.loader:before {
  background-color: rgba(0, 0, 0, 0);
  z-index: 5;
}
.loader:after {
  animation: spin 1s linear infinite;
  border: 0.5rem solid var(--color-primary);
  border-top: 0.5rem solid white;
  border-radius: 50%;
  content: "";
  margin-left: -1.5rem;
  margin-top: -1.5rem;
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transition:
    opacity var(--transition-duration),
    visibility 0s linear var(--transition-duration);
  visibility: hidden;
  z-index: 6;
  height: 3rem;
  width: 3rem;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader.load {
  opacity: 0.5;
}
.loader.load:before {
  content: "";
}
.loader.load:after,
.loader.load .loader-msg {
  opacity: 0.8;
  transition:
    opacity var(--time),
    visibility var(--time) linear 0s;
  visibility: visible;
}

/* Modal */
.iziModal {
  z-index: 9998 !important;
}
.iziModal-overlay {
  z-index: 9997 !important;
}

.modal {
  padding: 5rem;
  text-align: center;
  width: 100%;
  max-width: 60rem;
  position: relative;
}
@media screen and (max-width: 575px) {
  .modal {
    padding: 3rem 2rem;
  }
}
.modal-title {
  font-size: 6rem;
  letter-spacing: 0.2rem;
  margin-bottom: 2rem;
}
@media screen and (max-width: 575px) {
  .modal-title {
    font-size: 3.5rem;
  }
}
.modal-subtitle {
  font-size: 2.6rem;
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.modal-text {
  font-size: 2rem;
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
}
@media screen and (max-width: 575px) {
  .modal-subtitle {
    font-size: 1.8rem;
  }
  .modal-text {
    font-size: 1.6rem;
  }
}
.modal-close {
  position: absolute;
  background-color: transparent;
  top: 2rem;
  right: 2rem;
  padding: 0;
  width: 2rem;
  transition: all 0.2s linear;
  border: none;
  outline: none;
  cursor: pointer;
}

.modal-close i {
  display: block;
  background-color: #000;
  width: 100%;
  height: 0.2rem;
  margin: 0.1rem 0;
  transition: all 0.2s linear;
}
.modal-close i:first-child {
  transform: rotate(45deg);
}
.modal-close i:last-child {
  transform: rotate(-45deg);
  margin-top: -0.3rem;
}

#modal-property-contact .modal-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}
#modal-property-contact .modal-subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
}
#modal-property-contact .form-grid {
  gap: 20px;
  margin-bottom: 20px;
}
#modal-property-contact .form-group {
  text-align: left;
}

@media (max-height: 850px) and (min-width: 1024px) {
  .properties-section {
    top: 50px;
  }
  .property-image {
    height: 400px;
  }
  .property-subtitle {
    font-size: 24px;
  }
}

@media (max-height: 800px) and (orientation: portrait) {
  .mobile-nav {
    margin-top: 30px;
    gap: 30px;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .mobile-nav {
    margin-top: 30px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .intro,
  .group-section,
  .contact-section .container {
    flex-direction: column;
    gap: 40px;
  }
  header .header-actions {
    display: none;
  }
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .slider-container {
    padding: 0;
  }
  .swiper-slide {
    width: 100%;
  }
  .properties-section {
    padding: 0px 40px 90px 40px;
  }
  .property-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }

  .team-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-item {
    padding-right: 55px;
  }
  .properties-section {
    padding: 0px 20px 90px;
    height: calc(140vh - 85px);
  }
  .property-details {
    flex-wrap: wrap;
    gap: 30px;
  }
  .detail-item {
    flex: calc(50% - 40px);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 40px 20px;
  }
  .footer-content {
    flex-direction: column;
    gap: 40px;
    text-align: left;
  }
  .footer-right {
    text-align: left;
  }
  .footer-info {
    flex-direction: column;
    gap: 20px;
  }
  .contact-header img {
    height: 320px;
  }

  .footer-header img {
    height: 320px;
  }
  .footer-logos {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .footer-info {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .properties-section {
    padding: 0px 20px 30px;
    height: calc(120vh - 85px);
  }
  .property-image {
    height: 450px;
  }
  .property-main {
    align-items: flex-start;
  }
  .property-tag {
    font-size: 18px;
    font-weight: 400;
    left: 50%;
    transform: translateX(-50%);
    min-width: 223px;
  }
  .property-subtitle {
    font-size: 22px;
  }
  .property-title h3 {
    font-size: 24px;
  }
  .detail-item span {
    font-size: 16px;
    line-height: 1.2;
  }
  .property-desc {
    font-size: 18px;
  }
  .property-location {
    padding-bottom: 0px;
  }
  .property-details {
    padding-top: 16px;
    gap: 16px 80px;
  }
  .slider-btn {
    width: 48px;
    height: 48px;
    margin-top: 20px;
  }
  .team-photo-box {
    display: flex;
    flex-direction: column;
  }

  .feature-item p {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
  }

  .group-image {
    order: 2;
  }

  .group-content h2 {
    font-weight: 400;
    line-height: 65px;
  }

  .group-content p {
    font-size: 24px;
    font-weight: 400;
    line-height: 42px;
  }

  .footer-logos {
    gap: 10px;
  }
  .footer-logos img {
    max-width: 150px;
  }
}

@media (max-width: 400px) {
}
