/*
Theme Name: Greenbush Premium
Theme URI: https://www.greenbushlabel.com/
Author: Antigravity
Author URI: https://www.google.com
Description: A premium, highly responsive, and beautifully animated theme custom built for Greenbush Tape & Label. Features smooth scrolling, crisp text reveal effects, and modern layouts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greenbush-premium
*/

/* ==========================================================================
   1. CSS VARIABLES & THEME TOKENS
   ========================================================================== */
:root {
  /* Color System */
  --color-primary: #1e4620;        /* Deep Premium Forest Green */
  --color-primary-rgb: 30, 70, 32;
  --color-primary-dark: #122d14;   /* Darker Shade of Forest Green */
  --color-primary-light: #e8f5e9;  /* Light Mint/Green Background */
  --color-accent: #d4af37;         /* Warm Gold Accent for 60-Year Heritage */
  --color-accent-hover: #bda02b;
  --color-text-dark: #111827;      /* Near Black for High Readability */
  --color-text-muted: #4b5563;     /* Gray for secondary info */
  --color-bg-light: #f9fafb;       /* Cool Off-white */
  --color-bg-card: #ffffff;        /* Pure White Card Base */
  
  /* Typography */
  --font-family-headings: 'Syne', 'Raleway', sans-serif;
  --font-family-body: 'Outfit', 'Inter', sans-serif;
  
  /* Borders & Shadows */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(18, 24, 36, 0.12);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Transitions */
  --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
  
  /* Header Height */
  --header-height: 80px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-normal) var(--transition-smooth);
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}

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

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================================
   3. LAYOUT & STRUCTURAL COMPONENTS
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--duration-normal) var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.3);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

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

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

/* ==========================================================================
   4. NAVIGATION HEADER (Sticky & Glassmorphism)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--duration-normal) var(--transition-smooth);
}

.site-header.scrolled {
  height: 65px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 50px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

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

.site-header.scrolled .brand-logo-img {
  height: 50px !important;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-family-headings);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 700;
}

/* Navigation Links */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.main-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-dark);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.main-nav li {
  position: relative;
}

.main-nav li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5px;
  height: 12px;
  background-color: rgba(30, 70, 32, 0.25);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s var(--transition-smooth);
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav a:hover::after,
.main-nav li.current-menu-item a::after {
  width: 100%;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  width: 30px;
  height: 20px;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary-dark);
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.mobile-nav-toggle span:last-child {
  margin-bottom: 0;
}

/* Mobile Nav Active States */
.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

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

/* ==========================================================================
   5. HERO BANNER
   ========================================================================== */
.hero-banner {
  min-height: 85vh;
  margin-top: var(--header-height);
  position: relative;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-color: var(--color-primary-dark);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 45, 20, 0.9) 0%, rgba(10, 20, 11, 0.95) 100%);
  z-index: 1;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tagline {
  font-size: 2.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  line-height: 1.6;
}

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

/* Inner Page Banner */
.page-banner {
  padding: 120px 0 80px;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  position: relative;
  text-align: center;
  margin-top: var(--header-height);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(18, 45, 20, 0.85), rgba(18, 45, 20, 0.95));
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner-title {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
  color: var(--color-accent);
}

/* ==========================================================================
   6. PREMIUM GRID & ANIMATED CARDS
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--color-bg-card);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--transition-smooth);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--color-primary-rgb), 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--transition-smooth);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all var(--duration-normal) var(--transition-smooth);
}

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

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

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

/* ==========================================================================
   7. SERVICES GRID & IMAGES
   ========================================================================== */
.services-section {
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-bg-card);
  transition: all var(--duration-normal) var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-img-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 60%; /* Ratio 5:3 */
}

.service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--transition-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.service-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   8. ART DEPARTMENT & DESIGNERS
   ========================================================================== */
.art-department-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.art-info h3 {
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}

.art-info p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
}

.software-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.software-tag {
  background-color: var(--color-bg-light);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Designers List */
.designers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.designer-card {
  background: #ffffff;
  padding: 35px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-normal) var(--transition-smooth);
}

.designer-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.designer-header {
  margin-bottom: 15px;
}

.designer-name {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 5px;
}

.designer-company {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
}

.designer-contact-details p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.designer-contact-details a {
  font-weight: 600;
}

/* ==========================================================================
   9. CONTACT PAGE & GOOGLE MAPS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-block {
  margin-bottom: 30px;
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact-info-val {
  font-size: 1.25rem;
  color: var(--color-text-dark);
  font-weight: 600;
}

.contact-info-val a {
  color: inherit;
}

.contact-quote-wrapper {
  background-color: var(--color-primary-light);
  padding: 30px;
  border-radius: var(--border-radius-md);
  margin-top: 40px;
}

.contact-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.contact-quote-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Form Styles for Ninja Forms & General Content */
.form-container {
  background-color: #ffffff;
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.nf-form-content, form.wpcf7-form {
  display: grid;
  gap: 20px;
}

label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  background-color: var(--color-bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

/* ==========================================================================
   10. UPLOAD WIDGET PANEL
   ========================================================================== */
.upload-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.upload-card {
  background-color: #ffffff;
  border: 2px dashed rgba(var(--color-primary-rgb), 0.2);
  padding: 60px 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease;
  margin-top: 30px;
}

.upload-card:hover {
  border-color: var(--color-primary);
}

.upload-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* ==========================================================================
   11. FOOTER AREA
   ========================================================================== */
.site-footer {
  background-color: #121824; /* Deep Slate Black */
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  font-size: 0.95rem;
  border-top: 3px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget-title {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-about-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: var(--font-family-headings);
}

.footer-about-tag {
  color: var(--color-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-item {
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-icon {
  color: var(--color-accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-text {
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s var(--transition-smooth);
}

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

/* ==========================================================================
   12. SMOOTH ENTRANCE ANIMATIONS (Scroll triggered via JS)
   ========================================================================== */
.reveal-text, .reveal-image, .reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-text.active, .reveal-image.active, .reveal-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Special Staggered Delay Classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Custom Header Text Animation */
.header-animated-text {
  opacity: 0;
  transform: scale(0.95) translateY(15px);
  animation: headerTextSlide 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headerTextSlide {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Ken Burns background zoom */
.ken-burns {
  animation: kenBurnsZoom 20s ease-out infinite alternate;
}

@keyframes kenBurnsZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* ==========================================================================
   13. MEDIA QUERIES (Responsive Design)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-tagline {
    font-size: 2.0rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .art-department-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    padding: 40px;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-md);
  }
  .main-nav.active {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .main-nav a {
    font-size: 1.15rem;
  }
  .main-nav li:not(:last-child)::after {
    display: none !important;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-tagline {
    font-size: 1.4rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section {
    padding: 60px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .main-nav ul {
    gap: 12px;
  }
  .main-nav a {
    font-size: 0.75rem;
  }
  .main-nav li:not(:last-child)::after {
    right: -7px;
  }
}

/* ==========================================================================
   14. SCROLL TO TOP BUTTON (Bottom Right)
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary-dark);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all var(--duration-normal) var(--transition-smooth);
  font-size: 1.1rem;
}

.scroll-to-top-btn:hover {
  background-color: var(--color-primary);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
