/*
Theme Name: Studio Marco
Theme URI: https://studiomarco.nl
Author: Studio Marco
Author URI: https://studiomarco.nl
Description: Officieel WordPress block thema voor Studio Marco — 3D Design & Print. Creativiteit met aandacht voor details.
Version: 1.0.0
Requires at least: 6.3
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: studio-marco
Template:
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, wide-blocks

*/

/* ============================================================
   GLACIAL INDIFFERENCE FONT
   Upload de font-bestanden naar assets/fonts/ of gebruik
   een CDN-link. Hieronder de @font-face declaraties.
   ============================================================ */

@font-face {
  font-family: 'Glacial Indifference';
  src: url('assets/fonts/GlacialIndifference-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Glacial Indifference';
  src: url('assets/fonts/GlacialIndifference-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   CSS CUSTOM PROPERTIES — HUISSTIJL STUDIO MARCO
   ============================================================ */

:root {
  --sm-orange:        #F3952D;
  --sm-orange-dark:   #C9731A;
  --sm-orange-light:  #FDE8C8;
  --sm-orange-pale:   #FEF5E9;
  --sm-charcoal:      #2A2A2A;
  --sm-charcoal-mid:  #444444;
  --sm-steel:         #8A8A8A;
  --sm-cream:         #F7F4EF;
  --sm-white:         #FFFFFF;
  --sm-accent-blue:   #3D5A80;
  --sm-accent-blue-l: #D0DCE8;
  --sm-accent-green:  #4A7C59;
  --sm-accent-green-l:#C8DDD0;

  --sm-font:          'Glacial Indifference', 'Trebuchet MS', sans-serif;
  --sm-radius:        10px;
  --sm-radius-lg:     16px;
  --sm-shadow:        0 2px 16px rgba(0,0,0,0.08);
  --sm-shadow-lg:     0 8px 40px rgba(0,0,0,0.12);
  --sm-transition:    0.2s ease;

  --sm-max-width:     1200px;
  --sm-section-pad:   80px 24px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sm-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--sm-charcoal);
  background: var(--sm-white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================================
   TYPOGRAFIE
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sm-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sm-charcoal);
  margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin: 0 0 1.25rem;
}

.sm-text-orange  { color: var(--sm-orange); }
.sm-text-steel   { color: var(--sm-steel); }
.sm-text-center  { text-align: center; }
.sm-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sm-orange);
  display: block;
  margin-bottom: 12px;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */

.sm-container {
  max-width: var(--sm-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sm-section {
  padding: var(--sm-section-pad);
}

.sm-section-cream {
  background: var(--sm-cream);
}

.sm-section-dark {
  background: var(--sm-charcoal);
  color: var(--sm-white);
}

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

.sm-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.sm-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.sm-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.sm-flex {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sm-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ============================================================
   KNOPPEN
   Alle knoppen: oranje achtergrond (#F3952D), witte tekst.
   Op hover: iets donkerder oranje.
   ============================================================ */

.sm-btn,
.sm-btn-primary,
.sm-btn-outline,
.sm-btn-outline-white,
.sm-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--sm-radius);
  font-family: var(--sm-font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--sm-transition);
  text-decoration: none;
  line-height: 1;
  background: var(--sm-orange);
  color: var(--sm-white);
}

.sm-btn:hover,
.sm-btn-primary:hover,
.sm-btn-outline:hover,
.sm-btn-outline-white:hover,
.sm-btn-dark:hover {
  background: var(--sm-orange-dark);
  color: var(--sm-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(243,149,45,0.4);
}

/* ============================================================
   KAARTEN
   ============================================================ */

.sm-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius-lg);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 28px;
  transition: transform var(--sm-transition), box-shadow var(--sm-transition);
}

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

.sm-card-icon {
  width: 52px;
  height: 52px;
  background: var(--sm-orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
  color: var(--sm-orange);
}

.sm-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sm-charcoal);
}

.sm-card-text {
  font-size: 0.9rem;
  color: var(--sm-steel);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   HEADER / NAVIGATIE
   ============================================================ */

.sm-header {
  background: var(--sm-charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.sm-header-inner {
  max-width: var(--sm-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.sm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.sm-logo-icon {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sm-orange);
  line-height: 1;
}

.sm-logo-text {
  display: flex;
  flex-direction: column;
}

.sm-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sm-white);
  line-height: 1;
}

.sm-logo-name span {
  color: var(--sm-orange);
}

.sm-logo-tagline {
  font-size: 0.65rem;
  color: var(--sm-steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-nav a {
  color: #aaaaaa;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--sm-transition);
}

.sm-nav a:hover,
.sm-nav a.active {
  color: var(--sm-orange);
}

.sm-nav-cta {
  margin-left: 16px;
  background: var(--sm-orange);
  color: var(--sm-white) !important;
  border-radius: var(--sm-radius);
  padding: 8px 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background var(--sm-transition);
}

.sm-nav-cta:hover {
  background: var(--sm-orange-dark);
  color: var(--sm-white) !important;
}

/* Mobile menu */
.sm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.sm-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sm-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .sm-hamburger { display: flex; }
  .sm-nav-wrapper {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--sm-charcoal);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .sm-nav-wrapper.open { display: block; }
  .sm-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .sm-nav-cta { margin-left: 0; }
}

/* ============================================================
   HERO SECTIE
   ============================================================ */

.sm-hero {
  background: var(--sm-charcoal);
  color: var(--sm-white);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}

.sm-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(243,149,45,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.sm-hero-inner {
  max-width: var(--sm-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sm-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--sm-white);
}

.sm-hero-title .sm-text-orange {
  color: var(--sm-orange);
}

.sm-hero-sub {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 36px;
  line-height: 1.7;
}

.sm-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sm-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sm-hero-logo-img {
  width: 100%;
  max-width: 340px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .sm-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sm-hero-btns {
    justify-content: center;
  }
  .sm-hero-visual {
    display: none;
  }
}

/* ============================================================
   DIENSTEN SECTIE
   ============================================================ */

.sm-services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */

.sm-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.sm-portfolio-item {
  position: relative;
  border-radius: var(--sm-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sm-cream);
  cursor: pointer;
}

.sm-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sm-portfolio-item:hover img {
  transform: scale(1.05);
}

.sm-portfolio-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(42,42,42,0.9) 0%, transparent 100%);
  padding: 20px;
  transform: translateY(8px);
  transition: transform var(--sm-transition);
}

.sm-portfolio-item:hover .sm-portfolio-overlay {
  transform: translateY(0);
}

.sm-portfolio-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sm-orange);
  display: block;
}

.sm-portfolio-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sm-white);
}

