/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
i
/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #2c3e50; /* dark blue */
  color: #fff;
}

.btn-primary:hover {
  background-color: #1a252f;
}

.btn-secondary {
  background-color: transparent;
  color: #2c3e50;
  border: 2px solid #2c3e50;
}

.btn-secondary:hover {
  background-color: #2c3e50;
  color: #fff;
}

/* Navigation */
.main-nav {
  background-color: #2c3e50;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav .container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav .logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.main-nav .nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav .nav-links li a {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.main-nav .nav-links li a:hover {
  color: #f39c12;
}

/* Hero Section */
.hero {
  --hero-bg-image: url('/fotografi.JPG');
  position: relative;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 200px 40px 180px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* Services Section */
.services {
  max-width: 1080px;
  margin: 50px auto;
  padding: 0 40px;
  text-align: center;
}

.services h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.services p {
  color: #555;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.service-items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.service-item {
  flex: 1 1 30%;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-item img {
  border-radius: 8px;
  margin-bottom: 15px;
  height: 200px;
  object-fit: cover;
  width: 100%;
  border: 2px solid #ccc;
  padding: 3px;
  background-color: #fff;
}

.service-item h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.service-item p {
  color: #666;
  font-size: 1rem;
}

/* About Section */
.about {
  max-width: 1080px;
  margin: 80px auto;
  padding: 0 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 50%;
}

.about-image img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-content {
  flex: 1 1 50%;
  text-align: left;
}

.about-content h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Testimonial Section */
.testimonial {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 40px;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 1;
}

.testimonial-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
}

.testimonial-content blockquote {
  margin-bottom: 15px;
}

.testimonial-content cite {
  font-weight: 700;
  font-style: normal;
  font-size: 1.1rem;
}

/* Advantages Section */
.advantages {
  max-width: 1080px;
  margin: 80px auto 100px;
  padding: 0 40px;
  text-align: center;
}

.advantages h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.advantages p {
  color: #555;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.advantage-items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.advantage-item {
  flex: 1 1 45%;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.advantage-item img {
  border-radius: 8px;
  margin-bottom: 15px;
  height: 300px;
  object-fit: cover;
  width: 100%;
}

.advantage-item h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.advantage-item p {
  color: #666;
  font-size: 1rem;
}

/* Navigation */
.main-nav {
  background-color: #2c3e50;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav .container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav .logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.main-nav .nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav .nav-links li a {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.main-nav .nav-links li a:hover {
  color: #f39c12;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-items, .advantage-items {
    flex-direction: column;
  }
  .service-item, .advantage-item {
    flex: 1 1 100%;
  }
  .about {
    flex-direction: column;
  }
  .about-content, .about-image {
    flex: 1 1 100%;
  }
  /* Navigation responsive */
  .main-nav .nav-links {
    flex-direction: column;
    display: none;
    width: 100%;
    background-color: #2c3e50;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }
  .main-nav .nav-links.active {
    display: flex;
  }
  .main-nav .nav-links li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  .main-nav .nav-links li a {
    display: block;
    padding: 10px 0;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 24px 80px 24px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .services, .about, .advantages {
    padding: 0 24px;
  }
  .btn-primary, .btn-secondary {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* Morphing blob SVG style */
.morphing-blob {
  pointer-events: none;
  user-select: none;
}

/* About page styles */

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin: 0;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
}

.story-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto 80px auto;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.story-image img {
    width: 100%;
    max-width: 526px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.story-text {
    max-width: 600px;
}

.story-text h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.story-text p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

/* Gallery Section */
.gallery-items {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-items a {
  display: inline-block;
  border: 2px solid #ccc;
  padding: 3px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-items img {
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Responsive gallery for small screens */
@media (max-width: 480px) {
  .gallery-items {
    flex-direction: row !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
.gallery-items a {
  width: 30% !important;
  max-width: 30% !important;
  margin: 0 5px 15px 5px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  color: #2c3e50 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  text-transform: uppercase !important;
  gap: 8px !important;
}

.gallery-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.gallery-item-title {
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gallery-items a h1 {
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.gallery-items img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 8px !important;
}
  /* Additional fixes for mobile layout */
  .hero-content h1, .hero-content p {
    text-align: center;
  }
  .service-item, .advantage-item {
    margin-bottom: 20px;
  }
  .story-content {
    flex-direction: column;
    align-items: center;
  }
  .story-text {
    padding-left: 0 !important;
    max-width: 100%;
  }
  .testimonial-content {
    font-size: 1.2rem;
    padding: 0 20px;
  }
  /* Ensure gallery section titles are above images */
  .gallery.container > h2 {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 15px !important;
  }
}

/* Center gallery section headings */
.gallery h2,
.gallery.container > h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  color: #555;
  font-size: 0.9rem;
}

.caption {
  text-align: center;
  margin-top: 8px;
  font-size: 1rem;
  color: #2c3e50;
}