/* Portfolio Styles */

:root {
  --bg-color: #080808;
  /* Deep rich black */
  --text-color: #f5f5f5;
  /* Off-white for readability */
  --text-light: #9a9a9a;
  /* Soft grey */
  --accent-color: #D4AF37;
  /* Luxury Metallic Gold */
  --accent-glow: rgba(212, 175, 55, 0.4);
  --border-color: #222222;
  --white: #ffffff;

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

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --error-color: #ff4d4d;
  --success-color: #22c55e;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  align-items: center;
}

.toast {
  min-width: 300px;
  max-width: 420px;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.1);
  animation: toastSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.toast.success {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(34, 197, 94, 0.15);
}

.toast.error {
  border-color: rgba(255, 77, 77, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 77, 77, 0.15);
}

.toast.loading {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
}

@keyframes toastSlideDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast.fade-out {
  animation: toastFadeOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-40px); }
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 18px;
  height: 18px;
}

.toast.success .toast-icon {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success-color);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.toast.error .toast-icon {
  background: rgba(255, 77, 77, 0.12);
  color: var(--error-color);
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.toast.loading .toast-icon {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.toast-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-top: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: toast-spin 0.8s linear infinite;
}

@keyframes toast-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.1rem;
  letter-spacing: 0.3px;
}

.toast-message {
  font-size: 0.85rem;
  color: #d1d1d1; /* Brighter grey for better contrast */
  line-height: 1.4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  border: none;
  outline: none;
}

html,
body {
  width: 100vw;
}

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

h1,
h2,
h3,
h4,
.logo {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text-color);
}

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

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

section {
  padding: 8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.65);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.8rem 5%;
  background: rgba(8, 8, 8, 0.85);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-color);
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  animation: logoFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoFade {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.logo:hover {
  transform: scale(1.02);
  color: var(--accent-color);
}

.navbar {
  display: flex;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
}

.navbar a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(-10px);
  animation: navLinkFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navLinkFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar a:nth-child(1) { animation-delay: 0.1s; }
.navbar a:nth-child(2) { animation-delay: 0.2s; }
.navbar a:nth-child(3) { animation-delay: 0.3s; }
.navbar a:nth-child(4) { animation-delay: 0.4s; }
.navbar a:nth-child(5) { animation-delay: 0.5s; }

.navbar a:hover, 
.navbar a.active {
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px var(--accent-glow);
}

.navbar a.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}



.btn-nav {
  padding: 0.7rem 1.5rem;
  background: var(--accent-color);
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
  background: #e5c048;
}

/* Animated Menu Icon */
.menu-icon {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  width: 30px;
  z-index: 1001;
}

.menu-icon span {
  width: 100%;
  height: 2px;
  background: var(--text-color);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-icon span:last-child {
  width: 70%;
  align-self: flex-end;
}

.menu-icon.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-icon.active span:last-child {
  width: 100%;
  transform: translateY(-4px) rotate(-45deg);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.25s;
}

.delay-3 {
  transition-delay: 0.4s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #000;
  border: 1px solid var(--accent-color);
  font-weight: 600;
  box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  box-shadow: 0 0 30px var(--accent-glow);
}

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

.btn-outline:hover {
  background-color: var(--accent-color);
  color: #000;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline-small {
  padding: 1rem 2rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  color: var(--text-light);
}

.btn-outline-small:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.w-100 {
  width: 100%;
  text-align: center;
}

/* Home */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center; /* Back to centering for stability */
  justify-content: space-between;
  gap: 5rem;
  padding-top: 8rem;
}

.home-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}

.subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 500;
}

.home-content h1 {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.home-content h1 span {
  font-style: italic;
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.description {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 3.5rem;
  max-width: 500px;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links-hero {
  display: flex;
  gap: 1rem;
}

.social-links-hero a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  transition: var(--transition);
}

.social-links-hero a:hover {
  color: var(--accent-color);
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

.social-links-hero svg {
  transition: transform 0.4s ease;
}

.social-links-hero a:hover svg {
  transform: scale(1.1);
}

/* Contact Social Grid */
.social-grid {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-light);
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--accent-color);
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.social-icon svg {
  transition: transform 0.4s ease;
}

.social-icon:hover svg {
  transform: scale(1.1);
}

.home-img {
  flex: 1.5; /* Give even more room to the image */
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  overflow: visible; /* Ensure scale doesn't clip */
}

.home-img img {
  width: auto;
  height: 90vh; /* Fill most of the screen height */
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.2)) brightness(1.1) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  margin-bottom: -12rem; /* Pull deep into the base */
  transform: scale(1.4); /* Commanding presence */
  transform-origin: bottom right;
}

