/*
Theme Name: Marko-Dorna
Theme URI: https://markology.ir/
Author: Jasim Ghodrat
Author URI: https://markology.ir/
Description: A stunning black & gold creative portfolio WordPress theme with advanced animations, particle effects, parallax scrolling, and 3D tilt interactions. All content is fully manageable from the WordPress admin panel.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marko-dorna
Tags: portfolio, creative, dark, one-column, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, theme-options
*/

/* ═══════════════════════════════════════════════
   CSS VARIABLES & BASE
   ═══════════════════════════════════════════════ */
:root {
  --gold: #d4a843;
  --gold-light: #f0d78c;
  --gold-dark: #a07e2e;
  --bg-dark: #050505;
  --bg-card: #0a0a0a;
  --bg-elevated: #0d0d0d;
  --bg-section: #080808;
  --text-primary: #f5f0e8;
  --text-muted: #888880;
  --border-color: #1a1a1a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ═══════════════════════════════════════════════
   CUSTOM SCROLLBAR
   ═══════════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ═══════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════ */
.gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-glow {
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.15), 0 0 60px rgba(212, 168, 67, 0.05);
}

.gold-glow-strong {
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.3), 0 0 80px rgba(212, 168, 67, 0.1);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-label .number {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}

.section-label .line {
  width: 64px;
  height: 1px;
  background: rgba(212, 168, 67, 0.3);
}

.section-label .text {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════ */
.marko-dorna-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
}

.marko-dorna-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.marko-dorna-loader .spinner {
  width: 64px;
  height: 64px;
  border: 2px solid var(--border-color);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  margin: 0 auto 24px;
}

.marko-dorna-loader .brand {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.5s 0.3s forwards;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* ═══════════════════════════════════════════════
   CURSOR FOLLOWER
   ═══════════════════════════════════════════════ */
.cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.6);
  background: rgba(212, 168, 67, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower.hovering {
  width: 60px;
  height: 60px;
  background: rgba(212, 168, 67, 0.08);
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.marko-dorna-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 24px;
  transition: all 0.5s;
}

.marko-dorna-navbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.marko-dorna-navbar .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marko-dorna-navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.marko-dorna-navbar .logo:hover {
  transform: scale(1.05);
}

.marko-dorna-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.marko-dorna-navbar .nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.marko-dorna-navbar .nav-links a:hover {
  color: var(--gold);
}

.marko-dorna-navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.marko-dorna-navbar .nav-links a:hover::after {
  width: 100%;
}

.marko-dorna-navbar .nav-cta {
  padding: 8px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 168, 67, 0.5);
  color: var(--gold);
  transition: all 0.3s;
}

.marko-dorna-navbar .nav-cta:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.marko-dorna-navbar .mobile-toggle {
  display: none;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.marko-dorna-navbar .mobile-menu {
  display: none;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.marko-dorna-navbar .mobile-menu.open {
  display: block;
}

.marko-dorna-navbar .mobile-menu .mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px;
  list-style: none;
}

.marko-dorna-navbar .mobile-menu .mobile-links a {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.marko-dorna-navbar .mobile-menu .mobile-links a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .marko-dorna-navbar .nav-links,
  .marko-dorna-navbar .nav-cta {
    display: none;
  }
  .marko-dorna-navbar .mobile-toggle {
    display: block;
  }
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section .bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  width: 100%;
  height: 100%;
}

.hero-section .content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
}

.hero-section .pre-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-section .pre-title .line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.hero-section .pre-title span {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-section .title-words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  overflow: hidden;
}

.hero-section .title-word {
  display: inline-block;
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(120px) rotateX(-80deg);
  animation: wordReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-section .title-word.accent {
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.hero-section .title-word.gold-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.hero-section .subtitle {
  margin-top: 32px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.hero-section .subtitle .highlight {
  color: var(--gold);
}

.hero-section .cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.btn-primary {
  position: relative;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-primary .btn-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary .hover-fill {
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.btn-primary:hover .hover-fill {
  transform: translateX(0);
}

.btn-outline {
  padding: 16px 32px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.05);
}

.hero-section .scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s 2s forwards;
}

.hero-section .scroll-indicator span {
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-section .scroll-indicator .chevron {
  color: var(--gold);
  animation: bounce 1.5s ease-in-out infinite;
}

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

/* ═══════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════ */
.marquee-section {
  padding: 32px 0;
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-track .item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 16px;
}

.marquee-track .item span {
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.marquee-track .item svg {
  color: var(--gold);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════ */
.about-section {
  position: relative;
  padding: 128px 24px;
}

.about-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

.about-section .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-section .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 32px;
}

.about-section .description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  padding: 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.3s;
}

.stat-card:hover {
  scale: 1.05;
  border-color: rgba(212, 168, 67, 0.4);
  background: var(--bg-elevated);
}

.stat-card .number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.stat-card:hover .label {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════
   WORK / PROJECTS SECTION
   ═══════════════════════════════════════════════ */
.work-section {
  position: relative;
  padding: 128px 24px;
}

.work-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

.work-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 64px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s;
}

.project-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
}

.project-card .image-area {
  position: relative;
  height: 256px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .project-card .image-area {
    height: 280px;
  }
}

.project-card .image-area .bg-fill {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.project-card .image-area .gradient-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.project-card .image-area .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 67, 0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.5s;
}

.project-card:hover .image-area .shimmer {
  opacity: 1;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.project-card .image-area .project-number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border-color);
  line-height: 1;
  transition: color 0.5s;
}

.project-card:hover .image-area .project-number {
  color: rgba(212, 168, 67, 0.1);
}

.project-card .image-area .hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212, 168, 67, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .image-area .hover-overlay {
  opacity: 1;
}

.project-card .image-area .hover-overlay .icon-circle {
  width: 64px;
  height: 64px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0) rotate(-90deg);
  transition: transform 0.4s;
}

.project-card:hover .image-area .hover-overlay .icon-circle {
  transform: scale(1) rotate(0);
}

.project-card .image-area .hover-overlay .icon-circle svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.project-card .card-body {
  padding: 24px;
}

@media (min-width: 640px) {
  .project-card .card-body {
    padding: 32px;
  }
}

.project-card .category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
  color: var(--gold);
}

