/* ===== CUSTOM FONTS ===== */
@font-face {
  font-family: 'Sinera';
  src: url('Sinera.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8f9;
  --bg-tertiary: #f0f0f2;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a6e;
  --text-muted: #8a8a9a;
  --accent: #b8860b;
  --accent-hover: #d4a017;
  --accent-glow: rgba(184, 134, 11, 0.2);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  /* Updated to use Sinera as the primary display font */
  --font-display: "Sinera", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --nav-height: 72px;
  --container-max: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --will-change: transform, opacity;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.accent {
  color: var(--accent);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 110%;
  height: var(--nav-height);
  z-index: 1000;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.664);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  width: 72px;
  height: 72px;
  margin: 0; 
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  border: 1.5px solid var(--accent);
  background: #fff;

  /* --- NEW POSITIONING --- */
  position: relative;
  left: -18px;  /* Nudges it to the left. Increase the number (e.g., -24px) to move it further left. */
  top: 12px;    /* Nudges it down. Increase the number to make it hang lower. */
  z-index: 10;  /* Ensures it stays layered above the hero image below it */
}

.nav-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 20px rgba(249, 249, 249, 0.148);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  content-visibility: auto;
}

.hero-slide.active img {
  animation: heroZoom 10s linear forwards;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.25);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-family: "Sinera", "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 4rem);
  font-weight: 550;
  line-height: 1.1;
  margin-bottom: 24px;
  font-display: swap;
}
.hero-title .accent {
  font-weight: 400;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(10px);
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-full {
  width: 100%;
  text-align: center;
}

/* ===== STATS ===== */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  content-visibility: auto;
  contain-intrinsic-size: 0 200px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* ===== SECTION COMMON ===== */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-description {
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-img-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent);
  opacity: 0.3;
  z-index: 1;
  transform: translate(12px, 12px);
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 20px;
  text-align: center;
}
.exp-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.exp-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-description {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

/* Premium Founder Names Styling */
.about .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.about .section-title .founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about .section-title .founder-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 500;
  display: block;
}
.about-highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.highlight-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.highlight-text h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.highlight-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--bg-secondary);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.service-card > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.service-features {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.service-features li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}
.service-features li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 120px 0;
  background: var(--bg-primary);
}

/* Redesigned Filters - Cleaner, borderless look */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

/* Underline animation for active/hover filters */
.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-primary);
}

.filter-btn:hover::after,
.filter-btn.active::after {
  width: 100%;
}

/* Portfolio Grid - Two Column Layout */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  contain: layout;
}

.portfolio-item {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  contain: layout;
  will-change: auto;
}

/* Image Column - Fixed size and position */
.portfolio-img {
  flex: 0 0 55%;
  max-width: 650px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  will-change: contents;
  contain: layout;
}

.portfolio-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  content-visibility: auto;
}

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

/* Text Column - Premium styling on the right */
.text-column {
  flex: 1;
  text-align: left;
  padding: 20px 0;
  contain: layout;
}

.text-column .small-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.text-column .small-title::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.text-column .description {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Cinematic Dark Gradient Overlay on hover */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 24px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.portfolio-overlay h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 6px;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-overlay p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.08s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

.portfolio-item.hidden {
  display: none;
  contain: none;
}

/* Portfolio link wrapper */
.portfolio-link {
  display: contents;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  background: var(--bg-secondary);
}
.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 8px;
  opacity: 0.5;
}
.testimonial-card > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.author-info h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 2px;
}
.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  text-align: center;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.cta .btn-primary {
  color: #fff;
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-description {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.8;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-icon svg {
  width: 100%;
  height: 100%;
}
.contact-item h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item a {
  color: var(--text-primary);
  font-size: 0.95rem;
}
.contact-item a:hover {
  color: var(--accent);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 280px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.social-links a svg {
  width: 16px;
  height: 16px;
}
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    gap: 48px;
  }
  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: right var(--transition);
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
    font-size: 1.2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem !important;
    letter-spacing: -0.5px;
    white-space: nowrap;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Login Page Responsive */
@media (max-width: 1024px) {
  .login-wrapper {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }

  .login-form-container {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .login-form-container {
    padding: 24px 16px;
  }

  .login-header h1 {
    font-size: 1.8rem;
  }

  .login-quote {
    display: none;
  }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 80px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
  }
}

@media (max-width: 768px) {
  .whatsapp-btn {
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== WEDDING PAGE PREMIUM STYLES ===== */

/* Gallery Page Header - Enhanced Typography */
.gallery-page-header {
  padding: 160px 0 80px;
  background: linear-gradient(
    180deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
  position: relative;
}

/* Back Navigation Link */
.back-navigation {
  margin-bottom: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all var(--transition);
}

.back-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(-4px);
}

.gallery-page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.4;
}

.wedding-header-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 20px;
}

.wedding-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.wedding-subtitle::before,
.wedding-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
}

.wedding-subtitle::before {
  right: 100%;
  margin-right: 12px;
}
.wedding-subtitle::after {
  left: 100%;
  margin-left: 12px;
}

.wedding-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.wedding-title .accent {
  font-style: italic;
  font-weight: 400;
  position: relative;
}

.wedding-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 540px;
  margin: 0 auto;
  font-style: italic;
}

/* Premium Gallery Grid */
.premium-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 40px 0;
}

/* Image Frame Wrapper - Luxury Border Effect */
.image-frame-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.image-frame-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  border-radius: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.image-frame-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 134, 11, 0.2);
  transform: translate(8px, 8px);
  z-index: 1;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.gallery-card:hover .image-frame-wrapper::before {
  transform: translate(12px, 12px);
  opacity: 0.5;
}