/* ============================================================
   USP BALK
   ============================================================ */

.sm-usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--sm-radius-lg);
  overflow: hidden;
}

.sm-usp {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.07);
}

.sm-usp:last-child {
  border-right: none;
}

.sm-usp-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.sm-usp-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sm-charcoal);
  margin-bottom: 4px;
}

.sm-usp-text {
  font-size: 0.8rem;
  color: var(--sm-steel);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.sm-testimonial {
  background: var(--sm-white);
  border-radius: var(--sm-radius-lg);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 28px;
}

.sm-testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sm-charcoal-mid);
  margin-bottom: 20px;
  font-style: italic;
}

.sm-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sm-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--sm-orange-dark);
  font-size: 0.9rem;
}

.sm-testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sm-charcoal);
}

.sm-testimonial-role {
  font-size: 0.8rem;
  color: var(--sm-steel);
}

.sm-stars {
  color: var(--sm-orange);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* ============================================================
   CONTACT FORMULIER
   ============================================================ */

.sm-form-group {
  margin-bottom: 20px;
}

.sm-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sm-charcoal);
  margin-bottom: 6px;
}

.sm-input,
.sm-textarea,
.sm-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--sm-radius);
  font-family: var(--sm-font);
  font-size: 0.95rem;
  color: var(--sm-charcoal);
  background: var(--sm-white);
  transition: border-color var(--sm-transition);
  outline: none;
}

