/* EXACT FIGMA REPLICA STYLES */

/* ========================================
   TUNGSTEN FONT FACES
   ======================================== */
@font-face {
  font-family: 'Tungsten';
  src: url('assets/fonts/Tungsten-Font/OTF/Tungsten-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tungsten';
  src: url('assets/fonts/Tungsten-Font/OTF/Tungsten-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tungsten';
  src: url('assets/fonts/Tungsten-Font/OTF/Tungsten-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tungsten';
  src: url('assets/fonts/Tungsten-Font/OTF/Tungsten-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tungsten', 'Arial', sans-serif;
  font-weight: 400;
  background-color: #F5F1E8;
  /* Light beige background */
  color: #000000;
  overflow-x: hidden;
  padding-top: 70px;
  /* Space for fixed navbar */
}

/* NAVIGATION BAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  z-index: 1000;
  padding: 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 100%;
}

.navbar-logo h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.05em;
}

.navbar-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.navbar-social {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar-social a {
  color: #FFFFFF;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-social a:hover {
  opacity: 0.6;
}

.navbar-social svg {
  width: 20px;
  height: 20px;
}

/* HERO SECTION WITH LOGO */
.hero-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

.hero-logo h1 {
  font-size: clamp(80px, 15vw, 250px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: #ffffff;
}

/* ABOUT SECTION */
.about-section {
  width: 100%;
  padding: 40px 5%;
  background-color: #F5F1E8;
  /* Light beige */
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-title {
  font-size: clamp(60px, 12vw, 150px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  color: #000000;
}

.about-title-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 30px;
  display: block;
}

.about-text {
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
}

.about-text strong {
  font-weight: 700;
}

.about-text .strike {
  text-decoration: line-through;
  font-weight: 300;
  /* Tungsten Light */
}

/* SECTION TITLES - Black text on beige background */
.section-title {
  width: 100%;
  padding: 30px 5%;
  background-color: #F5F1E8;
  /* Light beige */
}

.section-title h2 {
  font-size: clamp(50px, 10vw, 140px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
  /* Black text */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* PROJECT CARDS */
.project-card {
  width: 100%;
  padding: 0;
  /* Remove all padding */
  background-color: #F5F1E8;
}

/* CARD LINK - Make entire card clickable */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.3s ease;
}

.card-link:hover {
  opacity: 0.9;
}

.card-frame {
  max-width: 100%;
  /* Full width - no max constraint */
  margin: 0;
  /* No margin */
  background-color: #000000;
  /* Black frame */
  padding: 40px 10%;
  /* Doubled padding - more space around media */
  border-radius: 0;
}

/* MEDIA CONTAINER */
.media-container {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
  /* Further reduced - about half of title height */
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 5 / 1;
  /* Cinematic 5:1 ratio */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Color variations for placeholders */
.media-placeholder.pink {
  background-color: #FF1B6D;
}

.media-placeholder.white {
  background-color: #FFFFFF;
}

.media-placeholder.green {
  background-color: #000000;
}

.media-placeholder.yellow {
  background-color: #FFB800;
}

.media-placeholder.dark {
  background-color: #1A1A1A;
}

/* MEDIA CLIPPING MASK - Acts like Illustrator clipping mask */
.media-placeholder img,
.media-placeholder video,
.media-placeholder gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Crops to fill container without distortion */
  object-position: center;
  /* Centers the media */
  display: block;
}

/* Ensure media containers have overflow hidden */
.media-placeholder {
  overflow: hidden;
}

/* PROJECT TITLE - Bottom right corner */
.project-title {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: clamp(40px, 6vw, 100px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-align: right;
  line-height: 0.9;
  margin: 0;
}

.project-title.peach {
  color: #FFB89D;
}

.project-title.orange {
  color: #FFB89D;
}

/* PROJECT META - Below the media */
.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 40px;
}

.project-meta span {
  font-size: clamp(20px, 2.5vw, 36px);
  /* Increased from 16-28px to match Fortiche */
  font-weight: 700;
  /* Bolder weight */
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  /* Slightly more spacing */
}

/* UX/UI HORIZONTAL LAYOUT */
.project-card.uxui .card-frame {
  padding: 40px 10%;
  /* Match doubled standard card padding */
}

.uxui-content {
  display: flex;
  gap: 20px;
  /* Reduced from 40px */
  margin-bottom: 10px;
  /* Reduced - about half of title height */
  align-items: flex-start;
}

.uxui-media {
  flex: 0 0 auto;
  width: 30%;
  /* Further reduced for more compact layout */
}

.media-placeholder.square {
  aspect-ratio: 2 / 3;
  /* Shorter, more compact for UI screenshots */
  border-radius: 15px;
  /* Slightly smaller radius for tighter look */
}

.uxui-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Reduced from 20px */
  position: relative;
}

.uxui-info .project-title {
  position: static;
  font-size: clamp(40px, 6vw, 100px);
  font-weight: 700;
  color: #FFB89D;
  text-align: left;
  line-height: 0.85;
  /* Tighter line height */
}

.project-description {
  font-size: clamp(12px, 1.2vw, 20px);
  /* Reduced font size */
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.4;
  /* Tighter line height */
}

.project-description strong {
  font-weight: 700;
}

/* FOOTER SECTION */
.footer-section {
  width: 100%;
  background-color: #F5F1E8;
  /* Beige background */
  padding: 40px 5% 0 5%;
  /* Reduced from 80px */
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 30px 40px;
  /* Reduced from 60px */
  text-align: right;
}

.footer-title {
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 0.9;
  margin-bottom: 20px;
}

.pink-text {
  color: #FF1B6D;
}

.footer-subtitle {
  font-size: clamp(14px, 1.5vw, 24px);
  font-weight: 600;
  color: #FF1B6D;
  text-align: right;
  letter-spacing: 0.05em;
}

/* SOCIAL BAR - Black bar at bottom - FULL WIDTH */
.social-bar {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #000000;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

/* GET IN TOUCH - Replaceable graphic element */
.get-in-touch-graphic {
  text-align: right;
  /* Will be replaced with image/gif later */
}

.footer-graphic-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin-left: auto;
}

.social-bar a {
  color: #FFFFFF;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-bar a:hover {
  opacity: 0.6;
}

.social-bar svg {
  width: 28px;
  height: 28px;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1024px) {
  .uxui-content {
    flex-direction: column;
  }

  .uxui-media {
    width: 100%;
  }

  .project-meta {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section-title {
    padding: 20px 5%;
    /* Reduced from 40px for tighter spacing */
  }

  .section-title h2 {
    padding: 0 20px;
  }

  .card-frame {
    padding: 20px 0;
    /* Remove horizontal padding for full-width */
  }

  .project-card {
    padding: 0;
    /* Remove all padding */
    margin-bottom: 0;
    /* Remove gaps between cards */
  }

  .media-container {
    padding: 0 5%;
    /* Add horizontal margins to media rectangles */
  }

  .project-meta {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 0 5%;
    /* Add padding to meta */
  }

  .social-bar {
    gap: 40px;
  }

  .about-container {
    padding: 0 20px;
  }

  .footer-content {
    padding: 0 20px 40px 20px;
  }

  .media-placeholder {
    aspect-ratio: 3 / 1;
    /* Adjust ratio for mobile */
  }

  .project-title {
    right: calc(5% + 15px);
    /* Account for container padding + margin */
  }
}

@media (max-width: 480px) {
  .hero-logo h1 {
    font-size: 60px;
  }

  .section-title h2 {
    font-size: 40px;
  }

  .project-title {
    font-size: 30px;
    bottom: 10px;
    right: calc(5% + 10px);
    /* Account for container padding on small screens */
  }

  .social-bar {
    gap: 30px;
  }

  .social-bar svg {
    width: 20px;
    height: 20px;
  }

  .media-placeholder {
    aspect-ratio: 2 / 1;
    /* Even more adjusted for small screens */
  }
}

/* ========================================
   PROJECT DETAIL PAGE STYLES
   ======================================== */

/* PROJECT HERO SECTION */
.project-hero {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 100px 5%;
}

.project-hero-content {
  max-width: 1400px;
  width: 100%;
}

.project-hero-title {
  font-size: clamp(60px, 12vw, 200px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 0.9;
}

/* PROJECT DETAILS SECTION */
.project-details {
  width: 100%;
  padding: 60px 5%;
  background-color: #F5F1E8;
}

.details-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.details-info h2 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: #000000;
  margin-bottom: 30px;
}

.details-info p {
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.4;
}

.details-info strong {
  font-weight: 700;
}

/* MEDIA GALLERY SECTION */
.media-gallery {
  width: 100%;
  padding: 0;
  background-color: #F5F1E8;
}

.gallery-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.gallery-item {
  position: relative;
  width: 100%;
}

.gallery-item.full-width {
  grid-column: 1 / -1;
}

.gallery-item.half-width {
  grid-column: span 1;
}

.gallery-item .media-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-item.half-width {
    grid-column: 1 / -1;
  }

  .project-hero {
    min-height: 40vh;
    padding: 60px 5%;
  }

  .details-container {
    padding: 0 20px;
  }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #000000;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  background-color: #333333;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}