/**
 * Theme Name: De Boer Watersport
 * Theme URI: https://deboerwatersportholwerd.nl
 * Description: Theme for De Boer Watersport Holwerd
 * Version: 1.0.0
 * Author: J.J. Draaistra
 * Text Domain: deboer-watersport
 */

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

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

/* Add back spacing for text elements */
p {
color: #718096;
    margin-bottom: 1em;
line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    margin-top: 1em;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}
margin-0 {
margin:0!important;
}
li {
    margin-bottom: 0.5em;
}

@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/MyCustomFont.woff2') format('woff2'),
         url('fonts/MyCustomFont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1{
font-weight:400;}
body {
    font-family: 'MyCustomFont', sans-serif;
    line-height: 1.2;
    color: #333;
    background: #fff;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background: #1a202c;
    color: white;
    padding: 12px 0;
    border-bottom: 1px solid #2d3748;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, 
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: #ff6b35;
}

.top-bar svg {
    flex-shrink: 0;
}
.top-bar a img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.top-bar a:hover img {
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(8deg) brightness(101%) contrast(105%);
}

.footerimg svg {
    flex-shrink: 0;
}
.footerimg a img {
    filter: invert(79%) sepia(10%) saturate(435%) hue-rotate(182deg) brightness(95%) contrast(92%);
}

.footerimg a:hover img {
   filter: invert(79%) sepia(10%) saturate(435%) hue-rotate(182deg) brightness(95%) contrast(92%);
}
/* ============================================
   MAIN NAVIGATION
   ============================================ */

.main-nav {
    background: #1a202c;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    margin-right: auto;
}

.logo .custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.logo:hover {
    opacity: 0.9;
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 100;
    margin: 0;
    line-height: 1;
}

.logo-text p {
    font-size: 11px;
    color: #a0aec0;
    margin: 2px 0 0 0;
    line-height: 1;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff6b35;
}

.cta-button {
    background: #ff6b35;
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    display: inline-block;
    font-weight: 400;
}

.cta-button:hover {
    background: #ff8555;
}

/*
 * NOTE: .mobile-menu-toggle and .nav-menu mobile styles
 * are controlled entirely by header.php inline <style>.
 * Do NOT add mobile nav rules here.
 */

/* ============================================
   PAGE HEADER (Dark header with breadcrumbs)
   ============================================ */

.page-header {
    background: #1a202c;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 100;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    align-items: center;
}

.breadcrumbs a {
    color: #a0aec0;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: white;
}

.breadcrumbs span {
    color: #a0aec0;
}

.breadcrumbs .current {
    color: #ff6b35;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), #2d3748;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 200;
}

.hero-content p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: left;
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 400;
    color: #1a202c;
}

.text-center {
    text-align: center;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

/* ============================================
   BRAND GRID
   ============================================ */

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.brand-box {
    border: 1px solid #e2e8f0;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
    color: #a0aec0;
    font-weight: 200;
    font-size: 14px;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    text-align: left;
}

.service-image {
    height: 200px;
    background: #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 400;
    color: #1a202c;
}

.service-card p {
    color: #718096;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-dark {
    background: #1a202c;
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
    font-weight: 500;
}

.btn-dark:hover {
    background: #2d3748;
}

/* ============================================
   PRODUCTS / FILTER SECTION
   ============================================ */

.category-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 25px;
    border: none;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    font-weight: 400;
    color: #333;
}

.filter-btn:hover {
    background: #cbd5e0;
}

.filter-btn.active {
    background: #1a202c;
    color: white;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    background: #e2e8f0;
    overflow: hidden;
    position: relative;
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 400;
    color: #1a202c;
}

.product-specs {
    font-size: 14px;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.price {
    font-size: 20px;
    font-weight: 400;
    color: #1a202c;
}

/* ============================================
   CTA BOXES
   ============================================ */

.cta-box {
    background: #1a202c;
    color: white;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
}

.cta-box h2 {
    font-size: 28px;
    margin: 0;
    font-weight: 300;
}

/* ============================================
   CONTACT FORMS & INFO
   ============================================ */

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #ff6b35;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #1a202c;
}

.contact-form .error {
    border-color: #e53e3e;
}

.form-error {
    color: #e53e3e;
    font-size: 12px;
    display: block;
    margin-top: -15px;
    margin-bottom: 15px;
}

