/*--
          © 2025 Jose Ramos-Falcon
          All rights reserved.
          This HTML code is proprietary and protected under copyright law.
          Unauthorized copying, reproduction, or distribution is strictly prohibited.
        --*/
/* --------------------------------------------------
   ROOT VARIABLES
-------------------------------------------------- */
:root {
  --bg: #0d0d0d;
  --bg-alt: #1a1a1a;
  --bg-soft: #2a2a2a;
  --bg-clear: rgba(0, 0, 0, 0.9);
  --text: #f5f5f5;
  --accent: #f7e27c;
  --accent-soft: #f7e27c;
}

/* --------------------------------------------------
   GLOBAL RESET
-------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}
.phone-number a.no-style {
  color: var(--accent);
  text-decoration: none !important;
}

.phone-number a.no-style:hover {
  text-decoration: underline; /* optional */
}


/* --------------------------------------------------
   ANIMATIONS
-------------------------------------------------- */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.section {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.section:nth-of-type(1) { animation-delay: 0.1s; }
.section:nth-of-type(2) { animation-delay: 0.2s; }
.section:nth-of-type(3) { animation-delay: 0.3s; }
.section:nth-of-type(4) { animation-delay: 0.4s; }
.section:nth-of-type(5) { animation-delay: 0.5s; }
.section:nth-of-type(6) { animation-delay: 0.6s; }

/* --------------------------------------------------
   NAVBAR
-------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  padding: 10px 48px;
}
/* Logo Section Container */
.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 6px 0;
  transition: opacity 0.25s ease;
}

.logo-section:hover {
  opacity: 0.85;
}

/* Logo Image */
.logo-img {
  width: 52px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.15));
}

/* Wordmark */
.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 2.5px;
  font-size: 1.05rem;
  margin: 0;
  color: #f5f5f5;
  text-transform: uppercase;
  background: linear-gradient(90deg, #d4af37, #f7e27c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .logo-img {
    width: 44px;
  }

  .logo {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }
}
.logo {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 2px;
  font-size: 26px;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta::after {
  display: none;
}

/* --------------------------------------------------
   MOBILE MENU
-------------------------------------------------- */
.mobile-menu-button {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* --------------------------------------------------
   HERO SECTION (VIDEO BACKGROUND)
-------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  overflow: hidden;
}

/* Video wrapper */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

/* Video element */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.192),
    rgba(0, 0, 0, 0.233)
  );
  z-index: -1;
}

/* Hero content */
.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 24px;
  color: #dcdcdc;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  background: linear-gradient(90deg, #d4af37, #f7e27c);
}

.btn-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 0 14px rgba(201, 168, 106, 0.7);
}

.btn-secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #000;
}

.full-width {
  width: 100%;
}

/* --------------------------------------------------
   SECTION WRAPPERS
-------------------------------------------------- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #c0c0c0;
  margin-bottom: 32px;
  font-size: 14px;
}

/* --------------------------------------------------
   ABOUT SECTION
-------------------------------------------------- */
.about {
  background: var(--bg-alt);
}

.two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  margin-top: 12px;
}

.about-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: fit-content;
  height: fit-content;
  background: url("./assets/img/barber.png") center/cover no-repeat;
  border-radius: 8px;
  background: linear-gradient(90deg, #d4af37, #f7e27c);
}

/* Mobile fix */ 
@media (max-width: 600px) { 
  .about-photo { 
    max-width: 425px; 
    height: fit-content; 
    padding-top: 0%;
    margin-right: auto; /* keeps a nice portrait ratio */ 
    background-size: cover; 
    background: linear-gradient(90deg, #d4af37, #f7e27c);
  } 
}

/* --------------------------------------------------
   SERVICES SECTION
-------------------------------------------------- */
.services {
  background: var(--bg);
}

.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

/* Sparkling Gold Top Border */
.card {
  position: relative;
  background: var(--bg-alt);
  padding: 24px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  overflow: hidden; /* ensures the shine stays clean */
}

/* Animated Gold Shine Border */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #fff8d2,
    #f7e27c,
    #d4af37,
    #f7e27c,
    #fff8d2
  );
  background-size: 250% 100%;
  animation: goldShine 2.8s linear infinite;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  box-shadow: 0 0 8px rgba(247, 226, 124, 0.45);
}

/* Gold shimmer animation */
@keyframes goldShine {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 250% 0%;
  }
}


.card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  color: #d0d0d0;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
  border-color: var(--accent-soft);
}

/* --------------------------------------------------
   GALLERY SECTION
-------------------------------------------------- */
.gallery {
  background: var(--bg-alt);
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  background: var(--bg-soft);
  height: fit-content;
  border-radius: 6px;
  overflow: hidden;
}

.gallery-item:hover {
  transform: scale(1.03);
}
.gallery-item {
  background: var(--bg-soft);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: fit-content; /* keeps gallery compact */
}

.gallery-item img {
  min-width: 100%;
  max-height: 100%;        /* keeps full image visible */
  object-fit: contain; /* no cropping, no zoom */
  display: block;
}






/* --------------------------------------------------
   REVIEWS SECTION
-------------------------------------------------- */
.reviews {
  background: var(--bg);
}

.reviews-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: 6px;
}

/*.stars {
  color: var(--accent);
  margin-bottom: 10px;
}*/

.stars {
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: inline-block;
  background: linear-gradient(
    90deg,
    #fff8d2,
    #f7e27c,
    #d4af37,
    #f7e27c,
    #fff8d2
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: starsShine 2.8s linear infinite;
  filter: drop-shadow(0 0 4px rgba(247, 226, 124, 0.35));
}

@keyframes starsShine {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 250% 0%;
  }
}


.review-card p {
  font-size: 14px;
  margin-bottom: 10px;
}

.review-name {
  font-size: 13px;
  color: #b0b0b0;
}

/* --------------------------------------------------
   CONTACT SECTION
-------------------------------------------------- */
.contact {
  background: var(--bg-alt);
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-select {
  width: 100%;
  appearance: none;
  background-color: #ffffff;
  border: 1px solid #cbd5e1; /* slate-300 */
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: #1e293b; /* slate-800 */
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.form-select:focus {
  outline: none;
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}


input,
textarea {
  background: var(--bg-soft);
  border: 1px solid #333;
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer {
  text-align: center;
  padding: 32px 16px;
  background: #050505;
  font-size: 13px;
  color: #a0a0a0;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 1024px) {
  .service-grid,
  .gallery-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
   header { 
    position: relative; 
    z-index: 100; 
  }

  .mobile-nav {
    position: absolute;
    top: 100%;          /* directly under header */
    left: 0;
    width: 100%;        /* full device width */
    background: var(--bg-clear);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.75s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 50;        /* above content */
    border-bottom: 1px solid #eee;
  }

  .mobile-nav.open {
    align-items: center;
    max-height: 600px;  /* adjust based on content */
  }

  .mobile-nav a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--accent-soft);
  }


  nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
    display: none;
    width: 70%;
  }

  nav.open {
    display: flex;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero {
    padding: 80px 20px;
    min-height: 80vh;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-video {
    object-position: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section-inner {
    padding: 60px 20px;
  }

  .service-grid,
  .gallery-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
