/* GENERAL STYLES */
body {
  background-color: #01132d;
  font-family: "NeueMontreal", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* FONTS */
@font-face {
  font-family: "NeueMontreal";
  src: url("fonts/NeueMontreal-Medium.otf") format("opentype");
}

@font-face {
  font-family: "AppleGaramond";
  src: url("fonts/AppleGaramond-Italic.ttf") format("truetype");
}

h3 {
  font-family: AppleGaramond;
  font-size: 70px !important;
  color: #ffffff !important;
}

.text-white{
  color: #ffffff !important;
}

.text-dark{
  color: #01132d;
}

/* NAVIGATION */
header {
  background-color: rgba(1, 19, 45, 0.95);
  backdrop-filter: blur(10px);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section spacing for fixed header */
section {
  scroll-margin-top: 80px;
}

/* SECTIONS */
section {
  width: 100%;
}

.home, .projects {
  background-color: #01132d;
}

.about {
  padding: 100px 0;
}

/* PROJECT GRID */
.projects .row {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.projects .col-3 {
  padding: 10px;
}

.project-btn {
  transition: transform 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.project-btn:hover {
  transform: scale(1.05);
}

/* ACCORDION */
.about-accordion {
  margin-top: 40px;
  padding: 0;
  width: 100%;
}

.accordion-wrapper {
  width: 100%;
  display: block;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 25px;
  overflow: hidden;
  background: white;
}

.accordion-header {
  width: 100%;
  padding: 25px 30px;
  border: none;
  border-radius: 25px;
  font-size: 30px;
  font-weight: bold;
  color: #01132d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: #b7d35f;
  transition: 0.3s;
}

.accordion-header:hover {
  background-color: #a5c44d;
}

.accordion-header .arrow {
  transition: transform 0.3s ease;
}

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

.accordion-content {
  background: white;
  color: #01132d;
  border-radius: 0 0 25px 25px;
  overflow: hidden;
  max-height: 0;
  padding: 0 40px;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.accordion-content.show {
  padding: 30px 40px;
  max-height: 500px;
}

.accordion-content strong {
  color: #ef92b4;
  font-weight: 700;
}

/* SECTION COLORS */
.social-media-title,
.branding-packaging-title,
.motion-graphic-title,
.print-design-title {
  padding: 150px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-media-title {
  background-color: #b7d35f !important;
}

.social-media-content{
  background-color: #b7d35f !important;
}

.branding-packaging-title {
  background-color: #fff3ae !important;
}

.motion-graphic-title {
  background-color: #ef92b4 !important;
}

.print-design-title {
  background-color: #99cad6 !important;
}

/* Project Cards */
.project-card {
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.view-project-btn {
  transition: background-color 0.3s ease;
}

/* Popup Window Styles */
.popup-window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.popup-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.8;
}

.popup-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
}

.close-btn:hover {
  background: #f0f0f0;
}

/* Project Details Page */
.project-details {
  min-height: 100vh;
  background: #fff3ae;
  padding: 60px 20px;
  width: 100%;
  max-width: 1200px;
}

.project-hero {
  text-align: center;
  margin-bottom: 60px;
}

.project-title {
  font-size: 80px;
  font-weight: bold;
  color: #01132d;
  line-height: 1.1;
}

.project-info {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Hide class */
.hidden {
  display: none !important;
}

/* PRINT CAROUSEL STYLES */
.print-carousel-container {
  background-color: #99cad6;
}

.carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.carousel-track {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
}

/* Active dot state */
.carousel-dot.active {
  background-color: #01132d !important;
  opacity: 1 !important;
}

/* Make sure arrows are visible */
.carousel-prev, .carousel-next {
  z-index: 10;
  opacity: 0.8;
}

.carousel-prev:hover, .carousel-next:hover {
  opacity: 1;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  h3 {
    font-size: 40px !important;
  }
  
  .projects .col-3 {
    width: 50%;
    margin-bottom: 20px;
  }
  
  .accordion-header {
    font-size: 20px;
    padding: 15px 20px;
  }
  
  .carousel-prev, .carousel-next {
    display: none;
  }
  
  .carousel-track {
    padding: 0 10px;
  }
  
  .project-title {
    font-size: 50px;
  }
  
  .social-media-title,
  .branding-packaging-title,
  .motion-graphic-title,
  .print-design-title {
    padding: 80px 0;
  }
}

/* Additional responsive improvements */
@media (max-width: 480px) {
  .project-title {
    font-size: 36px;
  }
  
  .accordion-header {
    font-size: 18px;
    padding: 12px 16px;
  }
  
  .accordion-content {
    padding: 0 20px;
  }
  
  .accordion-content.show {
    padding: 20px;
  }
}