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

/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  background-color: #121212;
  color: #F5F5F3;
  scroll-behavior: smooth;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --section-padding-y: clamp(3.5rem, 6vw, 6rem);
  --section-padding-x: clamp(1.2rem, 6vw, 10%);
  --heading-size: clamp(2rem, 5.8vw, 3rem);
  --body-size: clamp(0.95rem, 1.3vw, 1.05rem);
}

.second-logo-cl {
  color: #C6A75E;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: clamp(1rem, 2.6vw, 1.5rem) clamp(1rem, 6vw, 8%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}



.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.language-switcher.mobile-language-switcher {
  display: none;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  border: none;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.navbar.menu-open .menu-icon {
  background-color: transparent;
}

.navbar.menu-open .menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.navbar.menu-open .menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.05rem, 2.8vw, 1.4rem);
  color: #fff;
  letter-spacing: 2px;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.72rem, 1.5vw, 0.8rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #C6A75E;
}

/* LANGUAGE SWITCHER IN NAV */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-switcher button {
  background: none;
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.68rem, 1.4vw, 0.75rem);
  letter-spacing: 2px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.language-switcher button.active,
.language-switcher button:hover {
  opacity: 1;
  color: #C6A75E;
}

.divider {
  color: rgba(255,255,255,0.5);
}

/* HERO */
#hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.slides {
  width: 100%;
  height: 100%;
}

.slide {
  height: 100%;
  width: 100%;
  max-width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  filter: brightness(85%);
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,3),
    rgba(0,0,0,3)
  );
  z-index: 1;
}

.hero-text {
  position: absolute;
  bottom: 18%;
  left: 8%;
  color: #fff;
  max-width: min(600px, 92vw);
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 8.5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ABOUT SECTION */
.about-section {
  background-color: #1A1A1A;
  text-align: center;
}

.about-section h2 {
  margin-bottom: 4rem;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.about-portrait {
  position: relative;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  z-index: 1;

  box-shadow:
    0 0 50px rgba(198, 167, 94, 0.25),
    0 0 100px rgba(198, 167, 94, 0.15);
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  position: relative;
  z-index: 2;
  filter: brightness(92%);
  transition: transform 0.6s ease;
}

.about-certification {
  margin-top: 1.25rem;
  text-align: center;
}

.about-certification a {
  display: inline-block;
}

.about-certification img {
  width: min(220px, 70%);
  height: auto;
  margin: 0 auto;
  display: block;
  filter: brightness(96%);
}

.about-certification p {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: #d7bf85;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.about-content p {
  font-size: var(--body-size);
  font-weight: 300;
  line-height: 1.9;
  max-width: 540px;
  margin-bottom: 1.4rem;
}

.about-content strong {
  font-weight: 500;
  color: #C6A75E;
}

.logo-marquee {
  margin: 3.5rem auto 0;
  overflow: hidden;
  width: min(1100px, 100%);
  mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: scroll-logos 24s linear infinite;
}

.logo-marquee-item {
  flex: 0 0 clamp(140px, 16vw, 210px);
  height: clamp(58px, 7vw, 78px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.logo-marquee-item::before {
  content: "";
  position: absolute;
  width: 82%;
  height: 72%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0.1) 75%);
  filter: blur(10px);
  pointer-events: none;
}

.logo-marquee-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(100%) brightness(1.1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-marquee-item img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  .about-image {
    max-width: clamp(220px, 62vw, 340px);
  }

  .about-content {
    text-align: center;
  }

  .about-content p {
    margin: 0 auto;
  }

  .logo-marquee {
    margin-top: 2.7rem;
  }
}


/* SECTIONS */
.section {
  padding: var(--section-padding-y) var(--section-padding-x);
  text-align: center;
  background-color: #1A1A1A;
}

.section:nth-of-type(even) {
  background-color: #121212;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--heading-size);
  margin-bottom: 1.5rem;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #C6A75E;
  margin: 1rem auto 0;
}

/* PORTFOLIO GRID */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4; /* Portrait cinematic feel */
  background: #222;
  cursor: pointer;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
  opacity: 0.9;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.testimonials-section {
  background-color: #121212;
  position: relative;
}

.testimonial-wrapper {
  max-width: 1100px;
  margin: 3rem auto 0;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.75;
  text-align: left;
  color: #F5F5F3;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(198, 167, 94, 0.35);
  border-radius: 16px;
  padding: clamp(1.1rem, 2.8vw, 2rem) clamp(1rem, 2.6vw, 1.8rem);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track {
    animation: none;
  }
}

.testimonial .author {
  display: block;
  margin-top: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C6A75E;
}

.testimonial .quote {
  display: block;
}


/* CV DOWNLOAD */
.cv-section {
  background: linear-gradient(160deg, #161616 0%, #101010 100%);
}

.cv-section p {
  max-width: 620px;
  margin: 0.8rem auto 0;
  color: #d8d3ca;
}

.cv-download-grid {
  margin: clamp(1.8rem, 4vw, 2.6rem) auto 0;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cv-download-btn {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-border: rgba(198, 167, 94, 0.45);
  --btn-text: #f5f5f3;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
  font-size: clamp(0.78rem, 1.9vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.cv-download-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.28) 50%, transparent 85%);
  transform: translateX(-140%);
}

.cv-download-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 167, 94, 0.75);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.cv-download-btn:focus-visible {
  outline: 2px solid #c6a75e;
  outline-offset: 3px;
}

.cv-download-btn.is-downloading::before {
  animation: cv-shimmer 0.8s ease;
}

.cv-download-btn.is-downloading .cv-btn-text {
  animation: cv-pulse 0.45s ease;
}

.cv-download-btn.is-complete {
  background-color: rgba(198, 167, 94, 0.24);
  border-color: rgba(198, 167, 94, 0.95);
}

@keyframes cv-shimmer {
  0% {
    transform: translateX(-140%);
  }

  100% {
    transform: translateX(140%);
  }
}

@keyframes cv-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 700px) {
  .cv-download-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTACT */
.contact-section {
  background: radial-gradient(circle at top, #232323 0%, #151515 55%, #0f0f0f 100%);
  color: #F5F5F3;
}

.contact-section h2 {
  color: #F5F5F3;
}

.contact-section p {
  color: #D8D3CA;
}

.instagram-section {
  background: #111;
  color: #F5F5F3;
}

.instagram-section h2 {
  color: #F5F5F3;
}

.site-footer {
  background-color: #0c0c0c;
  border-top: 1px solid rgba(198, 167, 94, 0.3);
  padding: 1.1rem var(--section-padding-x);
  text-align: center;
}

.site-footer p {
  color: rgba(245, 245, 243, 0.85);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.site-footer a,
.terms-trigger {
  color: #C6A75E;
  text-decoration: none;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.site-footer a:hover,
.terms-trigger:hover {
  color: #e1c37a;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.45rem;
}

.contact-form {
  max-width: 760px;
  margin: clamp(1.5rem, 4vw, 2.2rem) auto 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(198, 167, 94, 0.35);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(24, 24, 24, 0.12);
  backdrop-filter: blur(2px);
}

.hidden-bot-field {
  display: none;
}

.form-field + .form-field {
  margin-top: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1f1f1f;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(26, 26, 26, 0.22);
  border-radius: 10px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1A1A1A;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #C6A75E;
  box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.2);
}

.submit-btn {
  margin-top: 1.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  background: #1A1A1A;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  background-color: #C6A75E;
  color: #1A1A1A;
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

@media (max-width: 700px) {
  .contact-form {
    padding: 1.4rem;
    border-radius: 14px;
  }
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 2rem;
}

.lightbox-img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}

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

/* CLOSE BUTTON */

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 42px;
  color: white;
  cursor: pointer;
  font-weight: 300;
  z-index: 3;
}

/* ARROWS */

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 45px;
  line-height: 1;
  min-width: 48px;
  min-height: 48px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  padding: 12px;
  opacity: 0.82;
  z-index: 3;
  touch-action: manipulation;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}

.lightbox-arrow:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.58);
}

