/* === CSS Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  box-sizing: border-box;
}

@font-face {
  font-family: "Main";
  src: url(assets/fonts/Dimica-Light.otf) format("opentype");
}
/* Alifinart Studio” (behance.net/alifinart) */
@font-face {
  font-family: "Secondary";
  src: url(assets/fonts/SalmaproMediumnarrow.otf) format("opentype");
}

@font-face {
  font-family: "Accessory";
  src: url(assets/fonts/Praise-Regular.ttf) format("truetype");
}

html,
body {
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

body {
  margin: 0;
  font-family: "Main";
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(120deg, #e6e4db 0%, #ceafcb 45%, #f3cfdc 100%);
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4),
    transparent 70%
  );
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(18, 18, 38, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  margin: 1rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(white 0.8px, transparent 0.8px),
    radial-gradient(white 0.6px, transparent 0.6px);
  background-size: 40px 40px, 100px 100px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.logo {
  font-family: "Main";
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  z-index: 1;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  z-index: 11;
}

/* Nav Links - Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #cd90b3;
}

.contact-button {
  padding: 0.6rem 1.2rem;
  background-color: #8fa7e3;
  color: #fff;
  border-radius: 24px;
  font-weight: bold;
  border: none;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #ffffff;
  color: #8fa7e3;
}

/* === Responsive Navbar Additions === */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    margin: 1rem;
    gap: 0.75rem;
  }

  .navbar-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.4rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-weight: bold;
  }

  .menu-toggle {
    display: block !important;
    font-size: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 11;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    color: #ffffff;
  }

  .contact-button {
    display: block;
    margin: 1rem auto;                /* centers it */
    padding: clamp(0.55rem, 2.5vw, 0.8rem) 
             clamp(1rem, 5vw, 1.4rem); /* fluid padding */
    font-size: clamp(0.8rem, 3.5vw, 0.95rem); /* scales with screen */
    border-radius: 24px;
    max-width: clamp(160px, 70%, 220px); /* keeps neat width */
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  }

}

@media screen and (max-width: 480px) {
  .contact-button {
    display: block;
    margin: 0.6rem auto;       /* centers nicely */
    padding: .85rem .85rem !important;     /* reduced padding */
    font-size: 0.8rem;         /* smaller text */
    border-radius: 18px;       /* smaller pill */
    max-width: 180px;          /* keeps it from being oversized */
    text-align: center;
    line-height: 1.1;
  }
}



/* Contact*/
.contact-wrapper {
  padding: 4rem 1.5rem;
  background-color: #f9f6fc;
}

/* HERO SECTION */
.contact-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-hero h1 {
  font-size: 2.7rem;
  font-weight: 700;
  color: #4a3d8f;
  margin-bottom: 1rem;
}

.contact-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #3a3a3a;
  line-height: 1.6;
}

/* CONTACT INFO CARDS */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.info-card {
  background: #ffffff;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(74, 61, 143, 0.08);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.info-card:hover {
  box-shadow: 0 10px 30px rgba(74, 61, 143, 0.15);
}

.info-card strong {
  font-size: 1.1rem;
  color: #4a3d8f;
  display: block;
  margin-bottom: 0.6rem;
}

.info-card p,
.info-card a {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* FORM + IMAGE SECTION */
.form-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  align-items: flex-start;
}

.form-image {
  flex: 1 1 320px;
  text-align: center;
}

.form-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.form-image p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #444;
}

/* FORM STYLING */
.contact-form {
  flex: 1 1 420px;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(74, 61, 143, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  background: #fafafa;
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8e8dcf;
  outline: none;
  background: #fff;
}

.contact-form button {
  background: #8e8dcf;
  color: #fff;
  padding: 0.9rem;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #4a3d8f;
}

/* Consent Styling */
.contact-form .consent {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  flex-wrap: wrap;
}

.contact-form .consent input[type="checkbox"] {
  transform: scale(1.1);
}

.contact-form .consent span {
  color: #4a3d8f;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.contact-form .consent span:hover {
  color: #8e8dcf;
}

/* Modal Base */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  color: #333;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: fadeInScale 0.25s ease-out;
  text-align: left;
}

.modal-content h2 {
  font-size: 1.25rem;
  color: #4a3d8f;
  margin-bottom: 0.75rem;
}

.modal-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #333;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.link-like {
  color: #4a3d8f;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.link-like:hover {
  color: #8e8dcf;
}


/* EXTRAS */
.extras {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.extra-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.extra-card h4 {
  color: #4a3d8f;
  margin-bottom: 0.8rem;
}

.extra-card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.visit-link {
  margin-top: 1rem;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: #8e8dcf;
  transition: color 0.3s ease;
}

.visit-link:hover {
  color: #4a3d8f;
}

/* MOBILE OPTIMIZATION */
@media screen and (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-info-grid,
  .extras {
    grid-template-columns: 1fr;
  }

  .form-section {
    flex-direction: column;
  }

  .contact-form {
    padding: 1.5rem;
  }
}


.site-footer {
  background: #f5f4f2;
  background: linear-gradient(to top, #f5f4f2, #f5f4f2);
  color: #462c8e;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  font-family: "Georgia", serif;
  border-top: 3px solid #cd90b3;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #462c8e;
}

.footer-left p {
  margin: 0.3rem 0;
  line-height: 1.5;
  max-width: 500px;
}

.legal-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  color: #462c8e;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #ceafcb;
  width: fit-content;
  padding-bottom: 1px;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #8e8dcf;
}
/* === Mobile Optimization === */
@media screen and (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-left h4 {
    font-size: 1rem;
  }

  .footer-left p,
  .legal-disclaimer {
    font-size: 0.8rem;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.7rem;
    margin-top: 1.5rem;
  }
}
