/* ============================================
   CineVelvet - Premium Photography Studio
   Design System & Core Styles
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Colors */
  --color-black: #0a0a0a;
  --color-black-light: #161616;
  --color-black-lighter: #222222;
  --color-gold: #dca443;
  --color-gold-light: #E0C070;
  --color-gold-dark: #A08430;
  --color-white: #ffffff;
  --color-white-muted: rgba(255, 255, 255, 0.7);
  --color-white-subtle: rgba(255, 255, 255, 0.4);
  --color-overlay: rgba(10, 10, 10, 0.8);
  --color-overlay-light: rgba(10, 10, 10, 0.6);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-hero: 5.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1400px;
  --container-padding: 2rem;
  --section-padding: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.8s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-5xl);
}

h3 {
  font-size: var(--text-4xl);
}

h4 {
  font-size: var(--text-3xl);
}

h5 {
  font-size: var(--text-2xl);
}

h6 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-white-muted);
}

.text-gold {
  color: var(--color-gold);
}

.text-muted {
  color: var(--color-white-muted);
}

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

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ============================================
   Layout Components
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header .subtitle {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-6);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Dividers */
.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: var(--space-8) auto;
}

.divider-left {
  margin-left: 0;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-6) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-4) 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar-logo img {
  height: 50px;
  width: auto;
}

.navbar-logo span {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.navbar-menu a {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: var(--space-2) 15px;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-2);
}

.navbar-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
}

/* Mobile Navigation */
@media (max-width: 968px) {
  .navbar {
    padding: var(--space-4) 0;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-black);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    transition: right var(--transition-base);
    border-left: 1px solid var(--color-black-lighter);
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-menu a {
    font-size: var(--text-lg);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-black) !important;
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(204, 168, 74, 0.3);
  letter-spacing: 0.12em;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(204, 168, 74, 0.5);
  filter: brightness(1.15);
}

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

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

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

.btn-gold-outline:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.4) 0%,
      rgba(10, 10, 10, 0.6) 50%,
      rgba(10, 10, 10, 0.9) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  padding: var(--space-8);
  max-width: 900px;
}

.hero-subtitle {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  display: block;
}

.hero-title {
  font-size: var(--text-hero);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-white-muted);
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-white-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--color-black-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: var(--space-6);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card-text {
  font-size: var(--text-sm);
  color: var(--color-white-muted);
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: var(--space-10);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-base);
}

.service-card:hover {
  border-color: var(--color-gold-light);
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-6);
  color: var(--color-gold);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.service-card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================
   Portfolio Grid
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.portfolio-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform var(--transition-slow);
}

.portfolio-item.large img {
  aspect-ratio: auto;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(10, 10, 10, 0.8) 0%,
      rgba(10, 10, 10, 0.2) 50%,
      rgba(10, 10, 10, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 1; /* Always visible as per request */
  transition: all var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  background: linear-gradient(to top,
      rgba(212, 175, 55, 0.9) 0%,
      rgba(10, 10, 10, 0.4) 100%);
}

.portfolio-overlay h4 {
  font-size: var(--text-xl);
  color: var(--color-white); /* Changed to white for better visibility on dark gradient */
  margin-bottom: var(--space-1);
}

.portfolio-item:hover .portfolio-overlay h4 {
  color: var(--color-black);
}

.portfolio-overlay span {
  font-size: var(--text-sm);
  color: var(--color-white);
  opacity: 0.8;
}

.portfolio-item:hover .portfolio-overlay span {
  color: var(--color-black);
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.filter-btn {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white-muted);
  background: transparent;
  border: 1px solid var(--color-black-lighter);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--color-black);
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
  box-shadow: var(--glass-shadow);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-8);
  color: var(--color-white);
}

.testimonial-quote::before {
  content: '"';
  color: var(--color-gold);
  font-size: var(--text-4xl);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: var(--space-2);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  margin-bottom: var(--space-2);
}

.testimonial-author strong {
  font-size: var(--text-base);
  color: var(--color-white);
}

.testimonial-author span {
  font-size: var(--text-sm);
  color: var(--color-gold);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-black-light);
  border-top: 1px solid var(--color-black-lighter);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.footer-logo img {
  height: 40px;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.8;
}

.footer-title {
  font-size: var(--text-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  color: var(--color-gold);
}

.footer-links a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-white-muted);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-black-lighter);
  border-radius: 50%;
  color: var(--color-white);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-black-lighter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-white-subtle);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
  color: var(--color-white-muted);
}