.lightbox-arrow.left {
  left: max(10px, env(safe-area-inset-left));
}

.lightbox-arrow.right {
  right: max(10px, env(safe-area-inset-right));
}

/* COUNTER */

.lightbox-counter {
  position: absolute;
  bottom: 25px;
  color: white;
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.7;
}

.terms-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2100;
}

.terms-modal.show {
  display: flex;
}

.terms-modal-content {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: #1a1a1a;
  border: 1px solid rgba(198, 167, 94, 0.45);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: left;
}

.terms-modal-content h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.8rem;
}

.terms-modal-content p {
  color: #f0ece3;
}

.terms-modal-content a {
  color: #e1c37a;
}

.terms-close {
  position: absolute;
  right: 0.8rem;
  top: 0.4rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.legal-modal-content {
  max-width: 760px;
  max-height: min(86vh, 900px);
  overflow-y: auto;
  padding-right: 1.6rem;
}

.legal-content h4 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  color: #e8d5a2;
}

.legal-content ul {
  margin: 0.4rem 0 0.6rem 1.2rem;
}

.legal-content li + li {
  margin-top: 0.3rem;
}


@media (max-width: 900px) {
  .hero-text {
    bottom: 14%;
    left: 6%;
  }

  .about-section h2 {
    margin-bottom: 2.5rem;
  }

  .about-container {
    gap: 2.25rem;
  }

  .about-content p {
    line-height: 1.75;
  }

  .testimonial-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-text {
    left: 1rem;
    right: 1rem;
    bottom: 12%;
  }

  .hero-text p {
    letter-spacing: 1px;
  }

  .section {
    text-align: left;
  }

  .section h2::after {
    margin-left: 0;
  }

  .gallery {
    gap: 0.6rem;
  }

  .gallery-item {
    aspect-ratio: 1 / 1.22;
  }

  .testimonial {
    border-radius: 12px;
  }

  .testimonial .author {
    letter-spacing: 1.2px;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-arrow {
    font-size: 26px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }

  .lightbox-close {
    top: 14px;
    right: 18px;
    font-size: 34px;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    row-gap: 1rem;
  }

  .language-switcher.mobile-language-switcher {
    display: inline-flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 0 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    gap: 1.2rem;
  }

  .navbar.menu-open .nav-panel {
    display: flex;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .language-switcher {
    width: 100%;
    justify-content: flex-start;
  }
}
