/* Studio Aura - Design System & Custom Styles */

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

/* --- Custom Variables & Reset --- */
:root {
  --color-bg-primary: #FAF9F6;     /* Soft luxury alabaster white */
  --color-bg-secondary: #F3F1EB;   /* Elegant warm stone light grey */
  --color-text-primary: #1C1A17;   /* Rich warm charcoal/dark stone */
  --color-text-secondary: #6B665F; /* Soft muted grey-brown */
  --color-accent: #C5A880;         /* Soft champagne/warm gold */
  --color-accent-dark: #A68A62;    /* Dark gold for hover states */
  --color-card-bg: rgba(255, 255, 255, 0.8);
  --color-white: #FFFFFF;
  --color-success: #5F8575;        /* Sage green for success state */
  --color-error: #B05B5B;          /* Terracotta for error state */
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 40px rgba(28, 26, 23, 0.06);
  --glass-blur: blur(12px);
  --border-glass: 1px solid rgba(255, 255, 255, 0.6);
  
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* --- Base Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background-color: var(--color-accent);
  margin-top: 1rem;
}

h2.section-title.center::after {
  margin: 1rem auto 0 auto;
}

p {
  color: var(--color-text-secondary);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 300;
}

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

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 0;
}

/* --- Navigation Header --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 24px 0;
}

.navbar.scrolled {
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(28, 26, 23, 0.05);
  padding: 16px 0;
}

.navbar .nav-container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--color-bg-secondary);
  overflow: hidden;
  padding-top: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.hero-content {
  z-index: 2;
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--color-accent);
}

.hero h1 {
  margin-bottom: 2rem;
  font-style: italic;
}

.hero p {
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.cta-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 0px; /* Luxury sharp edge */
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-text-primary);
  color: var(--color-bg-primary);
  border: 1px solid var(--color-text-primary);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-text-primary);
}

.btn-secondary:hover {
  background-color: rgba(28, 26, 23, 0.04);
  transform: translateY(-2px);
}

/* Hero Image Container */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-container {
  width: 100%;
  height: 550px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-premium);
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-container:hover img {
  transform: scale(1.08);
}

/* Float Badge */
.experience-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background-color: var(--color-white);
  border: var(--border-glass);
  padding: 30px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 5;
}

.experience-badge .number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-primary);
  font-weight: 600;
}

/* --- Services Section --- */
.services-section {
  background-color: var(--color-bg-primary);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  padding: 50px 40px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  border: 1px solid rgba(28, 26, 23, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-bottom: 2px solid var(--color-accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  flex-grow: 1;
}

/* --- Gallery/Portfolio Section --- */
.gallery-section {
  background-color: var(--color-bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(28, 26, 23, 0.8) 0%, rgba(28, 26, 23, 0.1) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(0px);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  backdrop-filter: blur(2px);
}

.gallery-overlay h4 {
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.1s;
}

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

/* --- About Section --- */
.about-section {
  background-color: var(--color-bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.about-metric {
  border-left: 2px solid var(--color-accent);
  padding-left: 20px;
}

.about-metric .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-accent);
  font-weight: 500;
}

.about-metric .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-secondary);
}

/* --- Contact & Form Section --- */
.contact-section {
  background-color: var(--color-bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-style: italic;
}

.contact-info p {
  margin-bottom: 40px;
  max-width: 400px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item-icon {
  color: var(--color-accent);
  font-size: 1.2rem;
  padding-top: 4px;
}

.contact-item-text h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-item-text p {
  font-size: 1rem;
}

/* Form Styling - Glassmorphism */
.contact-card {
  background: var(--color-card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-glass);
  padding: 50px;
  box-shadow: var(--shadow-premium);
  position: relative;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-control {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(28, 26, 23, 0.15);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-bottom-color: var(--color-accent);
}

.form-label {
  position: absolute;
  top: 12px;
  left: 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
}

/* Float labels on focus/fill */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -12px;
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 1px;
}

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

/* Validation status indicators */
.form-control.error {
  border-bottom-color: var(--color-error);
}

.form-control.success {
  border-bottom-color: var(--color-success);
}

.error-message {
  color: var(--color-error);
  font-size: 0.75rem;
  position: absolute;
  bottom: -18px;
  left: 0;
  opacity: 0;
  transition: var(--transition-fast);
}

.form-control.error ~ .error-message {
  opacity: 1;
}

/* --- Feedback Overlay Modal --- */
.feedback-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 10;
}

.feedback-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.feedback-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(95, 133, 117, 0.1);
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 25px;
}

.feedback-overlay h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--color-text-primary);
}

.feedback-overlay p {
  max-width: 320px;
  margin-bottom: 30px;
}

/* --- Footer --- */
footer {
  background-color: var(--color-text-primary);
  color: var(--color-bg-primary);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  border-bottom: 1px solid rgba(250, 249, 246, 0.1);
  padding-bottom: 60px;
  margin-bottom: 40px;
}

.footer-about h3 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  font-family: var(--font-heading);
}

.footer-about p {
  color: rgba(250, 249, 246, 0.6);
  max-width: 320px;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: rgba(250, 249, 246, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(250, 249, 246, 0.4);
}

/* --- Floating WhatsApp CTA --- */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25D366; /* Standard WhatsApp Green or custom color if requested */
  color: var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  z-index: 999;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #20BA5A;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* Pulse animation for CTA hint */
.whatsapp-float::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #25D366;
  animation: pulse-ring 2s infinite;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* --- Scroll Entrance Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    text-align: center;
  }
  
  .hero-subtitle {
    justify-content: center;
  }
  
  .hero-subtitle::before {
    display: none;
  }
  
  .hero p {
    margin: 0 auto 2.5rem auto;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .experience-badge {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 0;
    background-color: var(--color-bg-primary);
    border-bottom: 1px solid rgba(28, 26, 23, 0.05);
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--color-bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
  
  .hero-img-container {
    height: 400px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 320px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .whatsapp-float {
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
