/* Reset & base */
* { box-sizing: border-box; margin:0; padding:0; }
@font-face {
  font-family: 'Inter-Variable';
  src: url('Fonts/Inter-VariableFont_opsz\,wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body { font-family: 'Inter-Variable'; background:#ffffff; color:#333340; line-height:1.6; font-size: 1rem; }

/* Navbar */
.navbar { display:flex; justify-content:space-between; align-items:center; padding:1rem 2rem; position:fixed; width:100%; background:rgba(255,255,255,0.9); box-shadow:0 2px 5px rgba(0,0,0,0.1); z-index:100; }
.logo { font-size:1.5rem; font-weight:bold; }
.nav-links { list-style:none; display:flex; gap:2rem; font-size: 1.35rem;}
.nav-links a { text-decoration:none; color:#333; padding:0.5rem; transition:color 0.3s; }
.nav-links a:hover{ color:#cca15a; }

/* Hero */
.hero { 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  background: url('images/header_image.png') center/cover no-repeat; 
  position: relative; 
  height: 100vh;
}
.hero::after { 
  content: ' '; 
  position: absolute; 
  inset: 0; 
  background: rgba(0,0,0,0.1); 
}
.hero h1, .hero p, .hero-btn { 
  position: relative; 
  color: #f6f3f0; 
  opacity: 100; 
  transform: translateY(20px); 
  animation: fadeInUp 1s forwards; 
  letter-spacing: 0.08em;
}
.hero h1 { animation-delay:0.3s; font-size:3rem; }
.hero p { animation-delay:0.6s; font-size:1.2rem; margin:1rem 0; }
.hero-btn { animation-delay:0.9s; padding:0.8rem 1.5rem; border:none; background:#d2691e; color:#fff; font-size:1rem; cursor:pointer; transition:background 0.3s; }
.hero-btn:hover{ background:#af4f20; }

/* Animations */
@keyframes fadeInUp {
  to { opacity:1; transform:translateY(0); }
}

/* Content Sections */
.content-section { padding:4rem 2rem; max-width:960px; margin:0 auto; }
h2 { font-size:2rem; color:#ab874e; margin-bottom:1.5rem; }
.content p { margin-bottom:2rem; }

.card-title {
  font-size: 1.5rem;
  align-content: center;
}

.card-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem; 
}

.card { 
  background: #201e1c; 
  border-radius: 8px; 
  box-shadow: 3px 3px 3px 3px rgba(25, 24, 21, 0.1); 
  overflow: hidden;
  transition: transform 0.3s, background 0.3s; 
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  display: block;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.card-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
}

.card:hover img {
  opacity: 0.4;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card:hover {
  transform: translateY(-5px); 
  background: #fff; 
}


/* Form */
form { display:flex; flex-direction:column; gap:1rem; }
input, textarea { padding:0.8rem; border:1px solid #ccc; border-radius:4px; width:100%; font-size: 1rem;}
button[type="submit"] { background:#cca15a; color:#fff; border:none; padding:0.8rem 1.5rem; cursor:pointer; border-radius:4px; transition:background 0.3s; font-size: 1rem;}
button[type="submit"]:hover{ background:#cca15a; }

/* Scroll fade-in */
.fade-in { opacity:0; transform:translateY(30px); transition:opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* Subpage Hero */
.subpage-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  margin-top: 9.5rem; 
  background: #f5f1ed;
  padding: 4rem 2rem;
}
.subpage-hero h1 {
  font-size: 2.5rem;
  color: #464444;
  margin-bottom: 1rem;
}
.subpage-hero p {
  font-size: 1.2rem;
  color: #666;
}

/* Team Section */
.team-section {
  padding: 4rem 2rem;
  background: #fff;
}
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.team-member {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, background 0.3s;
}
.team-member:hover {
  transform: translateY(-5px);
  background: #fff;
}
.member-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.team-member h2 {
  font-size: 1.5rem;
  color: #cca15a;
  margin-bottom: 0.3rem;
}
.role {
  font-size: 1rem;
  font-weight: 600;
  color: #a0685a;
  margin-bottom: 1rem;
}
.bio {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* About Content Sections */
.about-content-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
}
.about-block {
  margin-bottom: 3rem;
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s, background 0.3s;
}
.about-block:hover {
  transform: translateY(-4px);
  background: #fff;
}
.about-block h2 {
  font-size: 1.8rem;
  color: #ab874e;
  margin-bottom: 1rem;
}
.about-block p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
  background: #fff;
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-form, .contact-info {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.contact-form h2,
.contact-info h2 {
  font-size: 1.8rem;
  color: #ab874e;;
  margin-bottom: 1.5rem;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  width: 100%;
  font-size: 1rem;
}
.contact-form button {
  background: #ab874e;
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
  font-size: 1rem;
}
.contact-form button:hover {
  background: #3e1b18;
}
.contact-info p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .content-section,
  .about-content-section,
  .team-container,
  .contact-container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .subpage-hero h1 { font-size: 2rem; }
  .card-title, .card-text, .team-member h2, .about-block h2, .contact-form h2, .contact-info h2 { font-size: 1.2rem; }
  .member-photo { width: 120px; height: 120px; }
  .card-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .team-container { grid-template-columns: 1fr 1fr; }
  .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0.7rem 1rem; }
  .logo { font-size: 1.2rem; }
  .nav-links { gap: 1rem; font-size: 1rem; }
  .hero { height: 60vh; padding-top: 15%; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.95rem; }
  .hero-btn { font-size: 0.95rem; padding: 0.6rem 1rem; }
  .content-section,
  .about-content-section,
  .team-section,
  .contact-section { padding: 2rem 1rem; }
  h2, .about-block h2, .contact-form h2, .contact-info h2 { font-size: 1.2rem; }
  .card-title, .card-text { font-size: 1rem; }
  .card-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .team-container { grid-template-columns: 1fr; }
  .member-photo { width: 90px; height: 90px; }
  .subpage-hero { margin-top: 7rem; padding: 2rem 1rem; }
  .subpage-hero h1 { font-size: 1.3rem; }
  .subpage-hero p { font-size: 1rem; }
  .contact-container { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  body { font-size: 0.95rem; }
  .navbar { padding: 0.5rem 0.5rem; }
  .logo { font-size: 1rem; }
  .nav-links { gap: 0.5rem; font-size: 0.95rem; }
  .hero { height: 45vh; padding-top: 18%; }
  .hero h1 { font-size: 1.1rem; }
  .hero p { font-size: 0.85rem; }
  .hero-btn { font-size: 0.85rem; padding: 0.5rem 0.8rem; }
  .content-section,
  .about-content-section,
  .team-section,
  .contact-section { padding: 1rem 0.5rem; }
  h2, .about-block h2, .contact-form h2, .contact-info h2 { font-size: 1rem; }
  .card-title, .card-text { font-size: 0.9rem; }
  .card-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 1rem; }
  .team-container { grid-template-columns: 1fr; gap: 1rem; }
  .member-photo { width: 60px; height: 60px; }
  .subpage-hero { margin-top: 4rem; padding: 1rem 0.5rem; }
  .subpage-hero h1 { font-size: 1rem; }
  .subpage-hero p { font-size: 0.9rem; }
  .contact-container { grid-template-columns: 1fr; gap: 1rem; }
  input, textarea, .contact-form button { font-size: 0.9rem; }
}
