/* 
   ANATOLIAN BATHROOM RENOVATIONS SYDNEY - Style System
   Custom Luxury Theme for Google Ads Conversion Optimization
*/

/* 1. CSS VARIABLES & RESET */
:root {
  --color-dark: #121A20;
  --color-charcoal: #1C262F;
  --color-gold: #C5A059;
  --color-gold-hover: #AF8B44;
  --color-gold-light: #F7F3EB;
  --color-cream: #FAF9F6;
  --color-white: #FFFFFF;
  --color-muted: #62727D;
  --color-border: #E2E8F0;
  --color-success: #2E7D32;
  --color-error: #D32F2F;
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 16px rgba(18, 26, 32, 0.08);
  --shadow-lg: 0 16px 32px rgba(18, 26, 32, 0.15);
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-charcoal);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* 2. TYPOGRAPHY & HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

p {
  font-size: 1.05rem;
  color: var(--color-charcoal);
}

strong {
  font-weight: 700;
  color: var(--color-dark);
}

/* 3. LAYOUT UTILITIES */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  margin-bottom: 16px;
}

.subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--color-muted);
}

.gold-divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 16px auto 24px auto;
}

/* 4. BUTTONS & ACTIONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

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

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
}

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

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

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-arrow {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* 5. HEADER STYLING */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  line-height: 1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-top: 4px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone-link {
  display: flex;
  align-items: center;
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.phone-link:hover {
  color: var(--color-gold);
}

.phone-icon {
  margin-right: 8px;
  color: var(--color-gold);
}

/* Page body padding for fixed header */
main {
  margin-top: 80px;
}

/* 6. HERO SECTION */
.hero-section {
  position: relative;
  /* Next-gen responsive hero background styling */
  background-image: url("hero.png");
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 26, 32, 0.9) 0%, rgba(18, 26, 32, 0.5) 100%);
  z-index: 1;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  color: var(--color-white);
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  background-color: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--color-gold);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.trust-badge-pill .stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-right: 8px;
  letter-spacing: 0.1em;
}

.trust-badge-pill .rating-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.hero-section h1 {
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-bullets {
  list-style: none;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
}

.bullet-check {
  color: var(--color-gold);
  margin-right: 12px;
  flex-shrink: 0;
}

/* 7. LEAD CAPTURE FORM */
.hero-form-container {
  width: 100%;
}

.form-wrapper {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--color-gold);
  position: relative;
  overflow: hidden;
}

.form-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-wrapper p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  position: relative;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark);
  background-color: var(--color-cream);
  outline: none;
  transition: var(--transition-smooth);
}

.quote-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='%2362727D' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--color-gold);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

/* Accessibility styling for validated state */
.quote-form input:user-invalid,
.quote-form select:user-invalid {
  border-color: var(--color-error);
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 4px;
  padding-left: 4px;
  font-weight: 500;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: var(--color-error);
  background-color: rgba(211, 47, 47, 0.02);
}

.form-disclaimer {
  text-align: center;
  font-size: 0.75rem !important;
  color: var(--color-muted);
  margin-top: 8px;
  margin-bottom: 0 !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Success Message Container */
.form-success-container {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 10px;
}

.form-success-container.show {
  display: flex;
}

.quote-form.hidden {
  display: none;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.form-success-container h4 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.form-success-container p {
  color: var(--color-muted);
  font-size: 1rem;
}

/* 8. TRUST BAR (STATS) */
.trust-bar {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.trust-desc {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.trust-divider {
  height: 40px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* 9. USP SECTION */
.usp-section {
  background-color: var(--color-cream);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.usp-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid var(--color-border);
}

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

.usp-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--color-gold-light);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.usp-card h4 {
  margin-bottom: 12px;
}

.usp-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 10. GALLERY STYLING */
.gallery-section {
  background-color: var(--color-white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.gallery-item.hidden {
  display: none;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 26, 32, 0.8) 0%, rgba(18, 26, 32, 0.2) 70%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  z-index: 2;
}

.overlay-text {
  color: var(--color-white);
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.overlay-text h5 {
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.overlay-text p {
  color: var(--color-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

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

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.gallery-item:hover .overlay-text {
  transform: translateY(0);
}

/* 11. PROCESS STYLING */
.process-section {
  background-color: var(--color-cream);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-gold);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 0 8px rgba(197, 160, 89, 0.15);
  font-family: var(--font-heading);
}

.process-step h4 {
  margin-bottom: 12px;
}

.process-step p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 12. TESTIMONIALS STYLING */
.testimonials-section {
  background-color: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.review-card {
  background-color: var(--color-cream);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  border-left: 4px solid var(--color-gold);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-body {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: 24px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-details strong {
  display: block;
  font-size: 0.95rem;
}

.author-details span {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* 13. FAQ ACCORDION STYLING */
.faq-section {
  background-color: var(--color-cream);
}

.faq-accordion {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item[open] {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  list-style: none; /* Hide default summary marker */
}

/* Hide webkit summary marker */
.faq-question::-webkit-details-marker {
  display: none;
}

/* Custom interactive summary indicator */
.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-gold);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: var(--color-border);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* 14. CTA BANNER STYLING */
.cta-banner {
  position: relative;
  background-image: url("hero.png");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 24px;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 26, 32, 0.85);
  z-index: 1;
}

.banner-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-white);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 15. FOOTER STYLING */
#main-footer {
  background-color: var(--color-dark);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
}

#main-footer h4 {
  color: var(--color-white);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

#main-footer p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

#main-footer strong {
  color: var(--color-white);
}

.license-info {
  display: inline-block;
  background-color: rgba(255,255,255,0.05);
  color: var(--color-gold);
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
}

.footer-legal {
  text-align: right;
}

.footer-legal .disclaimer {
  margin-top: 12px;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Mobile Sticky Call Button */
.mobile-cta-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--color-dark);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  padding: 12px 20px;
  border-top: 2px solid var(--color-gold);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 14px;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.mobile-call-btn:active {
  background-color: var(--color-gold-hover);
}


/* 16. RESPONSIVENESS (MEDIA QUERIES) */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .trust-badge-pill {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-bullets li {
    justify-content: center;
  }

  .hero-form-container {
    max-width: 550px;
    margin: 0 auto;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-legal {
    text-align: left;
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  main {
    margin-top: 70px;
    margin-bottom: 74px; /* Space for sticky mobile CTA */
  }
  
  .header-container {
    padding: 12px 20px;
  }
  
  .brand-name {
    font-size: 1.4rem;
  }

  .brand-sub {
    font-size: 0.55rem;
  }

  .btn-header {
    display: none; /* Hide header CTA in mobile to focus on phone link */
  }

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

  .bar-container {
    flex-direction: column;
    gap: 16px;
  }

  .trust-divider {
    display: none;
  }

  .section-container {
    padding: 60px 20px;
  }
  
  .form-wrapper {
    padding: 24px;
  }

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

  .footer-legal {
    grid-column: 1;
  }
}
