/* CSS Variables */
:root {
  --primary: #111111;
  --secondary: #ffd700;
  --bg: #f9fafb;
  --card: #ffffff;
  --text: #1f1f1f;
  --muted: #7a7a7a;

  /* Additional colors */
  --overlay: rgba(17, 17, 17, 0.8);
  --border: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(17, 17, 17, 0.2);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-sm {
  padding: 8px 16px;
  font-size: 14px;
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-outline-sm:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 16px;
  color: var(--primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.5;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--shadow);
}

.navbar {
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header:not(.scrolled) .logo {
  color: white;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.header:not(.scrolled) .nav-link {
  color: white;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.header:not(.scrolled) .nav-toggle span {
  background-color: white;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero-title {
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.5;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Gallery Section */
.gallery {
  background-color: var(--card);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background-color: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 4/5;
}

.gallery-item:nth-child(3n) {
  aspect-ratio: 3/4;
}

.gallery-item:nth-child(4n) {
  aspect-ratio: 5/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.gallery-overlay span {
  font-size: 14px;
  opacity: 0.8;
}

.gallery-item.hidden {
  display: none;
}

/* Services Section */
.services {
  background-color: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--card);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 25px var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--secondary);
}

.service-title {
  margin-bottom: 16px;
  color: var(--primary);
}

.service-description {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* About Section */
.about {
  background-color: var(--card);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 3px solid var(--secondary);
  border-radius: 16px;
  z-index: -1;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 300px;
}

.testimonial-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
}

.testimonial-item.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-content {
  background-color: var(--card);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 24px;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--primary);
}

.testimonial-author span {
  color: var(--muted);
  font-size: 14px;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active,
.nav-dot:hover {
  background-color: var(--secondary);
}

/* Contact Section */
.contact {
  background-color: var(--card);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 16px;
  color: var(--primary);
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.6;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text);
}

.contact-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 44px;
  height: 44px;
  background-color: var(--bg);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Form Styling */
.contact-form {
  background-color: var(--bg);
  padding: 40px;
  border-radius: 16px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  background-color: var(--card);
  color: var(--text);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  display: block;
  color: var(--error);
  font-size: 14px;
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group.error .error-message {
  opacity: 1;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--error);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  margin-bottom: 16px;
  color: var(--secondary);
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: var(--secondary);
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  font-size: 24px;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: -60px;
  right: 0;
}

.lightbox-prev {
  top: 50%;
  left: -80px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  font-size: 16px;
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--success);
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  max-width: 400px;
}

.notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification svg {
  flex-shrink: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  section {
    padding: 60px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--card);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px 30px;
    box-shadow: 2px 0 10px var(--shadow);
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .nav-link {
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }

  .gallery-item {
    aspect-ratio: 1;
  }

  .gallery-item:nth-child(3n),
  .gallery-item:nth-child(4n) {
    aspect-ratio: 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-caption {
    bottom: 10px;
    font-size: 14px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .gallery-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .testimonial-content {
    padding: 30px 20px;
  }

  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --shadow: rgba(0, 0, 0, 0.3);
    --border: #999;
  }

  .btn-outline {
    border-width: 2px;
  }

  .gallery-overlay {
    background: rgba(0, 0, 0, 0.9);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .header,
  .hero,
  .lightbox,
  .notification {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section-title {
    color: black;
  }
}
