/*
Theme Name: EcoTech
Theme URI: https://yoursite.com
Author: Your Name
Description: A clean, Apple-inspired WordPress theme with light/dark mode support and full Gutenberg block editor compatibility.
Version: 1.16.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecotech
Tags: block-patterns, full-site-editing, dark-mode, light-mode, one-column, two-columns, three-columns
*/

/* ============================================================
   DESIGN TOKENS — Light Mode
   ============================================================ */
:root {
  --font-size: 16px;
  --background: #fafafa;
  --foreground: #1d1d1f;
  --card: #ffffff;
  --card-foreground: #1d1d1f;
  --popover: #ffffff;
  --popover-foreground: #1d1d1f;
  --primary: #0071e3;
  --primary-foreground: #ffffff;
  --secondary: #00c7be;
  --secondary-foreground: #ffffff;
  --muted: #f5f5f7;
  --muted-foreground: #86868b;
  --accent: #f5f5f7;
  --accent-foreground: #1d1d1f;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --input: transparent;
  --input-background: #f5f5f7;
  --switch-background: #cbced4;
  --font-weight-medium: 600;
  --font-weight-normal: 400;
  --ring: #0071e3;
  --radius: 1rem;

  /* Typography scale */
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --max-width: 80rem;
  --section-padding: 8rem 1.5rem;
  --container-padding: 0 1.5rem;
}

/* ============================================================
   DESIGN TOKENS — Dark Mode
   ============================================================ */
[data-theme="dark"],
.dark-mode {
  --background: #000000;
  --foreground: #f5f5f7;
  --card: #1d1d1f;
  --card-foreground: #f5f5f7;
  --popover: #1d1d1f;
  --popover-foreground: #f5f5f7;
  --primary: #0a84ff;
  --primary-foreground: #ffffff;
  --secondary: #30d5c8;
  --secondary-foreground: #000000;
  --muted: #1d1d1f;
  --muted-foreground: #86868b;
  --accent: #2d2d30;
  --accent-foreground: #f5f5f7;
  --destructive: #ff453a;
  --destructive-foreground: #ffffff;
  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.05);
  --ring: #0a84ff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: #000000;
    --foreground: #f5f5f7;
    --card: #1d1d1f;
    --card-foreground: #f5f5f7;
    --popover: #1d1d1f;
    --popover-foreground: #f5f5f7;
    --primary: #0a84ff;
    --primary-foreground: #ffffff;
    --secondary: #30d5c8;
    --secondary-foreground: #000000;
    --muted: #1d1d1f;
    --muted-foreground: #86868b;
    --accent: #2d2d30;
    --accent-foreground: #f5f5f7;
    --destructive: #ff453a;
    --destructive-foreground: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    --input: rgba(255, 255, 255, 0.05);
    --ring: #0a84ff;
  }
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: 0;
  padding-right: 0;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, var(--text-7xl)); }
h2 { font-size: clamp(2rem, 4vw, var(--text-5xl)); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { line-height: 1.7; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-title:hover { opacity: 0.7; }

.site-logo img {
  height: 2rem;
  width: auto;
}

/* Primary Navigation */
.primary-navigation {
  display: none;
}

@media (min-width: 768px) {
  .primary-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
  }

  .primary-navigation a {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .primary-navigation a:hover,
  .primary-navigation .current-menu-item > a {
    color: var(--foreground);
    opacity: 1;
  }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--muted);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun,
.dark-mode .theme-toggle .icon-sun { display: block; }

[data-theme="dark"] .theme-toggle .icon-moon,
.dark-mode .theme-toggle .icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}

/* Mobile Navigation */
.mobile-navigation {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.mobile-navigation.is-open { display: block; }

.mobile-navigation ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-navigation a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  font-size: var(--text-base);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-navigation a:hover {
  color: var(--foreground);
  background-color: var(--muted);
  opacity: 1;
}

/* ============================================================
   SITE MAIN
   ============================================================ */
.site-main {
  min-height: 60vh;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-widgets {
  padding: 3rem 0 2rem;
}

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

@media (min-width: 640px) {
  .footer-widgets-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.footer-widget-title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.footer-navigation ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-navigation a {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-navigation a:hover {
  color: var(--foreground);
  opacity: 1;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credits {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}

.btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  opacity: 0.9;
  transform: scale(1.02);
  color: var(--primary-foreground);
}

.btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--muted);
  color: var(--foreground);
  opacity: 1;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid var(--border);
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

[data-theme="dark"] .card:hover,
.dark-mode .card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 5rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .section { padding: 8rem 0; }
}

.section-muted {
  background-color: var(--muted);
}

.section-card {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.section-center {
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero { padding: 8rem 0 6rem; }
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: var(--muted);
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 3rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

/* ============================================================
   FEATURE ICON
   ============================================================ */
.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* ============================================================
   INTEGRATION PILL
   ============================================================ */
.integration-pill {
  height: 6rem;
  border-radius: 1rem;
  background-color: var(--muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-weight: var(--font-weight-medium);
}

/* ============================================================
   PLACEHOLDER IMAGE BLOCK
   ============================================================ */
.image-placeholder {
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--border);
  overflow: hidden;
  display: inline-block;
  line-height: 0;
}

.image-placeholder img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 28rem;
  display: block;
}

.image-placeholder-primary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 15%, transparent), color-mix(in srgb, var(--secondary) 15%, transparent));
}

.image-placeholder-secondary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--secondary) 15%, transparent), color-mix(in srgb, var(--primary) 15%, transparent));
}

