/* ======================================================
   Root Variables
====================================================== */
:root {
  --background-color: #FFFFFF;         /* true white background */
  --section-color: #F8F2EF;            /* soft warm cream */
  --primary-color: #f0d9cc;            /* sandy beige */
  --dark-primary: #927666;
  --secondary-color: #D2DCE4;          /* soft blue */
  --card-color: #E7EBEE;               /* very soft pastel blue */
  --highlight-color: #E5D6CE;          /* dusty rose beige */
  --text-color: #2D2D2D;               /* dark charcoal */
  --text-light: #9CA3AF;
  --white: #FFFFFF;

  --main-font: 'Inter', sans-serif;
  --heading-font: 'Playfair Display', serif;

  --studio-name: "Yang Café Studio";
  --subtitle: "Cozy café photography from New York to Paris";
  --contact-email: "yangcafestudio@gmail.com";
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--main-font);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

/* ======================================================
   Hero Section
====================================================== */
.hero-banner {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1rem;
}

.hero-content {
  text-align: center;
  z-index: 10;
  color: var(--text-color);
  padding: 40px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  max-width: 800px;
  margin: 1rem auto;
}

.studio-name {
  font-family: var(--heading-font);
  font-size: 5rem;
  font-weight: 300;
  margin-bottom: 15px;
  color: var(--white);
  letter-spacing: 1px;
  /* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); */
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  font-style: normal;
  color: var(--dark-primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  font-style: normal;
  color: var(--background-color);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.hero-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-image {
  background: var(--secondary-color);
  border-radius: 0;
  overflow: hidden;
}

.hero-image .gallery-img {
  border-radius: 0 !important;
}

/* ======================================================
   Navigation
====================================================== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(250, 243, 227, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid #e0d5c7;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-primary);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--primary-color);
  color: white;
}

/* ======================================================
   Section Titles and Descriptions
====================================================== */
.section {
  padding: 20px 0;
  margin-bottom: 40px;
}

.section-title {
  text-align: center;
  font-family: var(--main-font);
  font-size: 2.7rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  font-weight: 300;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* ======================================================
   Mission Section Fix
====================================================== */
.mission-flex {
  display: flex;
  gap: 2rem;
  align-items: center; 
  flex-wrap: wrap;
}

.mission-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 0 0 200px;
}

.profile-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f0e6d6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fa-instagram {
  font-size: 28px;
  padding: 12px;
}


.section-description,
.mission-text {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  color: var(--text-light);
  font-style: italic;
}

.mission-text {
  color: var(--dark-primary);
}

/* ======================================================
   Gallery
====================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f4e4bc, #e8d5b7);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.caption-text{
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  font-size: 0.75rem;
  text-align: center;
  font-weight: 400;
  padding: 10px;
  border-radius: 10px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.service-caption-text {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  font-size: 0.8rem;
  text-align: center;
  font-weight: 400;
  padding: 10px;
  border-radius: 10px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.visual-caption-text {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  font-size: 0.8rem;
  text-align: center;
  font-weight: 400;
  padding: 10px;
  border-radius: 10px;
}

.caption-text {
  color: white;
}

.service-caption-text {
  background: rgba(255, 255, 255, 0.5);
  color: var(--white);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.visual-caption-text {
  background: rgba(255, 255, 255, 0.5);
  color: black;
}

/* ======================================================
   Services
====================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f4e4bc, #e8d5b7);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

/* ======================================================
   Modals
====================================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  font-family: var(--main-font);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: var(--text-color);
  position: relative;
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
}

.modal .close:hover {
  color: var(--text-color);
}

#imageModal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

#imageModal .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

/* ======================================================
   Contact Section
====================================================== */
.contact-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 80px 0;
}

.contact-title {
  font-size: 2.5rem;
  font-family: var(--main-font);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.contact-email {
  background: rgba(255, 255, 255, 0.2);
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.05rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.contact-email:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ======================================================
   Explore Link
====================================================== */
.explore-link-wrapper,
.explore-link-below {
  text-align: center;
  z-index: 10;
}

.explore-link-wrapper {
  position: absolute;
  bottom: 40px;
  width: 100%;
}

.explore-link {
  font-family: 'Inter', serif;
  font-weight: 300;
  font-size: 1.25rem;
  color: white;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  transition: color 0.3s ease, transform 0.3s ease;
}

.explore-link:hover {
  color: var(--highlight-color);
  transform: translateY(3px);
}

.explore-link a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: #4A3F36;
  transition: color 0.3s ease;
}

/* ======================================================
   Font Awesome Icons
====================================================== */
.fa {
  padding: 20px;
  font-size: 50px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}
    
.fa:hover {
  opacity: 0.7;
}

.fa-instagram {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

/* ======================================================
   Responsive Layout
====================================================== */
@media (max-width: 768px) {
  .studio-name {
    font-size: 2.4rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* .gallery {
    grid-template-columns: 1fr;
  } */

      .mission-flex {
    flex-direction: column;
    align-items: center;
    }
    .mission-image {
    flex: none;
    margin-bottom: 1rem;
    }
}
