/* ============================================================================
   RAVI STUDIO - STATIC WEBSITE STYLESHEET
   Golden Hour Editorial Design
   ============================================================================ */

/* ============================================================================
   1. ROOT VARIABLES & THEME CONFIGURATION
   ============================================================================ */

:root {
  /* Golden Hour Editorial Palette */
  --primary: oklch(0.78 0.15 85);
  --primary-foreground: oklch(0.2 0.05 85);
  --secondary: oklch(0.95 0.03 95);
  --secondary-foreground: oklch(0.3 0.05 50);
  --accent: oklch(0.65 0.18 45);
  --accent-foreground: oklch(0.98 0.01 95);
  --background: oklch(0.98 0.01 90);
  --foreground: oklch(0.2 0.02 50);
  --card: oklch(0.99 0.005 90);
  --card-foreground: oklch(0.2 0.02 50);
  --muted: oklch(0.92 0.02 90);
  --muted-foreground: oklch(0.5 0.05 50);
  --border: oklch(0.85 0.05 90);
  --input: oklch(0.85 0.05 90);
  --ring: oklch(0.78 0.15 85);

  /* Font Families */
  --font-heading: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;

  /* Spacing */
  --radius: 0.5rem;
}

/* ============================================================================
   2. RESET & BASE STYLES
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

button, [role="button"], [type="button"], [type="submit"], [type="reset"],
a[href], select, input[type="checkbox"], input[type="radio"] {
  cursor: pointer;
}

button:disabled, [aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Global Button Styles */
button {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

button:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  background-color: var(--muted);
  color: var(--muted-foreground);
  cursor: not-allowed;
  transform: none;
}

/* ============================================================================
   3. LAYOUT & SPACING UTILITIES
   ============================================================================ */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

.min-h-screen {
  min-height: 100vh;
}

.h-screen {
  height: 100vh;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.text-white {
  color: #ffffff;
}

.text-white\/90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-white\/30 {
  color: rgba(255, 255, 255, 0.3);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-light {
  font-weight: 300;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.leading-relaxed {
  line-height: 1.75;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-90 {
  opacity: 0.9;
}

/* ============================================================================
   4. NAVIGATION
   ============================================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(var(--background), 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--border), 0.4);
  height: 80px;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

nav .logo {
  cursor: pointer;
  height: 64px;
  width: auto;
}

nav .logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  nav .logo {
    height: 96px;
  }
}

nav .nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  nav .nav-menu {
    display: flex;
  }
}

nav .nav-menu button {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: none;
  border: none;
  color: var(--foreground);
  transition: color 0.3s ease;
  padding: 0;
}

nav .nav-menu button:hover {
  color: var(--primary);
}

/* Exclude nav menu navigation buttons from global button styles */
nav .nav-menu button:not(.book-btn) {
  background: none !important;
  color: var(--foreground);
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
}

nav .nav-menu button:not(.book-btn):hover {
  color: var(--primary);
  transform: none;
}

/* Book Us Now button in nav inherits global button styles */
nav .book-btn {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 9999px !important;
  border: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* ============================================================================
   5. HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero .gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background) 0%, transparent 50%, transparent 100%);
  z-index: 2;
}

.hero .content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding-top: 5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  tracking-tight: -0.025em;
  animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 6rem;
  }
}

.hero .subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
  .hero .subtitle {
    font-size: 1.5rem;
  }
}

.hero .cta-btn {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem 2rem;
  border-radius: 9999px;
  border: none;
  font-size: 1.125rem;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: background-color 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .cta-btn:hover {
  background-color: rgba(var(--primary), 0.9);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================================
   6. SECTIONS
   ============================================================================ */

section {
  padding: 6rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

section .section-divider {
  width: 6rem;
  height: 4px;
  background-color: var(--primary);
  margin: 1.5rem auto 1.5rem;
}

section .section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto 4rem;
}

/* ============================================================================
   7. ABOUT SECTION
   ============================================================================ */

#about {
  background-color: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  position: relative;
  sticky: top 6rem;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(var(--primary), 0.3);
  border-radius: 0.5rem;
}

.about-image img {
  position: relative;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-content li {
  display: flex;
  gap: 0.75rem;
}

.about-content li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.about-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.75;
}

.about-content .results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .about-content .results-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content .result-card {
  background-color: rgba(var(--secondary), 0.2);
  padding: 1rem;
  border-radius: 0.5rem;
}

.about-content .btn {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  padding: 1rem 2rem !important;
  border-radius: 9999px !important;
  border: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  display: inline-block !important;
  margin-top: 1rem;
}

.about-content .btn:hover {
  background-color: var(--accent) !important;
  transform: translateY(-2px) !important;
}

.about-content .btn:active {
  transform: translateY(0) !important;
}

.about-content .result-card h4 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.about-content .result-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}
/* Make "All-in-One Creative Partner:" and similar labels smaller */
.about-content li span {
  font-size: 0.875rem; /* 11px */
}

/* ============================================================================
   8. SERVICES SECTION
   ============================================================================ */

#services {
  background-color: rgba(var(--secondary), 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.service-card {
  background-color: var(--card);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-content h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.service-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

/* ============================================================================
   9. PORTFOLIO SECTION
   ============================================================================ */

#portfolio {
  background-color: var(--background);
}

.portfolio-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  display: flex;
  gap: 1rem;
}

@media (min-width: 768px) {
  .carousel-item {
    min-width: 50%;
  }
}

@media (min-width: 1024px) {
  .carousel-item {
    min-width: 33.333%;
  }
}

.portfolio-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: var(--accent);
}

/* ============================================================================
   10. TEAM SECTION
   ============================================================================ */

#team {
  background-color: var(--background);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

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

.team-member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.team-member .role {
  font-size: 0.875rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================================
   11. TESTIMONIALS SECTION
   ============================================================================ */

#testimonials {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

#testimonials h2 {
  color: var(--primary-foreground);
}

#testimonials .section-divider {
  background-color: var(--primary-foreground);
}

.testimonial-carousel {
  position: relative;
  text-align: center;
  padding: 3rem 2rem;
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.testimonial-role {
  font-size: 0.875rem;
  opacity: 0.9;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(var(--primary-foreground), 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-foreground);
}

/* ============================================================================
   12. CONTACT SECTION
   ============================================================================ */

#contact {
  background-color: var(--background);
}

.contact-intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
  color: var(--muted-foreground);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.contact-item {
  text-align: center;
  padding: 2rem;
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
}

.contact-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.contact-item h4 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

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

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

.contact-cta .btn {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  padding: 1rem 2rem !important;
  border-radius: 9999px !important;
  border: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  display: inline-block !important;
}

.contact-cta .btn:hover {
  background-color: var(--accent) !important;
  transform: translateY(-2px) !important;
}

.contact-cta .btn:active {
  transform: translateY(0) !important;
}

/* ============================================================================
   13. FOOTER
   ============================================================================ */

footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  padding: 2rem;
}

footer p {
  margin-bottom: 0;
}

/* ============================================================================
   14. RESPONSIVE UTILITIES
   ============================================================================ */

@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1rem; }
  
  section {
    padding: 3rem 0;
  }
  
  nav .logo {
    height: 48px;
  }
}

/* ============================================================================
   15. ANIMATIONS
   ============================================================================ */

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

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

.slide-in {
  animation: slideIn 0.6s ease-out;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}