/**
 * MMX Page Builder
 * Frontend Styles - Mobile First
 * 
 * @package MMX Page Builder
 * @author MMX Development
 */

/* ============================================
   CSS VARIABLES (worden door PHP overschreven)
   ============================================ */
:root {
    --primary: #1a5f7a;
    --secondary: #57c5b6;
    --accent: #ec4899;
    --menu-bg: #ffffff;
    --menu-link: #1a1a2e;
    --menu-hover: #1a5f7a;
    --menu-active: #1a5f7a;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Source Sans 3', sans-serif;
    --h1: 2.5rem;
    --h2: 2rem;
    --h3: 1.5rem;
    --body-size: 1rem;
    --body-lh: 1.6;
    --dark: #1a1a2e;
    --light: #f8fafc;
    --gray: #64748b;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--body-font);
    font-size: var(--body-size);
    line-height: var(--body-lh);
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

/* ============================================
   NAVBAR - Mobile First
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--menu-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Hamburger Menu Button - HIDDEN ON DESKTOP */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--menu-link);
    transition: all 0.3s ease;
    margin: 3px 0;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Desktop Menu - DEFAULT VIEW */
.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--menu-link);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.nav-menu a.active {
    color: var(--menu-active);
}

/* Desktop Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--menu-bg);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-menu li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu a {
    padding: 0.75rem 1.25rem;
}

.submenu a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.has-children > a::after {
    content: ' ▾';
    font-size: 0.7rem;
}

/* MOBILE ONLY - Bootstrap 5 style collapse */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1051;
    }
    
    /* Menu hidden by default on mobile */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: var(--menu-bg, #ffffff) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        margin: 0 !important;
        padding: 2rem !important;
        list-style: none !important;
        z-index: 1050 !important;
        display: none !important;
        overflow-y: auto !important;
    }
    
    /* Menu visible when .show class is added */
    .nav-menu.show {
        display: flex !important;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
    }
    
    .nav-menu > li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu > li > a {
        font-size: 1.5rem;
        padding: 1rem;
        display: block;
        color: var(--menu-link, #1a1a2e);
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: transparent;
        min-width: auto;
    }
    
    .nav-social {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 50px;
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #db2777;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

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

.btn-white:hover {
    background: var(--light);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
}

/* ============================================
   HERO BUTTONS
   ============================================ */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 3rem 1rem;
}

.section-alt {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.section-dark {
    background: var(--dark);
    color: #fff;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: #94a3b8;
}

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

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

.section-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-dark .section-header h2 {
    color: #fff;
}

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

.section-title {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.prose {
    color: #475569;
}

.prose p {
    margin-bottom: 1rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

.empty-message {
    text-align: center;
    color: var(--gray);
    font-style: italic;
    padding: 2rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 6rem 1rem 3rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Background wordt inline gezet via PHP */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   TEXT SECTION
   ============================================ */
.text-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.text-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.text-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.feature-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

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

.feature-body {
    padding: 1.25rem;
    text-align: center;
}

.feature-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-body p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox-caption {
    text-align: center;
    color: #fff;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
}

/* ============================================
   VIDEOS
   ============================================ */
.videos-grid {
    display: grid;
    gap: 1.5rem;
}

.video-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-grid.single-column {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-details strong {
    color: var(--dark);
}

.contact-details a,
.contact-details span {
    color: var(--gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* ============================================
   TEAM
   ============================================ */
.team-grid {
    display: grid;
    gap: 1.5rem;
}

.team-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.team-photo {
    aspect-ratio: 1;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #94a3b8;
}

.team-info {
    padding: 1.25rem;
}

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

.team-role {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-bio {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: 4rem 1rem;
    text-align: center;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.cta-accent {
    background: linear-gradient(135deg, var(--accent), #db2777);
    color: #fff;
}

.cta-dark {
    background: var(--dark);
    color: #fff;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 2rem 1rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-brand {
    font-family: var(--heading-font);
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    color: var(--footer-text);
    font-size: 0.85rem;
}

.footer-copy a {
    color: var(--footer-link);
}

.footer-copy .edit-icon {
    display: inline-block;
    margin-left: 0.75rem;
    opacity: 0.4;
    transition: opacity 0.3s;
    color: inherit;
}

.footer-copy .edit-icon:hover {
    opacity: 1;
    color: var(--footer-link);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #059669;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    z-index: 6000;
    transition: transform 0.3s ease;
    font-weight: 500;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.error {
    background: #dc2626;
}

/* ============================================
   RESPONSIVE - Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
    :root {
        --h1: 3rem;
        --h2: 2.25rem;
        --h3: 1.5rem;
    }

    .section {
        padding: 4rem 2rem;
    }

    .navbar-inner {
        padding: 1rem 2rem;
    }

    .logo-img {
        height: 50px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    /* Text Section */
    .text-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .text-grid.image-left {
        direction: rtl;
    }

    .text-grid.image-left > * {
        direction: ltr;
    }

    /* Grids */
    .features-grid.cols-2,
    .gallery-grid.cols-2,
    .videos-grid.cols-2,
    .team-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .videos-grid.cols-1 {
        max-width: 800px;
        margin: 0 auto;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer */
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    :root {
        --h1: 3.5rem;
        --h2: 2.5rem;
        --h3: 1.75rem;
    }

    .section {
        padding: 5rem 2rem;
    }

    .hero {
        padding: 2rem;
    }

    /* Grids */
    .features-grid.cols-3,
    .gallery-grid.cols-3,
    .team-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid.cols-4,
    .gallery-grid.cols-4,
    .team-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Lightbox navigation visible */
    .lightbox-prev {
        left: -80px;
    }

    .lightbox-next {
        right: -80px;
    }
}

/* ============================================
   RESPONSIVE - Mobile Lightbox
   ============================================ */
@media (max-width: 767px) {
    .lightbox-nav {
        display: none;
    }

    .lightbox-container {
        width: 100%;
    }

    .lightbox-image {
        max-height: 70vh;
    }
}

/* ============================================
   EDIT MODE ADJUSTMENTS
   ============================================ */
body.edit-mode {
    padding-right: 380px;
}

body.edit-mode .navbar {
    right: 380px;
}

@media (max-width: 1024px) {
    body.edit-mode {
        padding-right: 0;
        padding-bottom: 60px;
    }

    body.edit-mode .navbar {
        right: 0;
    }
}

/* ============================================
   FOOTER SOCIAL
   ============================================ */
.footer-social {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 1.1rem;
}

.footer-sep {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* ============================================
   AGENDA COMPONENT
   ============================================ */
.agenda-list {
    max-width: 800px;
    margin: 0 auto;
}

.agenda-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.agenda-item:hover {
    transform: translateY(-3px);
}

.agenda-date {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.agenda-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.agenda-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agenda-content {
    flex: 1;
}

.agenda-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.agenda-time,
.agenda-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.agenda-time i,
.agenda-location i {
    width: 20px;
    margin-right: 0.25rem;
}

.agenda-desc {
    color: var(--gray);
    margin-top: 0.5rem;
}

.agenda-empty {
    text-align: center;
    color: var(--gray);
    padding: 2rem;
}

.agenda-archive {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.archive-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray);
}

.archive-list {
    max-width: 600px;
}

.archive-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.archive-date {
    flex-shrink: 0;
    width: 120px;
    color: var(--gray);
    font-size: 0.9rem;
}

.archive-name {
    color: var(--dark);
}

/* ============================================
   FORM COMPONENT
   ============================================ */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

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

.custom-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.custom-form label .required {
    color: #dc2626;
    margin-left: 0.25rem;
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form input[type="url"],
.custom-form input[type="number"],
.custom-form input[type="date"],
.custom-form select,
.custom-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--btn-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fff;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

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

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group input,
.radio-item input {
    margin-right: 0.5rem;
}

.radio-item {
    display: flex;
    align-items: center;
}

.form-submit {
    margin-top: 1.5rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--btn-radius);
    text-align: center;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ============================================
   NAV SOCIAL ICONS
   ============================================ */
.nav-social a {
    padding: 0.5rem !important;
}

.nav-social a i {
    font-size: 1rem;
}
