/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary-color: #f59e0b;
  /* Warm Amber/Gold */
  --primary-color-alt: #d97706;
  /* Darker Amber */
  --text-color: #1e293b;
  /* Slate 800 */
  --text-light: #64748b;
  /* Slate 500 */
  --bg-color: #f8fafc;
  /* Slate 50 */
  --container-color: #ffffff;
  /* White */
  --border-color: #e2e8f0;
  /* Slate 200 */

  --header-height: 80px;

  --font-family: 'Outfit', sans-serif;

  --h1-size: 3rem;
  --h2-size: 2.25rem;
  --h3-size: 1.25rem;
  --normal-size: 1rem;
  --small-size: 0.875rem;

  --transition: 0.3s ease-in-out;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Responsive typography */
@media screen and (max-width: 768px) {
  :root {
    --h1-size: 2.25rem;
    --h2-size: 1.75rem;
    --h3-size: 1.125rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0 4rem;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: var(--h2-size);
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 5px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: var(--normal-size);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 100;
  transition: var(--transition);
}

.header.scroll-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  transition: var(--transition);
}

.header.scroll-header .logo {
  color: var(--text-color);
}

.logo .accent {
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.header.scroll-header .nav-link {
  color: var(--text-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.header.scroll-header .nav-link:hover,
.header.scroll-header .nav-link.active {
  color: var(--primary-color);
}

.nav-toggle,
.nav-close {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

.header.scroll-header .nav-toggle {
  color: var(--text-color);
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: -150vh;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    padding: 4rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-menu.show-menu {
    top: 0;
  }

  .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .nav-link {
    color: var(--text-color);
    font-size: 1.2rem;
  }

  .nav-toggle,
  .nav-close {
    display: block;
  }

  .nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-color);
  }
}

/* ===== HOME ===== */
.home {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: url('../images/arka-plan.png') center/cover no-repeat;
}

.home-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.5));
}

.home-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.home-data {
  max-width: 600px;
}

.home-title {
  font-size: var(--h1-size);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.home-description {
  color: #e2e8f0;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.home-data .btn {
  margin-right: 1rem;
  margin-bottom: 1rem;
}

/* ===== SERVICES ===== */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
  opacity: 0.1;
}

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

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: var(--h3-size);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-light);
}

/* ===== GALLERY ===== */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* ===== ABOUT ===== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-subtitle {
  font-size: var(--h3-size);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-description {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-box {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-text {
  color: var(--text-color);
  font-weight: 600;
}

.about-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ===== CONTACT ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
}

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

.contact-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card-title {
  font-size: var(--h3-size);
  margin-bottom: 0.5rem;
}

.contact-card-text,
.contact-link {
  color: var(--text-light);
}

.contact-link:hover {
  color: var(--primary-color);
}

.contact-map {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 300px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background-color: #0f172a;
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-text {
  color: #94a3b8;
  max-width: 400px;
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: var(--small-size);
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media screen and (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}