.image-frame-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.gallery-card:hover .image-frame-wrapper img {
  transform: scale(1.08);
}

/* Enhanced Gallery Card */
.gallery-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

.gallery-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* Refined Card Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    transparent 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 36px;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 8px;
  transform: translateY(25px);
  transition: transform 0.6s ease 0.1s;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-overlay p {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  transform: translateY(25px);
  transition: transform 0.6s ease 0.2s;
  font-weight: 500;
}

.gallery-card:hover .card-overlay h3,
.gallery-card:hover .card-overlay p {
  transform: translateY(0);
}

/* Elegant Divider - Enhanced */
.elegant-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 40px;
  color: var(--accent);
  position: relative;
}

.elegant-divider::before,
.elegant-divider::after {
  content: "";
  height: 1px;
  width: 150px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 24px;
  opacity: 0.4;
}

.elegant-divider svg {
  width: 24px;
  height: 24px;
  animation: gentlePulse 4s infinite ease-in-out;
  filter: drop-shadow(0 2px 8px rgba(184, 134, 11, 0.3));
}

@keyframes gentlePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Responsive adjustments for wedding page */
@media (max-width: 768px) {
  .gallery-page-header {
    padding: 140px 0 60px;
  }

  .wedding-subtitle::before,
  .wedding-subtitle::after {
    display: none;
  }

  .premium-gallery-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .elegant-divider::before,
  .elegant-divider::after {
    width: 80px;
    margin: 0 16px;
  }
}

/* =========================================
   LUXURY OVERLAYS & DIVIDERS
   ========================================= */

/* Ensure the card anchors the absolute overlay */
.gallery-card {
  position: relative;
  cursor: pointer;
}

/* The Cinematic Gradient Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  /* A smooth gradient that is dark at the bottom and fades up */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Pushes text to the bottom */
  padding: 40px 30px;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

/* Elegant Text Reveal Animations */
.card-overlay h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 5px;
  transform: translateY(20px);
  transition: transform 0.6s ease;
}

.card-overlay p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  transform: translateY(20px);
  transition: transform 0.6s ease 0.1s; /* The 0.1s delay creates a staggered reveal */
}

.gallery-card:hover .card-overlay h3,
.gallery-card:hover .card-overlay p {
  transform: translateY(0);
}

/* The Gold Divider styling */
.elegant-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 20px;
  color: var(--accent);
}

/* Thin luxury lines on either side of the heart */
.elegant-divider::before,
.elegant-divider::after {
  content: "";
  height: 1px;
  width: 120px;
  background: var(--accent);
  margin: 0 20px;
  opacity: 0.3;
}

.elegant-divider svg {
  width: 20px;
  height: 20px;
  animation: gentlePulse 3s infinite ease-in-out;
}

@keyframes gentlePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* =========================================
   LOGIN PAGE STYLES
   ========================================= */

.login-page {
  min-height: 100vh;
  background: var(--bg-primary);
}

.login-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left Side - Visual Slideshow */
.login-visual {
  position: relative;
  overflow: hidden;
}

.login-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.login-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.login-slide.active {
  opacity: 1;
}

.login-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  z-index: 1;
}

.login-logo-link {
  position: absolute;
  top: 40px;
  left: 60px;
  z-index: 2;
}

.login-logo {
  width: 80px;
  height: 80px;
}

.login-quote {
  color: #fff;
  max-width: 400px;
}

.login-quote h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
}

.login-quote p {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Right Side - Form Container */
.login-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--bg-primary);
}

.login-form-content {
  width: 100%;
  max-width: 420px;
}

.login-header {
  margin-bottom: 32px;
}

.login-header h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
}

.login-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Clean Back Link */
.clean-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: var(--transition);
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.clean-back-link:hover {
  color: var(--accent);
  transform: translateX(-5px);
}

/* Google Button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-hover);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-google:hover {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
}

.btn-google svg {
  flex-shrink: 0;
}

/* OR Divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 28px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider span {
  padding: 0 16px;
}

/* Auth Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.auth-form input {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.auth-form input:focus {
  border-color: var(--accent);
}

.auth-form input::placeholder {
  color: var(--text-muted);
}

.forgot-password {
  text-align: right;
}

.forgot-password a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.forgot-password a:hover {
  color: var(--accent);
}

/* Auth Error */
.auth-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  font-size: 0.85rem;
  border-radius: 4px;
}

.auth-error:empty {
  display: none !important;
}

/* Login Button */
.login-btn {
  margin-top: 8px;
}

/* Login Footer */
.login-footer {
  margin-top: 32px;
  text-align: center;
}

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

.login-footer a {
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition);
}

.login-footer a:hover {
  color: var(--accent-hover);
}

/* Loader */
.loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Clean Back Link (Overrides any default button styles) */
.clean-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: var(--transition);
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.clean-back-link:hover {
  color: var(--accent);
  transform: translateX(-5px);
}

/* Google Button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-hover);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-google:hover {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
}

/* OR Divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 28px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider span {
  padding: 0 16px;
}

/* Fix Error box showing when empty */
.auth-error:empty {
  display: none !important;
}

.hidden {
  display: none !important;
}
/* Mobile responsiveness for portfolio */
@media (max-width: 992px) {
  .portfolio-item {
    flex-direction: column;
    gap: 30px;
  }

  .portfolio-img {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .text-column .small-title::before {
    display: none;
  }
}