/* ========================================
   Milana Wellness - Website Clone
   GoDaddy Website Builder Style
======================================== */

:root {
  --primary-color: #c5a572;
  --primary-dark: #a88b5a;
  --secondary-color: #8b7355;
  --text-color: #333333;
  --text-light: #666666;
  --text-muted: #888888;
  --bg-white: #ffffff;
  --bg-light: #f9f9f9;
  --bg-cream: #faf8f5;
  --bg-dark: #2c2c2c;
  --border-color: #e5e5e5;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-white);
}

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

a:hover {
  color: var(--primary-dark);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--bg-white);
}

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

.btn-outline:hover {
  background: var(--text-color);
  color: var(--bg-white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--bg-white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: var(--bg-white);
}

.btn-whatsapp i {
  margin-right: 8px;
}

/* Top Contact Bar */
.top-contact-bar {
  background: var(--bg-dark);
  padding: 10px 20px;
  text-align: center;
}

.top-contact-bar a {
  color: var(--bg-white);
  font-size: 14px;
  font-weight: 500;
}

.top-contact-bar a:hover {
  color: var(--primary-color);
}

.top-contact-bar i {
  margin-right: 6px;
}

/* Header & Navigation */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 0;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* User Menu / Login Button */
.user-menu {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.login-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.login-btn.logged-in {
  background: #38a169;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 15px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 10px;
}

.user-dropdown-header img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.user-dropdown-header .user-info h4 {
  margin: 0;
  font-size: 15px;
  color: var(--text-color);
  font-family: var(--font-body);
}

.user-dropdown-header .user-info p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  color: var(--text-color);
  font-size: 14px;
}

.user-dropdown-item:hover {
  background: #f5f5f5;
}

.user-dropdown-item.logout {
  color: #e53e3e;
}

.user-dropdown-item i {
  width: 20px;
  text-align: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.nav-menu li a {
  display: block;
  padding: 20px 15px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary-color);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 15px 20px;
  color: var(--text-color);
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    box-shadow: var(--shadow);
    padding: 10px 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-container {
    justify-content: flex-start;
  }
  
  .user-menu {
    position: static;
    transform: none;
    margin-left: auto;
    padding-right: 10px;
  }
  
  .login-btn span {
    display: none;
  }
  
  .login-btn {
    padding: 10px 12px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: clamp(32px, 6vw, 56px);
  color: var(--bg-white);
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-color);
}

/* How I Help Section */
.how-i-help {
  background: var(--bg-white);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.help-card {
  text-align: center;
  transition: var(--transition);
}

.help-card:hover {
  transform: translateY(-5px);
}

.help-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 20px;
}

.help-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.help-card:hover .help-image img {
  transform: scale(1.05);
}

.help-card h4 {
  font-size: 20px;
  color: var(--text-color);
}

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

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

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

.service-card {
  background: var(--bg-white);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.service-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* Reviews Section */
.reviews-section {
  background: var(--bg-white);
}

.reviews-placeholder {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  background: var(--bg-light);
}

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

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

.contact-info h4 {
  font-size: 24px;
  margin-bottom: 15px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.contact-card {
  background: var(--bg-white);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-card h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

.contact-card .address {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
}

.contact-card .phone-link {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-card .directions-link {
  display: inline-block;
  font-size: 14px;
  text-decoration: underline;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--border-color) 100%);
  transition: var(--transition);
}

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

.show-more-btn {
  display: block;
  margin: 0 auto;
}

/* Wellbeing Section */
.wellbeing-section {
  background: var(--bg-cream);
}

.wellbeing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

.wellbeing-card {
  background: var(--bg-white);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.wellbeing-card:hover {
  box-shadow: var(--shadow-lg);
}

.wellbeing-card h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.wellbeing-card p {
  color: var(--text-light);
}

/* Connect Section */
.connect-section {
  background: var(--bg-white);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  color: var(--bg-white);
  border-radius: 50%;
  font-size: 20px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.connect-card {
  max-width: 500px;
  margin: 0 auto;
}

.connect-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.connect-card p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.connect-card a {
  font-size: 18px;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  padding: 30px 20px;
  text-align: center;
}

.footer p {
  color: var(--bg-white);
  font-size: 14px;
  margin-bottom: 5px;
}

.footer .powered-by {
  color: var(--text-muted);
  font-size: 12px;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 30px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cookie-content h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.cookie-content p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookie-accept {
  min-width: 150px;
}

/* Login Modal */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.login-modal {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 420px;
  width: 90%;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.login-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.login-modal-close:hover {
  color: #333;
}

.login-modal h2 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 26px;
}

.login-modal .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 15px;
}

.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--text-color);
  font-family: var(--font-body);
}

.social-btn:hover {
  border-color: var(--primary-color);
  background: #fafafa;
}

.social-btn.google {
  border-color: #ea4335;
}

.social-btn.google:hover {
  background: #fff5f5;
}

.social-btn.facebook {
  border-color: #1877f2;
}

.social-btn.facebook:hover {
  background: #f0f7ff;
}

.social-btn.apple {
  border-color: #000;
}

.social-btn.apple:hover {
  background: #f5f5f5;
}

.social-btn img, .social-btn svg {
  width: 22px;
  height: 22px;
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.login-divider span {
  padding: 0 15px;
}

.email-login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.email-login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.email-login-form .form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.email-login-form .form-group input {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s ease;
  font-family: var(--font-body);
}

.email-login-form .form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.login-submit-btn {
  padding: 14px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 5px;
  font-family: var(--font-body);
}

.login-submit-btn:hover {
  background: var(--primary-dark);
}

.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

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

/* Page Header (for inner pages) */
.page-header {
  background: var(--bg-cream);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin: 0;
}

/* About Page */
.about-section {
  background: var(--bg-white);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Locations Page */
.location-card {
  background: var(--bg-white);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.location-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.location-card p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.location-card .map-embed {
  margin-top: 20px;
  aspect-ratio: 16/9;
  background: var(--bg-light);
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-white);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.testimonial-card .stars {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-card p {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text-color);
}

/* Videos Page */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

.video-item {
  aspect-ratio: 16/9;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 48px;
}

/* ========================================
   Mobile Responsive Enhancements
======================================== */

/* Tablet */
@media (max-width: 992px) {
  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .page-header {
    padding: 40px 20px;
  }

  .page-header h1 {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 35px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-header {
    padding: 30px 15px;
  }

  .page-header h1 {
    font-size: 26px;
  }

  .container {
    padding: 0 15px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 13px;
  }

  /* Footer mobile */
  .footer {
    padding: 20px 15px;
  }

  /* Location cards mobile */
  .location-card {
    padding: 25px 20px;
  }

  /* Service cards mobile */
  .service-card {
    padding: 25px 20px;
  }

  /* Wellbeing cards mobile */
  .wellbeing-card {
    padding: 25px 20px;
  }

  /* Connect section mobile */
  .connect-card h3 {
    font-size: 22px;
  }

  /* About page mobile */
  .about-image {
    width: 180px;
    height: 180px;
  }

  .about-content h3 {
    font-size: 22px;
  }

  /* Cookie banner mobile */
  .cookie-banner {
    padding: 20px 15px;
  }

  /* Guide page common styles */
  .topic-card {
    padding: 20px 15px;
    margin-bottom: 18px;
  }

  .topic-card h3 {
    font-size: 20px;
  }

  .topic-card h4 {
    font-size: 16px;
  }

  .intro-banner {
    padding: 25px 15px;
    margin-bottom: 30px;
  }

  .highlight-box {
    padding: 15px;
  }

  /* Guide images - ensure proper mobile scaling */
  .topic-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 15px auto !important;
    border-radius: 8px;
  }

  /* Breadcrumb mobile */
  .breadcrumb {
    font-size: 13px;
    padding: 10px 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 22px;
  }

  .section-title {
    font-size: 21px;
  }

  .topic-card {
    padding: 15px 12px;
  }

  .topic-card h3 {
    font-size: 18px;
  }

  .nav-menu li a {
    padding: 10px 15px;
    font-size: 13px;
  }

  .social-links a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .login-modal {
    padding: 25px 20px;
  }

  .login-modal h2 {
    font-size: 22px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}
