/* --- Variables & Core Root --- */
:root {
  --primary: #0f172a;
  --blue: #1e40af;
  --blue-hover: #1e3a8a;
  --white: #ffffff;
  --light: #f1f5f9;
  --text-grey: #64748b;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

/* --- Navigation --- */
.navbar {
  height: 80px;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.logo span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active {
  color: var(--blue);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  background: var(--white);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.pre-title {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 25px;
}

.blue-text {
  color: var(--blue);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-grey);
  margin-bottom: 40px;
}

.image-frame {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 40px;
  overflow: hidden;
  background: var(--light);
  border: 1px solid #eee;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Hero Actions & Buttons --- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-3px);
}

.btn-secondary {
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}

/* --- Unified Card System --- */
.section {
  padding: 100px 0;
}

.bg-light {
  background: var(--light);
}

.bg-dark {
  background: var(--primary);
  color: var(--white);
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  margin-bottom: 60px;
  text-align: center;
}

.light {
  color: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  color: var(--primary);
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.card-meta {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 10px;
  display: block;
}

.icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 20px;
  display: block;
}

.phone {
  display: block;
  margin-top: 15px;
  color: var(--blue);
  font-weight: 700;
}

/* --- Contact Form --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact-methods p {
  margin-top: 20px;
  font-weight: 600;
}

.contact-methods i {
  color: var(--blue);
  margin-right: 10px;
}

.contact-form {
  background: #1e293b;
  padding: 40px;
  border-radius: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  padding: 15px;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 12px;
  color: var(--white);
  font-family: inherit;
}

textarea {
  resize: none; /* prevents user from stretching it outside */
  display: block;
  margin-bottom: 20px;
}

input, textarea {
  width: 100%;
  padding: 15px;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 12px;
  color: var(--white);
  font-family: inherit;
  box-sizing: border-box; /* ensure padding stays inside */
}

.full-width {
  width: 100%;
}

/* --- Footer --- */
.footer {
  padding: 80px 0 40px;
  background: var(--white);
  border-top: 1px solid #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 15px;
  color: var(--text-grey);
}

.footer-nav h4, .footer-contact h4 {
  font-family: 'Fraunces', serif;
  margin-bottom: 20px;
}

.footer-nav ul, .footer-contact ul {
  list-style: none;
}

.footer-nav li, .footer-contact li {
  margin-bottom: 12px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-grey);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  color: var(--text-grey);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .hero-layout, .contact-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-secondary {
    margin-left: 0;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