.contact-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a202c;
}

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

.contact-info a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #ff6b35;
}

/* ============================================
   OPENING HOURS BOX
   ============================================ */

.hours-box {
    background: #1a202c;
    color: white;
    padding: 40px;
    border-radius: 8px;
}

.hours-box h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 400;
}

.hours-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.hours-item:last-child {
    margin-bottom: 0;
}

.hours-item svg {
    color: #ff6b35;
    flex-shrink: 0;
}

.hours-item span {
    font-size: 15px;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #1a202c;
    color: #ffff !important;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.feature-item div {
    font-size: 15px;
    color: #333;
}

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

.site-footer {
    background: #1A202C !important;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-contact p {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #2d3748;
    font-size: 14px;
    color: #a0aec0;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ff6b35;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: none;
    z-index: 999;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.back-to-top:hover {
    background: #ff8555;
    transform: translateY(-5px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.bg-gray {
    background: #f7fafc;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

/* ============================================
   RESPONSIVE - TABLETS
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
	}
.single-hero-image {
        height: auto !important;
        aspect-ratio: none !important;
        width: 100% !important;
        max-width: 100% !important;
       }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .page-header h1 {
        font-size: 40px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    /*
     * IMPORTANT: All .nav-menu and .mobile-menu-toggle
     * mobile styles live in header.php <style> block.
     * Do NOT duplicate them here or they will conflict.
     */

     
    .single-hero-image {
        height: 100% !important;
        aspect-ratio:none!important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .single-hero-image img {
        height: auto !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .nav-content {
        justify-content: center;
        position: relative;
    }
    
    .logo {
        margin-right: 0;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        right: 0;
    }
    
    /* Rest of your existing mobile styles... */
  
    .nav-content > .cta-button {
        display: none;
    }
    
    .top-bar-content {
        display: none;
    }
    
    .top-bar-left, 
    .top-bar-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .two-column,
    .services-grid,
    .products-grid,
    .contact-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .cta-box h2 {
        font-size: 22px;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .hero {
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
        font-weight: 500;
		letter-spacing: -1%;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .logo .custom-logo {
        max-height: 45px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .price {
        font-size: 18px;
    }
    
    .btn-dark,
    .cta-button {
        padding: 8px 16px;
        font-size: 16px;
		font-weight:500;
    }
    
    .brand-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .nav-content {
        flex-direction: row-reverse;
    }
}
.site-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-content {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-dealer {
  margin-top: 30px;
}

.dealer-text {
  color: #718096;
  font-size: 12px;
  margin-top: 8px;
}

.footer-contact h3 {
  margin-bottom: 10px;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.contact-links {
  margin-top: 20px;
}

.facebook-link {
  margin-top: 20px;
}

.facebook-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* =====================
   BASIS (desktop blijft hetzelfde)
===================== */

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
align-items: start;
}

.footer-dealer {
  margin-top: 30px;
}

.dealer-text {
  color: #718096;
  font-size: 12px;
  margin-top: 8px;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal {
  margin-top: 8px;
  font-size: 12px;
  color: #718096;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* =====================
   MOBIEL – zonder layout te breken
===================== */
@media (max-width: 768px) {

  /* Alles onder elkaar */
  .footer-content {
    flex-direction: column;
    gap: 40px;
    align-items: start;
  }
	.footer-bottom {
flex-wrap: wrap;
}
  .footer-logo,
  .footer-contact {
    align-items: center;
  }

  /* Logo kleiner */
  .footer-logo img {
    max-width: 120px;
    height: auto;
  }

  /* Fallback logo */
  .logo-circle {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .logo-text h1 {
    font-size: 18px;
  }

  .logo-text p {
    font-size: 12px;
  }

  /* Footer bottom centreren */
  .footer-bottom {
    text-align: center;
  }

  .footer-legal {
    line-height: 1.6;
  }
}


/* =====================
   MOBIEL
===================== */
@media (max-width: 768px) {

  .footer-content {
    flex-direction: column;
    text-align: left;
    gap: 40px;
  }

  .footer-logo,
  .footer-contact {
    align-items: start;
  }

  /* Logo kleiner */
  .footer-logo img {
    max-width: 120px;
    height: auto;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .top-bar,
    .main-nav,
    .cta-button,
    .back-to-top,
    .mobile-menu-toggle {
        display: none;
    }
}