/*
Theme Name: Adarsh Dairy & Sweets
Theme URI: https://www.creativewerkdesigns.com/
Author: Creative Werk Designs
Author URI: https://www.creativewerkdesigns.com/
Description: One-page WordPress theme for Adarsh Dairy & Sweets, Nadiad. Every section (hero slider, about, features, gallery, contact, footer, colours, menus) is editable from Appearance > Customize. Contact form inquiries are stored under "Inquiries" in the dashboard and emailed to you.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adarsh-dairy
Tags: one-column, custom-logo, custom-menu, custom-colors, featured-images, translation-ready
*/

/* --- CSS Variables / Brand Design Tokens --- */
:root {
  --primary-color: #DD2B1D;        /* Adarsh Logo Red */
  --primary-light: #f03e30;        /* Vibrant Red Accent */
  --primary-dark: #9e1a0f;         /* Deep Contrast Red */
  --primary-subtle: #fdeae9;       /* Soft Red Tint */
  
  --secondary-color: #D5B36A;      /* Adarsh Logo Dark Yellow / Gold */
  --secondary-light: #FFE9C9;      /* Adarsh Logo Light Yellow */
  --secondary-dark: #b89445;       /* Warm Deep Gold */
  
  --accent-color: #D5B36A;         /* Gold Accent */
  
  --text-dark: #221a1a;
  --text-muted: #5c4f4f;
  --text-light: #7e7070;
  
  --bg-white: #ffffff;
  --bg-cream: #fff9f0;            /* Soft Milk Cream */
  --bg-yellow-light: #FFE9C9;      /* Light Yellow Background */
  --bg-sand: #faedd8;
  --bg-dark: #2a0806;             /* Deep Festive Royal Maroon */
  
  --border-color: #ebd3b4;
  --border-light: #f7ede0;
  
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --shadow-sm: 0 2px 10px rgba(221, 43, 29, 0.06);
  --shadow-md: 0 8px 25px rgba(221, 43, 29, 0.09);
  --shadow-lg: 0 16px 36px rgba(158, 26, 15, 0.14);
  --shadow-hover: 0 20px 42px rgba(221, 43, 29, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --header-height: 84px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-full);
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(199, 31, 22, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(199, 31, 22, 0.45);
}

.btn-outline {
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: 2px solid var(--secondary-color);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: #2a0806;
  font-weight: 700;
  transform: translateY(-2px);
}

/* --- Section Title Badge & Underline --- */
.section-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--secondary-light);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-tag-badge i {
  color: var(--secondary-color);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.title-underline {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 16px auto 24px;
  border-radius: 2px;
}

/* ==========================================================================
   1. HEADER SECTION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #ffffff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  height: 72px;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Left (Using the Original Adarsh Logo) */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.site-header.scrolled .brand-logo-img {
  height: 52px;
}

.logo:hover .brand-logo-img {
  transform: scale(1.04);
}

/* Middle Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Right CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(199, 31, 22, 0.25);
  transition: var(--transition);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  transform: translateY(-2px);
  color: #ffffff;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   2. HERO BANNER SLIDER (FULL SIZE - 3 IMAGES)
   ========================================================================== */
.banner-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 6s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(42, 8, 6, 0.55) 0%,
    rgba(30, 4, 3, 0.78) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  padding: 0 24px;
  margin-top: 50px;
  color: #ffffff;
}

.slide-tag {
  display: inline-block;
  background: var(--secondary-color);
  color: #2a0806;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: fadeInDown 0.8s ease forwards;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 0.9s ease forwards;
}

.slide-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease forwards;
}

.slide-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  animation: fadeInUp 1.1s ease forwards;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background-color: rgba(42, 8, 6, 0.5);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--secondary-color);
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: var(--secondary-color);
  color: #2a0806;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 32px;
}

.next-btn {
  right: 32px;
}

.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  border: 2px solid transparent;
}

.dot.active {
  width: 38px;
  border-radius: 8px;
  background-color: var(--secondary-color);
}

/* ==========================================================================
   3. ABOUT US SECTION (CENTERED CONTENT)
   ========================================================================== */
.about-section {
  padding: 105px 0;
  background-color: #ffffff;
  position: relative;
}

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

.about-lead {
  font-size: 1.32rem;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 50px;
}

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

.feature-card {
  background: var(--bg-cream);
  padding: 38px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: #ffffff;
  border-color: var(--primary-color);
}

.feature-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  transition: var(--transition);
  border: 1px solid rgba(199, 31, 22, 0.15);
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ==========================================================================
   4. 2 FULL WIDTH IMAGES SECTION
   ========================================================================== */
.split-gallery-section {
  width: 100%;
  background-color: var(--bg-dark);
}

.gallery-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0;
  padding: 0;
}