.project-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.project-card:hover h3 {
  color: var(--gold);
}

.project-card .description {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card .tag {
  padding: 4px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.3s;
}

.project-card:hover .tag {
  border-color: rgba(212, 168, 67, 0.2);
  color: var(--gold);
}

.project-card .bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  width: 0;
  transition: width 0.4s;
}

.project-card:hover .bottom-line {
  width: 100%;
}

/* ═══════════════════════════════════════════════
   SKILLS SECTION
   ═══════════════════════════════════════════════ */
.skills-section {
  position: relative;
  padding: 128px 24px;
  background: var(--bg-section);
}

.skills-section .container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.skills-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 64px;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.skill-category {
  padding: 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.5s;
}

.skill-category:hover {
  border-color: rgba(212, 168, 67, 0.2);
}

.skill-category .icon {
  color: var(--gold);
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.skill-category:hover .icon {
  transform: scale(1.1);
}

.skill-category h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  transition: color 0.3s;
}

.skill-category:hover h3 {
  color: var(--gold);
}

.skill-item {
  margin-bottom: 20px;
}

.skill-item .skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-item .skill-name {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.skill-item .skill-level {
  font-size: 0.75rem;
  color: var(--gold);
  font-family: var(--font-mono);
}

.skill-item .bar {
  height: 2px;
  background: var(--border-color);
  border-radius: 999px;
  overflow: hidden;
}

.skill-item .bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-item .bar-fill.animated {
  /* width set via inline style */
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════ */
.testimonials-section {
  position: relative;
  padding: 128px 24px;
}

.testimonials-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 64px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.testimonial-card {
  padding: 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  position: relative;
  transition: all 0.5s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 67, 0.2);
}

.testimonial-card .quote-mark {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: rgba(212, 168, 67, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
  transition: color 0.3s;
}

.testimonial-card:hover .quote-mark {
  color: rgba(212, 168, 67, 0.3);
}

.testimonial-card .text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card .role {
  color: var(--gold);
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════ */
.contact-section {
  position: relative;
  padding: 128px 24px;
  background: var(--bg-section);
}

.contact-section .container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-section .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 1024px) {
  .contact-section .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 32px;
}

.contact-section .description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 48px;
}

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

.social-link {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}

.social-link:hover {
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px) scale(1.1);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(212, 168, 67, 0.5);
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
}

.contact-form .submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  font-family: var(--font-sans);
}

.contact-form .submit-btn:hover {
  background: var(--gold-light);
  transform: scale(1.02);
}

.contact-form .submit-btn:active {
  transform: scale(0.98);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.marko-dorna-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border-color);
}

.marko-dorna-footer .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .marko-dorna-footer .inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.marko-dorna-footer .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marko-dorna-footer .brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.marko-dorna-footer .brand .copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.marko-dorna-footer .footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.marko-dorna-footer .footer-links a {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.marko-dorna-footer .footer-links a:hover {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* ═══════════════════════════════════════════════
   HEADER LOGO IMAGE
   ═══════════════════════════════════════════════ */
.header-logo-img {
  height: 36px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
  object-fit: contain;
}

.logo .brand-name-text {
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════
   PROJECT CARD LINK (clickable cards)
   ═══════════════════════════════════════════════ */
.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card-link:hover .project-card {
  border-color: rgba(212, 168, 67, 0.3);
}

.project-card-link:hover .hover-overlay {
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   SECTION BUTTONS
   ═══════════════════════════════════════════════ */
.section-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.section-btn.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  padding: 12px 28px;
  border-radius: 0px;
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.section-btn.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
  transform: translateY(-2px);
}

.section-btn.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  border-radius: 0px;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
}

.section-btn.btn-outline:hover {
  background: rgba(212, 168, 67, 0.1);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   SINGLE PROJECT PAGE
   ═══════════════════════════════════════════════ */
.single-project-page .back-link:hover {
  color: var(--gold) !important;
}

.project-hero {
  padding-bottom: 40px;
}

.project-featured-image {
  padding: 0 0 40px;
}

.project-content .project-text h1,
.project-content .project-text h2,
.project-content .project-text h3,
.project-content .project-text h4 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.project-content .project-text h2 {
  font-size: 1.75rem;
}

.project-content .project-text h3 {
  font-size: 1.375rem;
}

.project-content .project-text p {
  margin-bottom: 1.25em;
}

.project-content .project-text ul,
.project-content .project-text ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

.project-content .project-text li {
  margin-bottom: 0.5em;
}

.project-content .project-text img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

.project-content .project-text blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25em;
  margin: 1.5em 0;
  color: var(--text-muted);
  font-style: italic;
}

.project-content .project-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-content .project-text a:hover {
  color: var(--gold-light);
}

/* Project Navigation */
.project-nav a {
  transition: color 0.3s ease;
}

.project-nav a:hover {
  color: var(--gold) !important;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE - SINGLE PROJECT
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-logo-img {
    height: 28px;
    margin-right: 6px;
  }

  .project-hero h1 {
    font-size: 1.75rem !important;
  }

  .project-nav > .container > div {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .section-btn.btn-primary,
  .section-btn.btn-outline {
    padding: 10px 22px;
    font-size: 0.8125rem;
  }
}
