/* About Page Specific Styles */

.logo {
  background-image: url('../assets/new-logo.png');
}

.about-main {
  margin-top: 120px;
  padding: 40px 20px;
  min-height: calc(100vh - 120px);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Content Sections */
.about-section {
  margin-bottom: 80px;
  position: relative;
}

.about-section:last-child {
  margin-bottom: 40px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title {
  font-size: 42px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), rgba(188, 108, 37, 0.3));
  border-radius: 2px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-color) 50%,
    transparent 100%
  );
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-color);
  opacity: 0.7;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Content Layout with Image */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  background: rgba(249, 245, 235, 0.03);
  border-radius: 25px;
  padding: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(188, 108, 37, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  transition: all 0.4s ease;
}

.content-with-image:hover {
  background: rgba(249, 245, 235, 0.06);
  border-color: rgba(188, 108, 37, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Alternate layout for second section */
.content-with-image.reverse {
  grid-template-columns: 1fr 1fr;
}

.content-with-image.reverse .image-container {
  order: -1;
}

/* Image Container */
.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  background: rgba(188, 108, 37, 0.1);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(188, 108, 37, 0.2);
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(188, 108, 37, 0.1) 0%,
    rgba(188, 108, 37, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  border: 2px dashed rgba(188, 108, 37, 0.3);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  background: linear-gradient(
    135deg,
    rgba(188, 108, 37, 0.15) 0%,
    rgba(188, 108, 37, 0.08) 100%
  );
  border-color: rgba(188, 108, 37, 0.4);
}

.image-placeholder .icon {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.6;
}

.image-placeholder .text {
  line-height: 1.4;
}

/* Text Content */
.text-content {
  position: relative;
}

.content-paragraph {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-color);
  text-align: justify;
  opacity: 0.9;
  position: relative;
}

.content-paragraph:first-of-type {
  font-size: 20px;
  font-weight: 500;
  opacity: 1;
}

/* Drop Cap for first paragraph */
.content-paragraph.drop-cap::first-letter {
  float: left;
  font-size: 4.2em;
  line-height: 0.8;
  margin: 0.1em 0.15em 0.05em 0;
  color: var(--primary-color);
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Highlighted quotes or important text */
.highlight-text {
  background: linear-gradient(
    120deg,
    rgba(188, 108, 37, 0.1) 0%,
    rgba(188, 108, 37, 0.05) 100%
  );
  padding: 25px 30px;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  margin: 30px 0;
  font-style: italic;
  font-size: 20px;
  line-height: 1.7;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.highlight-text::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.3;
  line-height: 1;
}

/* Timeline or key facts section */
.key-facts {
  background: rgba(249, 245, 235, 0.05);
  border-radius: 20px;
  padding: 40px;
  margin: 40px 0;
  border: 1px solid rgba(188, 108, 37, 0.2);
}

.fact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(188, 108, 37, 0.1);
}

.fact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.fact-year {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  min-width: 120px;
  margin-right: 30px;
}

.fact-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.9;
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-color) 20%,
    var(--primary-color) 80%,
    transparent 100%
  );
  margin: 80px 0;
  position: relative;
}

.section-divider::before {
  content: '✦';
  content: '♱';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:#223633;
  color: var(--text-color);
  color: var(--primary-color);
  font-size: 36px;
  padding: 0 20px;
}