.home-img::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.home-img img {
  width: auto;
  height: 86vh;
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.2)) brightness(1.1) contrast(1.05);
  transition: filter 0.6s ease;
  z-index: 2;
  margin-bottom: -12rem;
  transform: scale(1.4);
  transform-origin: bottom right;
}

.home-img img:hover {
  filter: drop-shadow(0 0 70px rgba(212, 175, 55, 0.3)) brightness(1.15) contrast(1.1);
}

/* About Section */
.about {
  background-color: #111;
  padding: 8rem 5%;
  border-radius: 40px;
  margin: 0 2rem;
  max-width: calc(100% - 4rem);
  border: 1px solid #1a1a1a;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-img img:hover {
  transform: scale(1.02);
}

.about-content h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.about-content p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.stats {
  display: flex;
  gap: 4rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent-color);
}

.stack-display {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
}

.stack-display span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent-color);
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

/* Works Section */
.works {
  padding-top: 10rem;
}

.section-header {
  margin-bottom: 6rem;
}

.section-header h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.section-header.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.works-container {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.work-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: center;
}

.work-card.reverse {
  grid-template-columns: 1fr 1.4fr;
}

.work-card.reverse .img-placeholder {
  order: 2;
}

.work-card.reverse .work-info {
  order: 1;
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border-color);
  transition: transform 0.6s ease, border-color 0.4s ease;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #111, #1a1a1a);
}

.img-placeholder.light {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
}

