/* =====================================================
   AACHARYA APPLIED ART COLLEGE – FINAL CSS (OPTIMIZED)
   ===================================================== */


/* =====================================================
   GOOGLE FONTS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@400;500;600&family=Noto+Serif+Devanagari:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Marathi:wght@400;700&display=swap');


/* =====================================================
   ROOT VARIABLES
   ===================================================== */
:root {
  --primary: #000000;
  --accent: #D4AF37;
  --bg-light: #F8F8F8;
  --text-dark: #1a1a1a;
}


/* =====================================================
   RESET
   ===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif Devanagari', serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 17px;
}


/* =====================================================
   HEADER + NAVIGATION
   ===================================================== */
header {
  position: relative;
  background: var(--primary);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  padding: 12px 80px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  height: 50px;
}

nav a {
  margin-left: 26px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
  user-select: none;
}


/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: #fff;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("../images/banner.jpeg") center/cover no-repeat;
}

.hero-content {
  max-width: 820px;
}

.hero-trust {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.85;
}

.hero h1 {
  font-family: 'Tiro Devanagari Marathi', serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 22px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 19px;
  margin-bottom: 36px;
  color: #f2f2f2;
}


/* =====================================================
   PAGE HERO
   ===================================================== */
.page-hero {
  background: linear-gradient(120deg, #000 0%, #111 60%, #D4AF37 150%);
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 10px;
  color: var(--accent);
}

.page-hero p {
  font-size: 18px;
  opacity: 0.9;
}


/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  background: var(--accent);
  color: #000;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn:hover {
  background: #e0b020;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover .arrow {
  transform: translateX(6px);
}

.about-btn {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}


/* =====================================================
   SECTIONS
   ===================================================== */
section {
  padding: 50px;
}

.section-light {
  background: #fff;
}

.content-wrap {
  max-width: 900px;
  margin: auto;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  color: #111;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
}

.quote {
  margin-top: 34px;
  padding-left: 22px;
  border-left: 4px solid var(--primary);
  font-style: italic;
  font-size: 18px;
}


/* =====================================================
   DIRECTOR SECTION
   ===================================================== */
.director-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.director-photo img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary);
}

.director-name {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

.director-name span {
  font-weight: 400;
  font-size: 15px;
}


/* =====================================================
   DIVIDER
   ===================================================== */
.section-divider {
  height: 1px;
  background: rgba(0,0,0,0.12);
  margin: 0 80px;
}


/* =====================================================
   VISIT SECTION
   ===================================================== */
.visit-section {
  background: #fff;
  padding: 80px 24px;
}

.visit-wrap {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.visit-text {
  font-size: 17px;
  margin-bottom: 36px;
  color: var(--text-dark);
}

.visit-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.visit-map iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 6px;
}


/* =====================================================
   GALLERY
   ===================================================== */
.gallery-wrap {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item img:hover {
  transform: scale(1.08);
}


/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-container p,
.footer-container a {
  font-size: 15px;
}

.footer-links a {
  display: block;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-wrap {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.25);
  text-align: center;
  font-size: 14px;
}

.footer-credit-inline {
  color: rgba(255,255,255,0.6);
}

.footer-credit-inline a {
  color: #D4AF37;
  text-decoration: none;
}


/* =====================================================
   SCROLL TO TOP BUTTON
   ===================================================== */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 10px #fff;
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background: var(--accent);
  transform: translateY(-4px);
}


/* =====================================================
   RESPONSIVE (MOBILE)
   ===================================================== */
@media (max-width: 768px) {

  header {
    padding: 15px 20px;

  }

  .menu-toggle {
    display: block;
  }

  #mainNav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
    display: none;
    flex-direction: column;
  }

  #mainNav.active {
    display: flex;
  }

  #mainNav a {
    padding: 14px 0;
    text-align: center;
    color: #fff;
  }

  section {
    padding: 60px 24px;
  }

  h2 {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .director-layout {
    flex-direction: column;
    text-align: center;
  }

  .director-photo img {
    width: 140px;
    height: 140px;
  }

  .gallery-wrap {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #scrollTopBtn {
    right: 16px;
    bottom: 20px;
  }
}
