/* =========================================
   Welcome Photo Studio - CSS System
   ========================================= */

:root {
  /* Branding Colors */
  --primary: #002366;
  /* Royal Blue */
  --primary-light: #163a80;
  --secondary: #F3EFE6;
  /* Soft Cream for subtle contrast */
  --accent: #D4AF37;
  /* Royal Gold */
  --accent-dark: #C5A017;
  --text-main: #2C2C2C;
  /* Dark Grey */
  --text-muted: #666666;
  --bg-main: #FDFBF7;
  /* Warm Off-White (Best for eyesight) */

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Utilities */
  --container-max: 1100px;
  --section-padding: 4.5rem 0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(30, 42, 56, 0.05);
  --shadow-md: 0 8px 20px rgba(30, 42, 56, 0.08);
  --transition: 0.3s ease-in-out;
}

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

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

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

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

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

/* Structural Classes */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-main);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-main);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-en {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.logo-hi {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.2rem;
}

.desktop-nav {
  display: none;
}

.header-cta {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 60vh;
  max-height: 650px; /* Crucial fix: prevents brutal laptop zooming! */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url('images/IMG_3610.JPG');
  background-size: cover;
  background-position: center 25%; /* Keeps priority on the upper third (faces) */
  padding-bottom: 4rem;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Magically leaves top of the image 100% clear while shading the slogan at the bottom */
  background: linear-gradient(to top, rgba(10, 20, 35, 0.85) 0%, rgba(10, 20, 35, 0) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--bg-main);
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 767px) {
  .hero {
    min-height: 75vh;
    max-height: none; /* Let mobile displays rely on portrait height natively */
    background-position: center 20%;
    padding-bottom: 3rem;
  }
}

.hero-title {
  color: var(--bg-main);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.star-color {
  color: #FFC107;
  margin-right: 0.4rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* About Section */
.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-main);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--secondary);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.tag-fast {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
}

/* Why Choose Us */
.features-container {
  max-width: 800px;
  margin: 2rem auto 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.feature-item i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-right: 1rem;
}

.feature-item strong {
  color: var(--primary);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.review-card {
  background: var(--bg-main);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.r-stars {
  color: #FFC107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.r-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.r-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.g-item {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.g-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  color: var(--bg-main);
  text-align: center;
}

.cta-section h2 {
  color: var(--bg-main);
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

/* Footer & Contact */
.footer {
  background-color: var(--primary-light);
  color: var(--secondary);
  padding: 4rem 0 2rem;
}

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

.footer h4 {
  color: var(--bg-main);
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  color: #A0B0C0;
  font-size: 0.95rem;
}

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

.contact-item {
  display: flex;
  margin-bottom: 1rem;
}

.contact-item span {
  margin-right: 0.8rem;
  color: var(--accent);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #8898AA;
}

/* Sticky Mobile CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.m-btn {
  flex: 1;
  padding: 1.1rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.m-call {
  background-color: var(--accent);
  color: white;
}

.m-dir {
  background-color: var(--bg-main);
  color: var(--primary);
}

/* Decorative */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.underline {
  width: 50px;
  height: 3px;
  background-color: var(--accent);
  margin: 1rem auto 0;
}

/* Media Queries (Desktop First logic, handled primarily above for mobile) */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  .desktop-nav {
    display: block;
  }

  .nav-menu {
    display: flex;
    gap: 2rem;
  }

  .nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
  }

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

  .header-cta {
    display: block;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .about-wrapper {
    flex-direction: row;
    align-items: center;
  }

  .about-text,
  .about-img-box {
    flex: 1;
  }

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

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

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

  .gallery-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }

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

  .mobile-sticky-cta {
    display: none;
  }
}

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

@media (max-width: 767px) {
  body {
    padding-bottom: 65px;
    /* space for sticky bar */
  }
  
  .whatsapp-float {
    bottom: 85px !important; /* Move above mobile sticky bar */
    right: 15px !important;
    width: 55px !important;
    height: 55px !important;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  border-radius: 50px;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

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