.sm-input:focus,
.sm-textarea:focus,
.sm-select:focus {
  border-color: var(--sm-orange);
  box-shadow: 0 0 0 3px rgba(243,149,45,0.15);
}

.sm-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================================
   FOOTER
   ============================================================ */

.sm-footer {
  background: var(--sm-charcoal);
  color: #aaaaaa;
  padding: 60px 24px 30px;
}

.sm-footer-inner {
  max-width: var(--sm-max-width);
  margin: 0 auto;
}

.sm-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.sm-footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #888888;
  margin-top: 16px;
}

.sm-footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sm-white);
  margin-bottom: 16px;
}

.sm-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sm-footer-links a {
  color: #888888;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--sm-transition);
}

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

.sm-footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.sm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #666666;
}

@media (max-width: 768px) {
  .sm-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .sm-footer-top {
    grid-template-columns: 1fr;
  }
  .sm-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================================
   ORANJE ACCENT LIJN (logo stijl)
   ============================================================ */

.sm-accent-line {
  width: 60px;
  height: 3px;
  background: var(--sm-orange);
  border-radius: 2px;
  margin: 16px 0 0;
}

.sm-accent-line-center {
  margin: 16px auto 0;
}

/* ============================================================
   BADGES & TAGS
   ============================================================ */

.sm-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.sm-badge-orange {
  background: var(--sm-orange-light);
  color: var(--sm-orange-dark);
}

.sm-badge-blue {
  background: var(--sm-accent-blue-l);
  color: var(--sm-accent-blue);
}

.sm-badge-green {
  background: var(--sm-accent-green-l);
  color: var(--sm-accent-green);
}


/* ============================================================
   NAVIGATIE KLEUR — expliciet wit/grijs op donkere header
   ============================================================ */

.sm-header .wp-block-navigation,
.wp-block-navigation,
.wp-block-navigation__container,
.wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content,
header .wp-block-navigation a,
header .wp-block-navigation-item a,
header nav a {
  color: #aaaaaa !important;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
header .wp-block-navigation a:hover,
header nav a:hover {
  color: #F3952D !important;
}

/* Zorgt dat het hamburger-menu icoon zichtbaar is */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  color: #ffffff !important;
}

/* Mobiel overlay menu */
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: #2A2A2A !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: #aaaaaa !important;
}

/* ============================================================
   WOOCOMMERCE BASISSTIJLEN
   ============================================================ */

.woocommerce .button,
.woocommerce button.button {
  background: var(--sm-orange) !important;
  color: var(--sm-white) !important;
  font-family: var(--sm-font) !important;
  font-weight: 700 !important;
  border-radius: var(--sm-radius) !important;
  border: none !important;
  padding: 12px 24px !important;
  transition: background var(--sm-transition) !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--sm-orange-dark) !important;
  color: var(--sm-white) !important;
}

.woocommerce a.added_to_cart {
  color: var(--sm-orange) !important;
}

.woocommerce-loop-product__title {
  font-family: var(--sm-font) !important;
  font-weight: 700 !important;
}

.woocommerce span.price,
.woocommerce .price {
  color: var(--sm-orange) !important;
  font-weight: 700 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-color: var(--sm-orange) !important;
  color: var(--sm-orange) !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--sm-orange) !important;
  color: var(--sm-white) !important;
}

/* ============================================================
   ANIMATIES
   ============================================================ */

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

.sm-animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* ============================================================
   WORDPRESS BLOCK EDITOR AANPASSINGEN
   ============================================================ */

.wp-block-button__link {
  font-family: var(--sm-font) !important;
  border-radius: var(--sm-radius) !important;
  font-weight: 700 !important;
}

.has-sm-orange-color { color: var(--sm-orange) !important; }
.has-sm-orange-background-color { background-color: var(--sm-orange) !important; }
.has-sm-charcoal-color { color: var(--sm-charcoal) !important; }
.has-sm-charcoal-background-color { background-color: var(--sm-charcoal) !important; }
.has-sm-cream-color { color: var(--sm-cream) !important; }
.has-sm-cream-background-color { background-color: var(--sm-cream) !important; }