.form-control {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--color-white);
  background: var(--color-black-light);
  border: 1px solid var(--color-black-lighter);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control::placeholder {
  color: var(--color-white-subtle);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 20px;
}

input[type="date"] {
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(68%) sepia(21%) saturate(935%) hue-rotate(5deg) brightness(97%) contrast(88%);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animations */
.stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.stagger.visible>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger.visible>*:nth-child(4) {
  transition-delay: 0.4s;
}

.stagger.visible>*:nth-child(5) {
  transition-delay: 0.5s;
}

.stagger.visible>*:nth-child(6) {
  transition-delay: 0.6s;
}

.stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Utility Classes
   ============================================ */
.mb-0 {
  margin-bottom: 0 !important;
}

.mb-4 {
  margin-bottom: var(--space-4) !important;
}

.mb-8 {
  margin-bottom: var(--space-8) !important;
}

.mt-8 {
  margin-top: var(--space-8) !important;
}

.py-section {
  padding: var(--section-padding) 0;
}

.bg-black {
  background-color: var(--color-black);
}

.bg-black-light {
  background-color: var(--color-black-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
  :root {
    --text-hero: 4.5rem;
    --text-6xl: 3.5rem;
    --text-5xl: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  :root {
    --text-hero: 3.5rem;
    --text-6xl: 3rem;
    --text-5xl: 2.25rem;
    --section-padding: 4rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --text-hero: 2.75rem;
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --container-padding: 1.25rem;
    --section-padding: 3rem;
  }

  .hero-content {
    padding: var(--space-4);
    padding-top: var(--space-20);
  }

  .hero-scroll {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Instagram Strip
   ============================================ */
.instagram-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.8);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-item:hover::after {
  opacity: 1;
}

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

/* ============================================
   Page Hero (Inner Pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.5) 0%,
      rgba(10, 10, 10, 0.8) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-white-muted);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb span {
  color: var(--color-gold);
}

/* ============================================
   About Page Specific
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-md);
}

.about-image::before {
  content: '';
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-text h3 {
  margin-bottom: var(--space-6);
}

.about-text p {
  margin-bottom: var(--space-6);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-6);
  border: 3px solid var(--color-gold);
}

.team-member h5 {
  margin-bottom: var(--space-2);
}

.team-member span {
  font-size: var(--text-sm);
  color: var(--color-gold);
}

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Contact Page Specific
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact-info h3 {
  margin-bottom: var(--space-8);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold);
  border-radius: 50%;
  color: var(--color-black);
  flex-shrink: 0;
}

.contact-item-content h5 {
  margin-bottom: var(--space-2);
}

.contact-item-content p {
  margin-bottom: 0;
  color: var(--color-white-muted);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-8);
  border: 1px solid var(--color-black-lighter);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Portfolio Single Page
   ============================================ */
.project-hero {
  height: 70vh;
  min-height: 500px;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-black-lighter);
}

.project-meta-item {
  text-align: center;
}

.project-meta-item span {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.project-meta-item strong {
  font-size: var(--text-lg);
}

.project-gallery {
  display: grid;
  gap: var(--space-8);
}

.project-gallery img {
  width: 100%;
  border-radius: var(--radius-md);
}

.project-gallery-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-black-lighter);
  margin-top: var(--space-12);
}

.project-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-nav a:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .project-meta {
    flex-direction: column;
    gap: var(--space-6);
  }

  .project-gallery-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1100;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background: #20BA5A;
  color: #fff;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-whatsapp 2s infinite;
}

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

  50% {
    transform: scale(1.1);
  }

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

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 12px;
  }
}

/* ============================================
   Project Gallery Grid (3 Columns)
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--color-black-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.2);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

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

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Image Modal (Lightroom)
   ============================================ */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  cursor: zoom-out;
  backdrop-filter: blur(10px);
}

.image-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.modal-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-close {
  position: fixed;
  top: 30px;
  right: 30px;
  color: var(--color-white);
  font-size: 40px;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2010;
  background: rgba(10, 10, 10, 0.5);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-close:hover {
  color: var(--color-gold);
  background: rgba(10, 10, 10, 0.8);
  transform: scale(1.1);
}

.modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.5);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2010;
}

.modal-nav:hover {
  background: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-50%) scale(1.1);
}

.modal-prev {
  left: 30px;
}

.modal-next {
  right: 30px;
}

@media (max-width: 768px) {
  .modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  
  .modal-nav {
    width: 45px;
    height: 45px;
    background: rgba(10, 10, 10, 0.7);
  }
  
  .modal-prev {
    left: 10px;
  }
  
  .modal-next {
    right: 10px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}