/* ============================================================
   GUTENBERG BLOCK OVERRIDES
   ============================================================ */

/* Alignwide / Alignfull */
.alignwide {
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Core Paragraph */
.wp-block-paragraph {
  color: var(--foreground);
}

.has-muted-foreground-color { color: var(--muted-foreground) !important; }
.has-primary-color { color: var(--primary) !important; }
.has-secondary-color { color: var(--secondary) !important; }

.has-background-background-color { background-color: var(--background) !important; }
.has-muted-background-color { background-color: var(--muted) !important; }
.has-card-background-color { background-color: var(--card) !important; }
.has-primary-background-color { background-color: var(--primary) !important; }

/* Core Heading */
.wp-block-heading { color: var(--foreground); }

/* Core Group */
.wp-block-group {
  color: var(--foreground);
}

/* Core Columns */
.wp-block-columns {
  gap: 2rem;
}

/* Core Image */
.wp-block-image img {
  border-radius: var(--radius);
}

/* No rounding on images inside columns or cards */
.wp-block-columns .wp-block-image img,
.wp-block-group.has-card-background-color .wp-block-image img {
  border-radius: 0;
}

/* Images in columns: natural size, don't force full width */
.wp-block-columns .wp-block-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 28rem;
  display: block;
}

/* Images in columns — block level, no float */
.wp-block-columns .wp-block-image {
  display: block;
  max-width: 100%;
}

/* Only force full width when the image has the cover class set explicitly */
.wp-block-columns .wp-block-image.is-style-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Core Separator */
.wp-block-separator {
  border-color: var(--border);
  opacity: 1;
}

/* Core Quote */
.wp-block-quote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  background-color: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.wp-block-quote p { color: var(--foreground); }
.wp-block-quote cite { color: var(--muted-foreground); font-size: var(--text-sm); }

/* Core Cover */
.wp-block-cover {
  border-radius: var(--radius);
}

/* Core Table */
.wp-block-table td,
.wp-block-table th {
  border-color: var(--border);
}

/* Core List */
.wp-block-list {
  padding-left: 1.5rem;
}

/* Search Block */
.wp-block-search .wp-block-search__input {
  background-color: var(--input-background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  padding: 0.625rem 1rem;
}

/* Navigation Block */
.wp-block-navigation {
  color: var(--foreground);
}

.wp-block-navigation a {
  color: var(--muted-foreground);
}

.wp-block-navigation a:hover {
  color: var(--foreground);
}

/* ============================================================
   PAGE TITLE / SINGLE
   ============================================================ */
.page-header {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

/* Post Meta */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Entry Content */
.entry-content > * + * {
  margin-top: 1.5em;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background-color: var(--primary);
  color: var(--primary-foreground);
  opacity: 1;
}

/* ============================================================
   FORMS
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 0.625rem 1rem;
  background-color: var(--input-background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: var(--text-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 20%, transparent);
}

label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.375rem;
  color: var(--foreground);
}

/* Comment Form */
.comment-form label { margin-bottom: 0.375rem; }
.comment-form .submit {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  transition: opacity 0.2s ease;
}

.comment-form .submit:hover { opacity: 0.9; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-muted { background-color: var(--muted); }
.bg-card { background-color: var(--card); }
.bg-primary { background-color: var(--primary); }
.bg-gradient { background: linear-gradient(135deg, var(--primary), var(--secondary)); }

.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: calc(var(--radius) * 1.5); }

/* ============================================================
   HEADER CTA BUTTON
   ============================================================ */
.header-cta-btn {
  display: none;
  padding: 0.5rem 1.25rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header-cta-btn:hover {
  opacity: 0.9;
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .header-cta-btn { display: inline-flex; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar-value {
  font-size: 3rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--primary);
}

/* ============================================================
   LOGO STRIP
   ============================================================ */
.logo-strip .wp-block-image img {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
  max-height: 2.5rem;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.logo-strip .wp-block-image img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================================
   PHOTO CARDS
   ============================================================ */
.photo-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}

.photo-card-image img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.wp-block-html input,
.wp-block-html textarea {
  background-color: var(--input-background, #f5f5f7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
  padding: 0.625rem 1rem;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-html input:focus,
.wp-block-html textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 20%, transparent);
}

.wp-block-html input::placeholder,
.wp-block-html textarea::placeholder {
  color: var(--muted-foreground);
}
