/* Apply Poppins as the default body font */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400; /* or 500, 600, 700, etc. */
}
/* Use Roboto (weight 600) for headings */
h1,
h2,
h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}
.navbar {
  /* 20% opaque white (80% transparent) */
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* As soon as the page is scrolled all the way to the top,
   we'll add “.scrolled” via JavaScript. This turns the navbar white. */
.navbar.scrolled {
  /* fully opaque white */
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.left-section {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
}
/* 1) Parent <li> must be position:relative (you already have this) */
.nav-links li.dropdown {
  position: relative;
}

/* 2) Style the “SERVICES” link + caret icon (unchanged) */
.nav-links li.dropdown > a.dropdown-toggle {
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
  padding-top: 45px;
  padding-bottom: 45px;
}

/* Always show a larger arrow beside “SERVICES” */
.nav-links li.dropdown > a.dropdown-toggle::after {
  content: '\25BE';               /* ▾ */
  font-size: 1rem;                /* increased from 0.6rem */
  margin-left: 4px;
  vertical-align: middle;
  color: #C33C17;

  /* Keep it slightly raised by default */
  opacity: 1;
  transform: translateY(-2px);

  /* Animate transform on hover */
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* On hover, slide the arrow into its final position and optionally change color */
.nav-links li.dropdown:hover > a.dropdown-toggle::after {
  transform: translateY(0);
  color: #136ba6;   /* if you still want the arrow to turn a darker color on hover */
}


/* 3) (Optional) Change the arrow color on hover too */
.nav-links li.dropdown:hover > a.dropdown-toggle::after {
  color: #136ba6;   /* match the darker link color on hover */
}


/* Fade arrow in on hover */
.nav-links li.dropdown:hover > a.dropdown-toggle::after {
  opacity: 1;
  transform: translateY(0);
}

/* Darker link color on hover */
.nav-links li.dropdown:hover > a.dropdown-toggle {
  color: #136ba6;
}


/* 3) Base “hidden” state for the dropdown */
.nav-links li.dropdown .dropdown-menu {
  /* ← Add position:absolute so it floats under the parent link */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  transform-origin: top center;

  visibility: hidden;
  opacity: 0;

  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px;
  width: 250px;
  border-radius: 0;
  z-index: 1000;
  margin-top: 43px;

  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out,
    visibility 0s linear 0.2s;
}

/* 4) Show & animate the dropdown when hovered or focused */
.nav-links li.dropdown:hover > .dropdown-menu,
.nav-links li.dropdown:focus-within > .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

/* 5) Divider between each item */
.nav-links li.dropdown .dropdown-menu li {
  list-style: none;
  border-bottom: 1px solid #F0F0F0;
}
.nav-links li.dropdown .dropdown-menu li:last-child {
  border-bottom: none;
}

/* 6) Links inside the submenu */
.nav-links li.dropdown .dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-links li.dropdown .dropdown-menu a:hover {
  background-color: #F9F9F9;
  color: #C33C17;
}


/*──────────────────────────────────────────────
  CAROUSEL CONTAINER (first section)
──────────────────────────────────────────────*/
.carousel-container {
  width: 100%;
  /* height: 500px;  Example height—whatever your slider needs */
  /* background: url('…') center/cover no-repeat;  Or your slider’s styling */
}

/*──────────────────────────────────────────────
  NEXT SECTION: Push content down so it’s not hidden
  behind the fixed navbar once it turns white
──────────────────────────────────────────────*/
.artworks-section {
  padding-top: 4rem; /* roughly height of the navbar + some breathing room */
  /* other styles… */
}
.burger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
  margin-left: auto;
}

.burger:hover {
  transform: scale(1.1);
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
}

.carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  max-width: 500px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide.active .slide-content {
  opacity: 1;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-content button {
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-content button:hover {
  background-color: white;
  color: #333;
}

.carousel-controls {
  position: absolute;
  bottom: 2rem;
  left: 10%;
  display: flex;
  gap: 1rem;
  z-index: 2;
}

.carousel-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.carousel-controls button:hover {
  transform: scale(1.2);
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.mobile-logo {
  display: none;
}

@media (max-width: 1216px) {
  .burger {
    display: block;
  }

  .mobile-logo {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transition: right 0.3s ease;
    transform: none;
    left: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .slide-content {
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    color: white;
    max-width: 96%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 0 0.5rem;
  }

  .slide-content h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .slide-content p {
    display: none;
  }

  .slide-content button {
    display: none;
  }

  .carousel-controls {
    position: absolute;
    bottom: 1rem;
    left: 2%;
    display: flex;
    gap: 0.8rem;
    z-index: 2;
  }

  .carousel-controls button {
    font-size: 1.1rem;
    padding: 0.3rem;
  }
}

.artworks-section {
  padding: 5rem 2rem;
  background-color: #f8f9fa;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.artworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.artwork-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 16px;
}

.artwork-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #002b5c;
  margin-bottom: 0.5rem;
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.card-button {
  margin-top: auto;
  position: relative;
  width: 100%;
  padding: 12px 20px;
  background-color: #f8f9fa;
  color: #002b5c;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  text-transform: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.card-button::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  background-color: #e53935;
  clip-path: polygon(
    50% 0%,
    /* top‐left point of red trapezoid: 30% across pseudo’s width at top */ 100%
      0%,
    /* top‐right corner of pseudo */ 100% 100%,
    /* bottom‐right corner of pseudo */ 0% 110%
      /* bottom‐left corner of pseudo */
  );
}

.card-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.4);
}

.artwork-card:hover .card-button {
  background-color: #e53935;
  color: #f8f9fa;
}
.artwork-card:hover .card-button::after {
  background-color: #000000;
}

.text-wrapper {
  flex: 1;
}

.card-content h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .artworks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .artworks-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }
}

.video-section {
  padding: 5rem 2rem;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-container {
  flex: 1;
  max-width: 600px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.divider {
  width: 2px;
  height: 400px;
  background: linear-gradient(to bottom, transparent, #333, transparent);
  margin: 0 2rem;
}

.content-container {
  flex: 1;
  max-width: 500px;
}

.content-container h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 1px;
}

.content-container h2::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #007bff, #00bfff);
  border-radius: 2px;
}

.content-container h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 55px;
  width: 20px;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
  opacity: 0.5;
}

.content-container p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature i {
  font-size: 1.5rem;
  color: #007bff;
  margin-top: 0.3rem;
}

.feature h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

@media (max-width: 992px) {
  .video-section {
    flex-direction: column;
    padding: 3rem 2rem;
  }

  .divider {
    width: 80%;
    height: 2px;
    margin: 2rem 0;
  }

  .video-container,
  .content-container {
    max-width: 100%;
  }

  .content-container {
    text-align: center;
  }

  .content-container h2 {
    display: block;
    text-align: center;
  }

  .content-container h2::before,
  .content-container h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .content-container h2::before {
    margin-left: -35px;
  }

  .content-container h2::after {
    margin-left: 15px;
  }

  .features {
    align-items: center;
  }

  .feature {
    max-width: 400px;
  }
}

@media (max-width: 576px) {
  .content-container h2 {
    font-size: 2rem;
  }

  .content-container p {
    font-size: 1rem;
  }

  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.image-section {
  padding: 5rem 2rem;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.image-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
}

.image-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
}

.image-container {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.3s ease;
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), transparent);
  z-index: 1;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.divider {
  width: 2px;
  height: 400px;
  background: linear-gradient(to bottom, transparent, #333, transparent);
  margin: 0 2rem;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 100%
  );
}

.content-container {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.content-container::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  z-index: -1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature i {
  font-size: 1.5rem;
  color: #007bff;
  margin-top: 0.3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

@media (max-width: 992px) {
  .image-section {
    flex-direction: column;
    padding: 3rem 2rem;
  }

  .divider {
    width: 80%;
    height: 2px;
    margin: 2rem 0;
  }

  .image-container,
  .content-container {
    max-width: 100%;
  }

  .content-container {
    text-align: center;
  }

  .content-container h2::before,
  .content-container h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .content-container h2::before {
    margin-left: -35px;
  }

  .content-container h2::after {
    margin-left: 15px;
  }

  .features {
    align-items: center;
  }

  .feature {
    max-width: 400px;
  }
}

@media (max-width: 576px) {
  .content-container h2 {
    font-size: 2rem;
  }

  .content-container p {
    font-size: 1rem;
  }

  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

a {
  text-decoration: none;
}

/* Footer styles */
.site-footer {
  background-color: #f1f1f1;
  color: #333;
  padding: 40px 20px 20px 20px;
  font-family: Arial, sans-serif;
  padding-left: 200px;
  padding-right: 200px;
  font-size: 12px;
}

/* Responsive padding */
@media (max-width: 1024px) {
  .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

/* List items with centered, smaller arrow */
.site-footer ul li {
  position: relative;
  padding-left: 24px; /* Space for arrow */
  margin: 12px 0;
}

.site-footer ul li::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Vertically center */
  display: inline-block;
  width: 20px;
  text-align: center;
  font-size: 12px; /* Match link size */
  color: #333;
  transition: color 0.3s;
}

/* Hover effect: arrow turns red */
.site-footer ul li:hover::before {
  color: red !important;
}

/* Footer columns */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
}

.footer-section {
  flex: 1 1 22%;
  min-width: 200px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #000;
  font-weight: bold;
}

.footer-section p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 18px;
  color: #444;
  max-width: 400px;
  hyphens: auto;
}

.footer-section ul li a {
  color: #333;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: red;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  border-top: 1px solid #bbb;
  margin-top: 20px;
  color: #555;
}

/* Responsive columns */
@media (max-width: 768px) {
  .footer-section {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .footer-section {
    flex: 1 1 100%;
  }
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 0.8;
}