.gallery-item {
  position: relative;
  height: 520px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(42, 8, 6, 0.2) 0%,
    rgba(42, 8, 6, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 44px;
  transition: var(--transition);
}

.gallery-caption {
  color: #ffffff;
  transform: translateY(10px);
  transition: var(--transition);
}

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

.caption-tag {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #2a0806;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.gallery-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}

.gallery-caption p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   5. CONTACT US SECTION
   ========================================================================== */
.contact-section {
  padding: 105px 0;
  background-color: var(--bg-cream);
}

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

.contact-header-center .section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

/* Contact Info Card (Left Box - Clean White Background) */
.contact-info-card {
  background: #ffffff;
  color: var(--text-dark);
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}

.contact-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-logo-thumb {
  height: 52px;
  width: auto;
  border-radius: var(--radius-sm);
  background-color: transparent;
  padding: 2px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.contact-sub {
  color: var(--primary-color);
  font-size: 0.86rem;
  font-weight: 600;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary-color);
  flex-shrink: 0;
  border: 1px solid rgba(199, 31, 22, 0.15);
}

.info-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

.info-text p {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 2px;
}

.info-text a {
  color: var(--primary-color);
  font-weight: 600;
}

.info-text a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.contact-card-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card-footer strong {
  color: var(--primary-color);
}

/* Contact Form Card */
.contact-form-card {
  background-color: #ffffff;
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-title {
  margin-bottom: 28px;
}

.form-title h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.form-title p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group label .req {
  color: var(--primary-color);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap i {
  position: absolute;
  left: 16px;
  color: var(--primary-color);
  font-size: 1rem;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  color: var(--text-dark);
  background-color: #fffdfa;
  transition: var(--transition);
}

.input-wrap.textarea-wrap {
  align-items: flex-start;
}

.input-wrap.textarea-wrap i {
  top: 16px;
}

.input-wrap textarea {
  resize: vertical;
  min-height: 110px;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(199, 31, 22, 0.12);
}

.error-msg {
  color: var(--primary-color);
  font-size: 0.8rem;
  margin-top: 4px;
  min-height: 16px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #ffffff;
  padding: 15px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(199, 31, 22, 0.3);
  margin-top: 10px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(199, 31, 22, 0.4);
}

.form-success-alert {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background-color: var(--secondary-light);
  border: 1px solid var(--secondary-color);
  border-radius: var(--radius-md);
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 600;
  align-items: center;
  gap: 12px;
}

.form-success-alert.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   6. FOOTER SECTION (Clean White Background)
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  color: var(--text-muted);
  position: relative;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  padding: 80px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 40px;
}

.footer-logo-img {
  height: 58px;
  width: auto;
  margin-bottom: 20px;
  background-color: transparent;
}

.footer-about {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 330px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--bg-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.05rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-nav a i {
  font-size: 0.75rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-contact-info i {
  margin-top: 4px;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  background-color: var(--bg-cream);
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-flex .credit-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
  transition: var(--transition);
}

.footer-bottom-flex .credit-link:hover {
  color: var(--primary-dark);
}

.footer-bottom-flex .credit {
  color: var(--secondary-dark);
  font-weight: 700;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .slide-title {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-cream);
    box-shadow: var(--shadow-lg);
    padding: 24px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    border-bottom: 2px solid var(--secondary-color);
  }

  .nav-menu.open {
    max-height: 300px;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .btn-header-cta {
    display: none;
  }

  .slide-title {
    font-size: 2.2rem;
  }

  .slide-desc {
    font-size: 1.05rem;
  }

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

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

  .gallery-item {
    height: 380px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

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

  .footer-bottom-flex {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .prev-btn {
    left: 12px;
  }

  .next-btn {
    right: 12px;
  }
}

/* --- WordPress specific additions --- */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.nav-list .menu-item a { font-family: var(--font-heading); font-size: 1.08rem; font-weight: 600; color: var(--text-dark); position: relative; padding: 8px 0; }
.nav-list .menu-item a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2.5px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); border-radius: 2px; transition: var(--transition); }
.nav-list .menu-item a:hover::after, .nav-list .menu-item a.active::after, .nav-list .current-menu-item > a::after { width: 100%; }
.nav-list .menu-item a:hover, .nav-list .current-menu-item > a { color: var(--primary-color); }
.form-error-alert { display: none; margin-top: 20px; padding: 16px 20px; background: var(--primary-subtle); border: 1px solid var(--primary-color); border-radius: var(--radius-md); color: var(--primary-dark); font-size: 0.95rem; font-weight: 600; align-items: center; gap: 12px; }
.form-error-alert.show { display: flex; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.banner-slider-section.single-slide .slider-btn, .banner-slider-section.single-slide .slider-dots { display: none; }

/* Inner pages (blog / page fallback) */
.inner-page { padding: calc(var(--header-height) + 60px) 0 80px; background: #fff; min-height: 70vh; }
.inner-page .entry-title { font-family: var(--font-heading); font-size: 2.4rem; color: var(--primary-dark); margin-bottom: 20px; }
.inner-page .entry-content p { margin-bottom: 1.2em; color: var(--text-muted); }
.inner-page .entry-content h2, .inner-page .entry-content h3 { font-family: var(--font-heading); color: var(--primary-dark); margin: 1.4em 0 .6em; }
.inner-page article + article { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border-color); }
.inner-page .read-more { color: var(--primary-color); font-weight: 600; }
.alignleft { float: left; margin: 0 24px 16px 0; } .alignright { float: right; margin: 0 0 16px 24px; } .aligncenter { margin: 16px auto; }
.wp-caption { max-width: 100%; } .wp-caption-text { font-size: .85rem; color: var(--text-light); text-align: center; }

/* Responsive header fix: the collapsed mobile menu kept its 24px padding, so the
   first links peeked out below the header. Collapse padding with the menu and
   sit the menu under the (shrunken) header. */
@media (max-width: 768px) {
  .nav-menu { padding: 0; visibility: hidden; transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, visibility 0s linear 0.4s; }
  .nav-menu.open { padding: 24px 0; visibility: visible; transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, visibility 0s; }
  .nav-menu { justify-content: center; }
  .nav-list { width: 100%; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 10px 24px; }
  .nav-list a::after { display: none; }
  .site-header.scrolled .nav-menu { top: 72px; }
  .admin-bar .nav-menu { top: calc(var(--header-height) + 46px); }
  .admin-bar .site-header.scrolled .nav-menu { top: calc(72px + 46px); }
  .header-container { padding: 0 20px; }
}

/* Contact grid when the form is hidden */
.contact-grid.no-form { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
/* Gallery items that are links */
a.gallery-item { display: block; color: inherit; }