.img-placeholder.dark {
  background: linear-gradient(145deg, #0a0a0a, #111111);
}

.img-placeholder.beige {
  background: linear-gradient(145deg, #1f1f1f, #151515);
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  opacity: 0.6;
  transition: transform 0.6s ease, color 0.4s ease;
  color: var(--text-light);
}

.work-card:hover .img-placeholder {
  transform: scale(1.02);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

.work-card:hover .brand-logo {
  transform: scale(1.05);
  color: var(--accent-color);
  text-shadow: 0 0 15px var(--accent-glow);
}

.work-info h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.work-info p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tags span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--accent-color);
}

/* CTA Section */
.cta-section {
  padding: 10rem 5%;
  text-align: center;
}

.cta-container {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(145deg, #111, #080808);
  padding: 6rem 4rem;
  border-radius: 40px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.cta-container:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content h2 {
  font-size: 4rem;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.cta-content p {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.italic-accent {
  font-style: italic;
  color: var(--accent-color);
  font-family: var(--font-heading);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* Better Contact Section Redesign */
.contact {
  padding: 10rem 5%;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  background: rgba(212, 175, 55, 0.03);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.contact-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-card:hover::after {
  transform: translateX(100%);
}

.icon-box {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.contact-card:hover .icon-box {
  background: var(--accent-color);
  color: #000;
  transform: scale(1.05);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-color);
}

.contact-card p,
.contact-card .inline-link {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.8;
}

.inline-link {
  color: var(--accent-color) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 1 !important;
}

.social-grid {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icon img,
.social-icon svg {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.social-icon:hover img,
.social-icon:hover svg {
  opacity: 1;
}



/* Decorative Animation Container */
.animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding: 3rem 0;
}

.rotating-badge {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotating-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateText 15s linear infinite;
  transform-origin: center;
}

.badge-text {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 4px;
  fill: var(--text-light);
  text-transform: uppercase;
  transition: var(--transition);
}

.rotating-badge:hover .badge-text {
  fill: var(--accent-color);
}

.badge-center {
  position: absolute;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.rotating-badge:hover .badge-center {
  background: rgba(212, 175, 55, 0.15);
  transform: scale(1.1);
}

.pulsing-core {
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-color);
  animation: pulseCore 2s ease-in-out infinite alternate;
}

@keyframes rotateText {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseCore {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
  }

  100% {
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(212, 175, 55, 1);
  }
}

/* Availability Card */
.availability-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #111;
  border: 1px solid #222;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.availability-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

html[data-theme='light'] .availability-card {
  background: #fff;
  border-color: #eee;
}

html[data-theme='light'] .availability-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(200, 160, 40, 0.1);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-color);
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background-color: #22c55e;
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-dot 2s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.location-time {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-light);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.location-time svg {
  color: var(--accent-color);
}

.contact-form-container {
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  transform: translate(30%, -30%);
  pointer-events: none;
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.form-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-form .input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.input-group {
  position: relative;
  margin-bottom: 1.8rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group textarea {
  resize: vertical;
  min-height: 40px;
}

.input-group label {
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  letter-spacing: 0;
}

.input-group input:focus,
.input-group textarea:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label {
  top: -0.8rem;
  left: 0.8rem;
  font-size: 0.7rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--bg-color);
  padding: 0 0.5rem;
  border-radius: 4px;
}

.contact-form .btn {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

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

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

/* Form Status Alerts */
.form-status {
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.8rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(10px);
  font-weight: 500;
  line-height: 1.4;
}

.form-status:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}

.form-status.success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
  background: rgba(255, 77, 77, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(255, 77, 77, 0.2);
}

/* Validation Styles */
.input-group input:invalid:not(:placeholder-shown) {
  border-bottom-color: var(--error-color);
}

.input-group input:invalid:not(:placeholder-shown)+label {
  color: var(--error-color);
}

/* Footer */
.footer {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: opacity 0.3s ease;
  object-fit: cover;
  display: block;
  opacity: 0.8;
}

.admin-avatar-wrapper {
  display: block;
  line-height: 0;
  cursor: default; /* Hidden link feel - no pointer */
  text-decoration: none;
}

.admin-avatar-wrapper:hover .footer-avatar {
  opacity: 1;
  /* No scale or glow to keep it hidden */
}

.footer .logo {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent-color);
  transition: var(--transition);
} 

.footer .logo:hover {
  color: var(--white);
  transform: translateY(-3px);
  text-shadow: 0 0 15px var(--accent-glow);
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a,
.footer-social a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

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

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 25px; opacity: 0; }
}

.arrows span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--accent-color);
  border-right: 2px solid var(--accent-color);
  transform: rotate(45deg);
  margin: -4px;
  animation: scroll-arrows 2s infinite;
}

.arrows span:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes scroll-arrows {
  0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* Media Queries */
@media (max-width: 1024px) {
  .home h1 {
    font-size: 4rem;
  }

  .about-grid,
  .work-card,
  .work-card.reverse,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .work-card.reverse .img-placeholder {
    order: 1;
  }

  .work-card.reverse .work-info {
    order: 2;
  }

  .about {
    margin: 1rem auto;
    max-width: calc(100% - 2rem);
    padding: 5rem 2rem;
  }

  .cta-content h2 {
    font-size: 3.2rem;
  }

  .cta-container {
    padding: 5rem 3rem;
  }
}

@media (max-width: 768px) {

  section {
    padding: 4rem 5%;
  }

  .cta-section {
    padding: 6rem 5%;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

  .cta-actions {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  .cta-container {
    padding: 3.5rem 1.5rem;
    border-radius: 30px;
  }

  .about {
    margin: 0.5rem auto;
    max-width: calc(100% - 1rem);
    padding: 4rem 1.5rem;
    border-radius: 20px;
  }

  .header {
    padding: 1rem 5%;
    justify-content: space-between;
  }

  .logo {
    font-size: 1.4rem;
  }

  .menu-icon {
    display: flex;
  }

  .btn-nav {
    display: none; /* Hide button on very small screens to avoid clutter */
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    flex: unset;
    padding: 6rem 2rem;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; /* Always flex, but moved off-screen */
  }

  .navbar.active {
    transform: translateX(0);
  }

  .navbar a {
    font-size: 1.5rem;
    opacity: 1; /* Reset for mobile */
    transform: none; /* Reset for mobile */
    animation: none; /* Reset for mobile */
  }

  .home {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 5rem; /* Reduced space from top */
    min-height: auto;
    gap: 2rem;
  }

  .home-content h1 {
    font-size: 3.5rem;
  }

  .description {
    margin: 0 auto 3rem auto;
  }

  .btn-group {
    justify-content: center;
    flex-direction: column;
  }

  .social-links-hero {
    justify-content: center;
  }

  .home-img {
    height: auto;
    min-height: unset;
  }

  .home-img img {
    position: relative;
    bottom: 0;
    width: 110%; /* Slightly larger */
    height: auto;
    max-width: 500px; /* Increased max width */
    margin: 0 -5% 0 -5%; /* Center it despite being wider than 100% */
    transform: none;
  }

  /* Works section mobile enhancements */
  .works-container {
    gap: 4rem;
  }

  .work-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .work-info p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .tags {
    margin-bottom: 2rem;
  }

  .work-info .btn-outline-small {
    display: block;
    width: 100%;
    margin-left: 0 !important;
    margin-bottom: 1rem;
    text-align: center;
  }

  /* Rates section mobile enhancements */


  .contact-form .input-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-container {
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
  }

  .contact-form h3 {
    font-size: 1.8rem;
  }

  .contact-info h2 {
    font-size: 2.5rem;
  }

  .about-content h2,
  .section-header h2 {
    font-size: 2.5rem;
  }

  .stats {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    padding-top: 2rem;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .icon-box {
    width: 45px;
    height: 45px;
  }

  /* Footer mobile redesign */
  .footer {
    padding: 5rem 6% 3rem;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .footer-logo-group {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    padding-bottom: 1.5rem;
  }

  .footer-logo-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  }

  .footer .logo {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  /* Nav links — Elegant 2×2 grid */
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 3rem;
    justify-items: center;
  }

  .footer-links a {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-light);
  }

  /* Social links — Cleaner layout */
  .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
  }

  .social-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
  }

  .share-btn-pill {
    margin-left: 0;
    width: fit-content;
  }

  .copyright {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    opacity: 0.6;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-section {
    padding: 4rem 3%;
  }

  .cta-container {
    padding: 3rem 1.2rem;
    border-radius: 24px;
  }

  .cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .cta-actions .btn {
    padding: 1rem 2rem;
    font-size: 0.85rem;
  }
}



/* Most Popular Badge */
.badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--accent-color);
  color: #000;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-weight: 600;
}


/* Share Button & Modal Styles */
.share-btn-pill {
  background: rgba(212, 175, 55, 0.05);
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  color: var(--accent-color);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.share-btn-pill:hover {
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.share-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.share-modal {
  background: #111;
  border: 1px solid var(--accent-color);
  border-radius: 24px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.share-modal-overlay.active .share-modal {
  transform: translateY(0);
}

.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.share-modal-header h3 {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 1.2rem 0.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.share-option:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.2);
  color: var(--accent-color);
  transform: translateY(-3px);
}

.share-option svg {
  transition: transform 0.3s ease;
}

.share-option:hover svg {
  transform: scale(1.1);
}

.copy-link-box {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  gap: 0.5rem;
  align-items: center;
}

.copy-link-box input {
  background: none;
  border: none;
  color: var(--text-light);
  width: 100%;
  font-size: 0.85rem;
  padding-left: 0.5rem;
  outline: none;
}

.copy-btn {
  background: var(--accent-color);
  color: #000;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Scroll Up Indicator in Footer */
.scroll-indicator.scroll-up {
  position: absolute;
  top: -4rem;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 100;
  opacity: 1;
  visibility: visible;
  transition: all 0.4s ease;
}

.scroll-indicator.scroll-up:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator.scroll-up .arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(180deg); /* Flip arrows to point up */
  margin-bottom: 0.5rem;
}

.scroll-indicator.scroll-up .wheel {
  animation: scroll-wheel-up 2s infinite;
}

@keyframes scroll-wheel-up {
  0% { top: 25px; opacity: 1; }
  100% { top: 6px; opacity: 0; }
}

@media (max-width: 768px) {
  .scroll-indicator.scroll-up {
    top: -3.5rem;
    transform: translateX(-50%) scale(0.8);
  }
  
  .scroll-indicator.scroll-up:hover {
    transform: translateX(-50%) translateY(-3px) scale(0.8);
  }
}