/* Hero overlay for consistency */
.hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* background: linear-gradient(
    135deg,
    var(--background-color) 0%,
    #1e2d2b 50%,
    var(--background-color) 100%
  ); */
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(188, 108, 37, 0.05) 0%,
    transparent 70%
  );
  z-index: -1;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-with-image {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .content-with-image.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .content-with-image.reverse .image-container {
    order: 0;
  }

  .section-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  /* Burger Menu Mobile Styles */
  .burger-menu {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background: linear-gradient(135deg, var(--background-color) 0%, #1e2d2b 100%);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(188, 108, 37, 0.2);
    margin: 20px 0;
  }

  .header .btn-primary {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    font-size: 20px;
    height: 45px;
    padding: 0 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  /* Location button is now hidden when mobile nav is active (controlled in base.css) */
  /* body.menu-open .header .btn-primary {
    opacity: 1;
    pointer-events: auto;
  } */

  .nav-link {
    font-size: 28px;
    text-align: center;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(188, 108, 37, 0.2);
    margin: 0;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(249, 245, 235, 0.1);
    box-shadow: none;
    border-radius: 8px;
    margin-top: 10px;
    width: 100%;
    max-height: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 15px 20px;
    font-size: 24px;
    border-bottom: 1px solid rgba(188, 108, 37, 0.1);
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }

  /* Dropdown arrow animation */
  .dropdown-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 20px;
  }

  .dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .header .nav {
    display: none;
  }

  .header .nav.active {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* About page content */
  .about-main {
    padding: 20px 15px;
  }

  .content-with-image {
    padding: 30px 25px;
    border-radius: 20px;
    gap: 30px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .content-paragraph {
    font-size: 17px;
    text-indent: 0;
    line-height: 1.7;
  }

  .content-paragraph.drop-cap::first-letter {
    font-size: 3.5em;
  }

  .image-container {
    min-height: 300px;
  }

  .image-placeholder {
    height: 300px;
  }

  .highlight-text {
    font-size: 18px;
    padding: 20px 25px;
  }

  .fact-year {
    font-size: 20px;
    min-width: 100px;
    margin-right: 20px;
  }

  .fact-description {
    font-size: 16px;
  }

  /* Footer responsive styles */
  .map {
    height: 300px;
  }

  .map-border {
    border-width: 10px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px 20px 40px;
  }

  .footer-section {
    min-height: 180px;
    padding: 25px 20px 20px;
  }

  .footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-section p {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .footer-nav {
    gap: 14px;
  }

  .footer-nav a {
    font-size: 16px;
    padding: 6px 0;
  }

  .footer-column-stacked {
    gap: 20px;
  }

  .footer-column-stacked .footer-section {
    min-height: 140px;
  }

  .footer-logo {
    width: 220px;
    height: 220px;
  }

  .social-icons {
    gap: 15px;
    margin-top: 20px;
  }

  .social-icons img {
    width: 44px;
    height: 44px;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .dropdown-arrow {
    font-size: 18px;
  }

  /* About page content */
  .content-with-image {
    padding: 25px 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .content-paragraph {
    font-size: 16px;
  }

  .image-container {
    min-height: 250px;
  }

  .image-placeholder {
    height: 250px;
    font-size: 16px;
  }

  .image-placeholder .icon {
    font-size: 36px;
  }

  /* Footer responsive styles - mobile */
  .map {
    height: 250px;
  }

  .map-border {
    border-width: 8px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 25px 15px 35px;
  }

  .footer-section {
    min-height: 150px;
    padding: 20px 15px 18px;
  }

  .footer-section h3 {
    font-size: 18px;
    margin-bottom: 18px;
    text-underline-offset: 10px;
  }

  .footer-section p {
    font-size: 15px;
    margin-bottom: 14px;
    line-height: 1.5;
  }

  .footer-nav {
    gap: 12px;
  }

  .footer-nav a {
    font-size: 15px;
    padding: 5px 0;
  }

  .footer-column-stacked {
    gap: 18px;
  }

  .footer-column-stacked .footer-section {
    min-height: 120px;
  }

  .footer-logo {
    width: 180px;
    height: 180px;
  }

  .social-icons {
    gap: 12px;
    margin-top: 18px;
    /* justify-content: center; */
  }

  .social-icons img {
    width: 50px;
    height: 50px;
    padding: 5px;
  }

  .fact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .fact-year {
    font-size: 18px;
    min-width: auto;
    margin-right: 0;
  }

  .fact-description {
    font-size: 15px;
  }
}