:root {
  --bg-primary: #f6f6f6;
  --bg-secondary: #ffffff;
  --text-primary: #0f0f0f;
  --text-secondary: #525252;
  --accent: #a97703;
  --accent-light: #ffe492;
  --border: #e1e1e1;
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --navbar-height: 80px;
  --navbar-height-mobile: 70px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1.5rem;
  background: rgba(246, 246, 246, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--navbar-height);
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 450;
  text-transform: uppercase;
  letter-spacing: 0px;
  background-image: linear-gradient(to right, #f4a636, #a97703 50%, #000 50%);
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.nav-links a:before {
  content: "";
  background: var(--accent);
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}

.nav-links a:hover {
  background-position: 0;
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
  background-image: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.nav-links a.active:before {
  width: 100%;
  background: var(--accent);
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  padding-top: var(--navbar-height);
  background: url(https://images.unsplash.com/photo-1637680298164-74342b63a61a?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D)
    center / cover no-repeat;
  background-attachment: fixed;
}

.hero-content {
  max-width: 1200px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
}

.hero-subtitle {
  color: var(--accent);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 700;
  color: antiquewhite;
}

.hero-description {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #f4a636;
}

.features {
  padding: 6rem 1.5rem;
  background: #ffe185;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
}

.about-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(to right, #525252, var(--bg-secondary));
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  padding-right: 2rem;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  background-image: url("Image/Modern Art Gallery Interior.jpeg");
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  background: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-image {
  width: 100%;
  height: 300px;
  background: var(--accent-light);
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.gallery-content {
  padding: 2rem;
}

.gallery-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.gallery-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin: 6rem 0 3rem;
}

.testimonials {
  padding: 6rem 1.5rem;
  background: var(--bg-secondary);
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.testimonial-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 20px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-light);
}

.author-info h4 {
  font-weight: 600;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cta-section {
  padding: 6rem 1.5rem;
  text-align: center;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-description {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.footer {
  background: #0f0f0f;
  color: var(--bg-primary);
  padding: 6rem 1.5rem 2rem;
  margin-top: 0rem;
}

.footer-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-vivid {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  text-decoration: none;
  transition: background 0.2s ease;
}

.social-link:hover {
  background: var(--accent);
}

.copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.exhibitions,
.artists-spotlight,
.workshops {
  padding: 6rem 1.5rem;
  background: linear-gradient(to right, #525252, var(--bg-secondary));
}

.exhibitions-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.artists-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

/* Fixed workshops grid layout */
.workshops-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.exhibition-card,
.artist-card,
.workshop-card {
  background: var(--bg-primary);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  width: 100%;
}

.exhibition-card:hover,
.artist-card:hover,
.workshop-card:hover {
  transform: translateY(-10px);
}

.exhibition-image {
  width: 100%;
  height: 500px;
  background: var(--accent-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.artist-image {
  width: 100%;
  height: 300px;
  background: var(--accent-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.exhibition-content,
.artist-info,
.workshop-card {
  padding: 2rem;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
}

.workshop-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.workshop-title {
  margin-bottom: 1rem;
}

.workshop-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  z-index: 1002;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 1001;
  padding: 5rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 1002;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--accent);
}

.mobile-menu-social {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar {
    height: var(--navbar-height-mobile);
    padding: 1rem;
  }

  .nav-logo {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding-top: var(--navbar-height-mobile);
    min-height: 100vh;
    height: auto;
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .gallery-grid,
  .features-grid,
  .testimonials-grid,
  .exhibitions-grid,
  .artists-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding-right: 0;
  }

  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
    margin: 3rem 0 2rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .workshop-details {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
  }

  .feature-card,
  .testimonial-card,
  .exhibition-card,
  .artist-card,
  .workshop-card {
    padding: 1.5rem;
  }
}

