/* EARTHA Charitable Trust - Common Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-brown: #7b5a3e;
  --primary-gold: #d4a574;
  --accent-terracotta: #c87855;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #faf9f7;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, #7b5a3e 0%, #d4a574 100%);
  --gradient-2: linear-gradient(135deg, #c87855 0%, #d4a574 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--white);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-brown);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-brown);
}

.nav-cta {
  background: var(--primary-brown);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(123, 90, 62, 0.3);
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: var(--primary-brown);
  top: 20%;
  right: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--primary-gold);
  bottom: 30%;
  left: 8%;
  animation-delay: 2s;
}

.shape-3 {
  width: 120px;
  height: 120px;
  background: var(--accent-terracotta);
  top: 50%;
  right: 15%;
  animation-delay: 4s;
}

.shape-4 {
  width: 180px;
  height: 180px;
  background: var(--primary-gold);
  bottom: 10%;
  right: 20%;
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* Common Content Sections */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* Quote Section */
.quote-section {
  background: var(--gradient-2);
  padding: 3.5rem 2.5rem;
  border-radius: 25px;
  text-align: center;
  margin-top: 4rem;
  box-shadow: 0 15px 50px rgba(200, 120, 85, 0.2);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 150px;
  color: rgba(255, 255, 255, 0.1);
  font-family: Georgia, serif;
}

.quote-section p {
  font-size: 1.3rem;
  font-style: italic;
  color: white;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.8;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  line-height: 2;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* Card Styles */
.art-card,
.achievement-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.art-card::before,
.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
}

.art-card:hover,
.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.art-card h3,
.achievement-card h3 {
  font-size: 1.6rem;
  color: var(--primary-brown);
  margin-bottom: 1rem;
  font-weight: 700;
}

.art-card p,
.achievement-card p {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
}

/* Service/Content Boxes */
.highlight-box {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 25px;
  margin-bottom: 2rem;
}

.highlight-box {
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-left: 6px solid var(--primary-gold);
}

.service-content h2,
.highlight-box h2 {
  font-size: 2rem;
  color: var(--primary-brown);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-content h3 {
  font-size: 1.8rem;
  color: var(--primary-brown);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-content p,
.highlight-box > p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.highlight-quote {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
  text-align: center;
  position: relative;
  line-height: 1.5;
  letter-spacing: 0.5px;
  background: linear-gradient(
    135deg,
    var(--primary-brown),
    var(--primary-gold)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 1rem 0;
  display: inline-block;
  width: 100%;
}

.highlight-quote::before,
.highlight-quote::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-gold),
    transparent
  );
}

.highlight-quote::before {
  top: 0;
  width: 150px;
}

.highlight-quote::after {
  bottom: 0;
  width: 150px;
}

/* Lists */
.service-list,
.credentials-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-list li,
.credentials-list li {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.service-list li:before {
  content: "✦";
  color: var(--primary-gold);
  font-size: 1.3rem;
  position: absolute;
  left: 0;
}

.credentials-list li:before {
  content: "✦";
  color: var(--primary-gold);
  font-size: 1.3rem;
  position: absolute;
  left: 0;
  top: 0;
}

/* Auto-Scrolling Gallery Section */
.gallery-section {
  padding: 2rem 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.gallery-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 2rem;
  animation: scroll-left 40s linear infinite;
  width: fit-content;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  flex: 0 0 auto;
  width: 562.5px;
  height: 375px;
  border-radius: 15px;
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #faf9f7 0%, #f5f3f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 968px) {
  .gallery-item {
    width: 280px;
    height: 350px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }

  nav a {
    font-size: 1.1rem;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
  }
}

@media (max-width: 480px) {
  .gallery-item {
    width: 250px;
    height: 300px;
  }

  .gallery-track {
    gap: 1.5rem;
  }

  /* .service-content,
  .highlight-box {
    padding: 1.5rem;
  } */

  .header-container {
    padding: 0 1rem;
  }

  .logo-title {
    font-size: 1.5rem;
  }

  .logo-tagline {
    font-size: 0.5rem;
  }

  .logo img {
    height: 40px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .quote-section {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }

  .quote-section p {
    font-size: 1.1rem;
  }

  footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-container {
    gap: 1.5rem;
  }

  .footer-brand h3 {
    font-size: 1.3rem;
  }

  .art-card,
  .achievement-card {
    padding: 1.5rem;
  }

  .art-card h3,
  .achievement-card h3 {
    font-size: 1.3rem;
  }

  .service-list li,
  .credentials-list li {
    font-size: 1rem;
    padding-left: 1.5rem;
  }
}
