/* ==========================================================================
   AC Košutnjak - Streličarski klub
   ========================================================================== */

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

:root {
  --green-primary: #496830;
  --green-dark: #314520;
  --green-light: #5a8a3c;
  --green-pale: #e8f0e0;
  --gold: #c9a84c;
  --gold-light: #f5ecd4;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --text: #2c2c2c;
  --text-light: #555;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
  --max-width: 1200px;
}

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

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 3.5vw + 0.5rem, 2.5rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.25rem, 1.5rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-light), var(--green-primary));
  z-index: 1100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-primary);
}

.logo img {
  height: 100px;
  width: auto;
  margin: 20px 0 -20px;
  position: relative;
  z-index: 1001;
  filter:
    drop-shadow(1px 0 0 white)
    drop-shadow(-1px 0 0 white)
    drop-shadow(0 1px 0 white)
    drop-shadow(0 -1px 0 white);
  transition: height var(--transition), margin var(--transition), filter var(--transition);
}

.site-header.scrolled .logo img {
  height: 64px;
  margin: 2px 0 -4px;
}

.logo span {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: color var(--transition), text-shadow var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.site-header.scrolled .main-nav a {
  color: var(--gray-700);
  text-shadow: none;
}

.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active {
  color: var(--green-primary);
  text-shadow: none;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform var(--transition), background var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.site-header.scrolled .main-nav a::after {
  background: var(--green-primary);
}

/* Hamburger menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 24px;
  background: var(--white);
  border-radius: 2px;
  left: 8px;
  transition: all 0.35s ease;
}

.site-header.scrolled .menu-toggle span {
  background: var(--gray-700);
}

.menu-toggle span:nth-child(1) {
  top: 11px;
}

.menu-toggle span:nth-child(2) {
  top: 19px;
  width: 18px;
}

.menu-toggle span:nth-child(3) {
  top: 27px;
}

.menu-toggle.active span {
  background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  overflow: hidden;
  margin-top: 0;
  padding-top: 72px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.active img {
  animation: kenburns 7s ease-out forwards;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(49, 69, 32, 0.45) 0%,
    rgba(49, 69, 32, 0.65) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw + 0.5rem, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Scroll down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
  font-weight: 500;
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(73, 104, 48, 0.4);
}

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

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

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

.btn-white:hover {
  background: var(--green-pale);
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Button ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

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

/* --- Wave Divider --- */
.wave-divider {
  position: relative;
  margin-top: -30px;
  margin-bottom: -1px;
  z-index: 5;
  line-height: 0;
  pointer-events: none;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
  fill: var(--white);
}

.wave-divider.wave-gray svg {
  fill: var(--gray-100);
}

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--gray-900);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-gray {
  background: linear-gradient(180deg, var(--gray-100) 0%, #f6f7f9 100%);
}

.section-green {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  color: var(--white);
}

.section-green h2 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green-primary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-green .section-header h2::after {
  background: var(--white);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- News Cards --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

a.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.news-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* News card hover overlay */
.news-card-image::after {
  content: 'Pročitaj više →';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(49, 69, 32, 0.6);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity var(--transition);
}

.news-card:hover .news-card-image::after {
  opacity: 1;
}

.news-card-body {
  padding: 1.5rem;
}

.news-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-card:hover .news-card-body h3 {
  color: var(--green-primary);
}

.news-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--green-pale);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-900);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --- Partners --- */
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-logo {
  opacity: 0.6;
  transition: opacity var(--transition);
  max-height: 80px;
  object-fit: contain;
}

.partner-logo:hover {
  opacity: 1;
}

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green-primary);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.about-text h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--green-primary);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.about-image figcaption {
  padding: 0.75rem 1rem;
  text-align: right;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gray-600);
  background: var(--gray-100);
}

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

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--green-pale);
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--green-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-card .quote {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Membership Banner --- */
.membership-banner {
  text-align: center;
  padding: 3rem 2rem;
}

.membership-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.membership-banner p {
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

/* --- Photo Gallery Slider --- */
.gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 500px;
}

.gallery-slider img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.gallery-slides {
  display: flex;
  transition: transform 0.6s ease;
}

.gallery-slide {
  min-width: 100%;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.gallery-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.gallery-btn:hover {
  background: var(--white);
  transform: scale(1.1);
}

.gallery-btn svg {
  width: 20px;
  height: 20px;
  color: var(--gray-800);
}

/* --- Offers Page --- */
.offer-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.offer-intro-text h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.2rem);
}

.offer-intro-text h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green-primary);
  margin-top: 0.75rem;
}

.offer-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--green-primary);
}

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

.offer-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

.offer-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.offer-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  text-align: left;
}

.offer-card .price {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.offer-card .btn {
  margin-top: 1rem;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: color var(--transition);
  font-family: inherit;
}

.faq-question:hover {
  color: var(--green-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--green-primary);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- Archery Article --- */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.article-content h1 {
  margin-bottom: 1.5rem;
}

.article-content h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green-primary);
  margin-top: 0.75rem;
}

.article-content p {
  text-align: justify;
  margin-bottom: 1.25rem;
}

.article-content ul {
  margin: 1rem 0 1.5rem 1rem;
}

.article-content ul li {
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--green-primary);
  border-radius: 50%;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-sidebar img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* --- Contact Page --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h1 {
  margin-bottom: 1.5rem;
}

.contact-info h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green-primary);
  margin-top: 0.75rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail svg {
  width: 24px;
  height: 24px;
  color: var(--green-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
}

.contact-detail p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(73, 104, 48, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  margin-top: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-message-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message-error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: center;
}

.contact-bar-item h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.contact-bar-item p {
  opacity: 0.85;
  margin: 0;
}

/* --- Page Hero (subpages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: 8rem 0 3rem;
  margin-top: 0;
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw + 0.5rem, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.85;
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb span {
  color: var(--white);
}

/* --- Footer CTA --- */
.footer-cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 50%, var(--green-light) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.footer-cta h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-cta p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 3rem 0 1.5rem;
}

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

.footer-logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-area img {
  height: 40px;
}

.footer-logo-area span {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--gray-400);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--green-primary);
  color: var(--white);
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .news-grid,
  .offers-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    flex-direction: row;
  }

  .article-sidebar img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Full-screen mobile menu overlay */
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(49, 69, 32, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1005;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 0.75rem 0;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: none;
    width: auto;
    text-align: center;
    transform: translateY(15px);
    opacity: 0;
    transition: color var(--transition), opacity 0.4s ease, transform 0.4s ease;
  }

  .main-nav.open a {
    opacity: 1;
    transform: translateY(0);
    color: rgba(255, 255, 255, 0.85);
  }

  .main-nav.open a:nth-child(1) { transition-delay: 0.1s; }
  .main-nav.open a:nth-child(2) { transition-delay: 0.15s; }
  .main-nav.open a:nth-child(3) { transition-delay: 0.2s; }
  .main-nav.open a:nth-child(4) { transition-delay: 0.25s; }
  .main-nav.open a:nth-child(5) { transition-delay: 0.3s; }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--white);
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .about-intro,
  .offer-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .offers-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    gap: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .article-sidebar {
    flex-direction: column;
  }

  .article-sidebar img {
    width: 100%;
  }

  .contact-bar {
    gap: 2rem;
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .scroll-indicator {
    bottom: 1.5rem;
  }

  .scroll-indicator span {
    display: none;
  }
}

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
