/*
Theme Name: August Dental
Theme URI: https://example.com/august-dental
Author: Lovable AI
Description: A custom WordPress theme converted from the August Dental React application.
Version: 1.0.0
Text Domain: august-dental
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

/* ============================================
   WORDPRESS-READY CSS STYLES
   Clean, semantic classes for easy WP conversion
   ============================================ */

/* === VARIABLES === */
:root {
  /* Colors */
  --color-gold: #C9A766;
  --color-gold-dark: #B8954D;
  --color-charcoal: #1F2523;
  --color-charcoal-light: #2A3330;
  --color-white: #FFFFFF;
  --color-cream: #FAFAF8;
  --color-text: #1F2523;
  --color-text-light: #666666;
  --color-border: #E5E5E5;
  
  /* Typography */
  --font-primary: 'Lato', sans-serif;
  --font-heading: 'Merriweather', serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  margin-top: 0 !important; /* Fix for WP Admin bar bumping content */
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === UTILITY CLASSES === */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--color-white);
}

.text-gold {
  color: var(--color-gold);
}

.bg-white {
  background-color: var(--color-white);
}

.bg-charcoal {
  background-color: var(--color-charcoal);
}

.bg-gold {
  background-color: var(--color-gold);
}

/* === NAVIGATION === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 56px;
  transition: filter 0.3s ease;
}

.site-header.scrolled .site-logo img {
  filter: brightness(0);
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-header.scrolled .nav-link {
  color: var(--color-text);
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--color-cream);
  color: var(--color-gold);
}

.btn-primary {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--color-gold-dark);
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 0.5rem;
}

.site-header.scrolled .mobile-menu-toggle {
  color: var(--color-text);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-white);
  padding: 0 1.5rem;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.25rem;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  max-width: 800px;
  margin: 1.5rem auto 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* === SPLIT SECTIONS === */
.split-section {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .split-section {
    flex-direction: row;
  }
  
  .split-section.reverse {
    flex-direction: row-reverse;
  }
}

.split-image {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .split-image {
    width: 50%;
    height: 100vh;
  }
}

.split-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.split-image.rounded {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .split-image.rounded {
    padding: 4rem;
  }
}

.split-image.rounded .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  overflow: hidden;
}

.split-image.rounded img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

@media (min-width: 1024px) {
  .split-content {
    width: 50%;
    padding: 4rem;
  }
}

.split-content-inner {
  max-width: 480px;
  text-align: center;
}

.decorative-image {
  width: 280px;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0);
  opacity: 0.8;
  margin: 0 auto 2rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.bg-charcoal .section-title {
  color: var(--color-white);
}

.bg-charcoal .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-gold);
  margin-top: 1rem;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2rem;
  transition: gap 0.3s ease;
}

.btn-arrow:hover {
  gap: 1.25rem;
}

.btn-arrow svg {
  width: 40px;
  height: 6px;
}

.bg-charcoal .btn-arrow {
  color: var(--color-white);
}

/* === FOOTER === */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 6rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-logo {
  height: 64px;
  margin-bottom: 2rem;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-phone {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: var(--color-white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-top: 3rem;
}

.footer-form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-form-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.footer-form-text a {
  color: var(--color-gold);
}

.form-input {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-textarea {
  resize: none;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-submit:hover {
  background: var(--color-gold-dark);
}

/* === PROMO BANNER === */
.promo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-gold);
  color: var(--color-white);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.promo-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 0.5rem;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .promo-title {
    font-size: 2rem;
  }
}

.promo-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.promo-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.875rem 2rem;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.promo-btn:hover {
  opacity: 0.9;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--color-white);
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
}

.mobile-menu-section {
  margin-bottom: 2rem;
}

.mobile-menu-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.mobile-menu-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  padding: 0.5rem 0;
  color: var(--color-text);
}

/* === WORDPRESS SPECIFIC === */
.aligncenter {
  text-align: center;
  display: block;
  margin: 0 auto;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}
