/* HEILUMI - Global Styles */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

/* CSS Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #FFFFFF;
  --black: #000000;
  --gray: #666666;
  --light-gray: #e0e0e0;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
}

p {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--gray);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--black);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 48px;
}

.nav-menu li a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--black);
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.wide-container {
  max-width: 100%;
  padding: 0;
}

/* Section Spacing */
.section {
  padding: 120px 0;
}

.section-small {
  padding: 80px 0;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 160px 60px 120px;
}

.hero h1 {
  margin-bottom: 32px;
  animation: fadeInUp 1s ease-out;
}

.hero .subtitle {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--light-gray);
  margin: 80px auto;
  max-width: 1200px;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 60px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Card Styles */
.card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

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

.card-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.card:hover .card-image {
  filter: grayscale(80%);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 14px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Card Social Links */
.card-social {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  align-items: center;
}

.card-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.card-social a i {
  font-size: 15px;
  color: var(--black);
}

.card-social a:hover {
  opacity: 0.5;
}

/* Service Cards */
.service-card {
  padding: 40px;
  border: 1px solid var(--light-gray);
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: var(--black);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid var(--black);
  background-color: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--black);
  color: var(--white);
  opacity: 1;
}

.btn-link {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  display: inline-block;
}

/* Footer */
.footer {
  border-top: 1px solid var(--light-gray);
  padding: 80px 60px 40px;
  margin-top: 120px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}

/* Section Title */
.section-title {
  font-size: clamp(40px, 6vw, 64px);
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--gray);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  line-height: 1.8;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 600px;
  margin: 80px 0;
  border: 1px solid var(--light-gray);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(70%);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  filter: grayscale(100%);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
}

/* Login Modal */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-card {
  background-color: var(--white);
  border: 2px solid var(--black);
  padding: 60px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.login-card h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.login-card .subtitle {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--light-gray);
  font-family: var(--font-sans);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
}

.error-message {
  color: #d00;
  font-size: 14px;
  margin-top: 16px;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 40px;
}

/* Progress Bars */
.progress-section {
  margin-top: 80px;
}

.progress-item {
  margin-bottom: 40px;
}

.progress-item h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--black);
  animation: progress 2s ease-out;
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 16px;
  margin-top: 40px;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-info p {
  font-size: 16px;
  line-height: 2;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.social-links a {
  font-size: 24px;
}

/* Detail Page */
.detail-hero {
  padding-top: 140px;
  margin-bottom: 60px;
}

.back-link {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  display: inline-block;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  margin-bottom: 100px;
}

.detail-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(100%);
}

.detail-info h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}

.detail-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  margin-bottom: 24px;
}

.detail-links {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.detail-links a {
  font-size: 24px;
}

.detail-divider {
  height: 1px;
  background-color: var(--light-gray);
  margin: 40px 0;
}

.detail-bio {
  font-size: 17px;
  line-height: 2;
  color: var(--gray);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progress {
  from {
    width: 0;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .navbar {
    padding: 20px 40px;
  }
  
  .container {
    padding: 0 40px;
  }
  
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container,
  .detail-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 24px;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    border-top: 1px solid var(--light-gray);
  }
  
  .nav-menu li a {
    display: block;
    padding: 20px 24px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .container {
    padding: 0 24px;
  }
  
  .hero {
    padding: 120px 24px 80px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .map-container {
    height: 400px;
  }
  
  .login-card {
    padding: 40px 24px;
  }
  
  .footer {
    padding: 60px 24px 32px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}