/* =========================================
   CSS Variables
   ========================================= */
:root {
  --pink:        #c2185b;
  --pink-light:  #e91e8c;
  --pink-dark:   #880e4f;
  --black:       #0d0d0d;
  --dark:        #141414;
  --dark-2:      #1c1c1c;
  --gray:        #888;
  --light:       #f5f5f5;
  --white:       #ffffff;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Lato', sans-serif;
  --nav-height:  92px;
  --transition:  0.3s ease;
  --radius:      4px;
  --shadow:      0 8px 32px rgba(0,0,0,0.4);
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--light);
  background: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

/* =========================================
   Layout Utilities
   ========================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

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

.section-intro {
  text-align: center;
  color: var(--gray);
  font-size: 1rem;
  max-width: 560px;
  margin: -32px auto 48px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--pink-light);
  border-color: var(--pink-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--pink);
  border-color: var(--pink);
  transform: translateY(-2px);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.6);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-logo {
  position: relative;
  display: block;
  width: 180px;
  height: auto;
  flex-shrink: 0;
}

/* Both logos stacked in exactly the same position */
.nav-logo img {
  display: block;
  width: 180px;
  transition: opacity var(--transition);
}

.logo-scrolled {
  position: absolute;
  top: 0;
  left: 0;
}

/* Pre-scroll: dark logo visible, white hidden */
.logo-default  { opacity: 1; }
.logo-scrolled { opacity: 0; }

/* Post-scroll: white logo visible, dark hidden */
.navbar.scrolled .logo-default  { opacity: 0; }
.navbar.scrolled .logo-scrolled { opacity: 1; }

.nav-logo:hover img {
  opacity: 0.75;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e91e8c;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

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

.nav-link:hover {
  color: var(--pink-light);
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #e91e8c;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger turns white on dark scrolled navbar */
.navbar.scrolled .hamburger {
  background: var(--white);
}

/* Animated hamburger → X */
.nav-toggle.open .hamburger:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .hamburger:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .hamburger:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url('../photos/parallax_photo_01.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-light);
  background: #f2cce5;
  padding: 20px;
  margin-bottom: 0;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--white);
  margin-bottom: 40px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title span {
  color: var(--pink-light);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.2rem;
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
  transition: opacity var(--transition);
}

.scroll-hint:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =========================================
   About
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.5;
}

.about-text p {
  color: #bbb;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-text .btn {
  margin-top: 12px;
}

/* =========================================
   Parallax Dividers
   ========================================= */
.parallax-divider {
  height: 380px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
}

/* Dark overlay removed — photos display at full brightness */

/* =========================================
   Portfolio
   ========================================= */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  width: 300px;
  height: 160px;
  display: block;
}

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

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(194,24,91,0.85) 0%, rgba(0,0,0,0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.portfolio-label {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
}

.portfolio-cta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================================
   Contact
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  color: var(--white);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--gray);
  font-size: 0.95rem;
  transition: color var(--transition);
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--pink-light);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray);
  transition: background var(--transition), color var(--transition);
}

.social-links a:hover {
  background: var(--pink);
  color: var(--white);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 48px 0;
  text-align: center;
}

.footer-logo {
  margin: 0 auto 20px;
  opacity: 0.8;
}

.footer p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13,13,13,0.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 2px solid var(--pink);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 14px 32px;
    font-size: 0.9rem;
  }

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

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image::before {
    display: none;
  }

  .about-image img {
    aspect-ratio: auto;
    max-height: 360px;
    margin: 0 auto;
  }

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

  /* Sections */
  .section {
    padding: 72px 0;
  }

  /* Parallax: disable fixed on mobile (performance) */
  .hero,
  .parallax-divider {
    background-attachment: scroll;
  }
}

@media (max-width: 520px) {
  .navbar {
    padding: 0 20px;
  }
}
