/*
Theme Name: Bubbles
Theme URI: https://bubbles-toneel.nl
Author: Bubbles Toneelvereniging
Author URI: https://bubbles-toneel.nl
Description: Thema voor toneelvereniging Bubbles — creativiteit en passie.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bubbles
*/

/* ==========================================================================
   Base & layout (vanaf hier originele style.css)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #faf9f9;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.bubbles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    border: 3px solid #20b2aa;
    background: #ffbcc8;
    animation: float 15s infinite ease-in-out;
    box-shadow: inset 4px 4px 12px rgba(255, 255, 255, 0.5), 0 4px 12px rgba(32, 178, 170, 0.18);
}

.bubble::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 28%;
    height: 28%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.bubble-1 {
    width: 150px;
    height: 150px;
    left: 5%;
    top: 18%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 160px;
    height: 160px;
    left: 78%;
    top: 22%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 140px;
    height: 140px;
    left: 12%;
    top: 62%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 170px;
    height: 170px;
    left: 72%;
    top: 58%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(20px);
    }
    50% {
        transform: translateY(-60px) translateX(-15px);
    }
    75% {
        transform: translateY(-30px) translateX(10px);
    }
}

header {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #7fcdc9 0%, #5eb4b1 100%);
    box-shadow: 0 2px 12px rgba(94, 180, 177, 0.2);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.logo-cluster {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -38px;
}

.logo-bubble {
    position: absolute;
    border-radius: 50%;
    background: #ffc8d2;
    border: 3px solid #20b2aa;
    box-shadow: inset 3px 3px 8px rgba(255, 255, 255, 0.5), 0 2px 8px rgba(32, 178, 170, 0.15);
}

.logo-bubble-sm {
    width: 52px;
    height: 52px;
    bottom: -6px;
    left: -12px;
}

.logo-bubble-xs {
    width: 34px;
    height: 34px;
    bottom: 6px;
    left: 28px;
}

.main-bubble {
    position: relative;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: #ffc8d2;
    border: 4px solid #20b2aa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 6px 6px 16px rgba(255, 255, 255, 0.5), 0 6px 20px rgba(32, 178, 170, 0.25);
    animation: pulse 3s infinite ease-in-out;
}

.main-bubble::before {
    content: '';
    position: absolute;
    top: 22px;
    right: 34px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.logo-text {
    font-size: 2.1rem;
    font-weight: bold;
    color: #c75a72;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9), -1px -1px 0 rgba(255, 255, 255, 0.5);
    letter-spacing: 8px;
}

.logo-cluster a {
    text-decoration: none;
    color: inherit;
}

.site-nav {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-nav-left {
    justify-content: flex-end;
}

.site-nav-right {
    justify-content: flex-start;
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.site-nav-left ul {
    justify-content: flex-end;
    padding-right: 24px;
}

.site-nav-right ul {
    justify-content: flex-start;
    padding-left: 24px;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 4px;
    border-radius: 4px;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

.site-nav a.active,
.site-nav .current-menu-item a {
    color: #fff;
    border-bottom-color: #fff;
    font-weight: 600;
}

main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    margin-top: -30px;
    padding: 78px 24px 40px;
    flex: 1;
}

.hero {
    text-align: center;
    padding: 60px 24px;
    background: rgba(255, 242, 247, 0.95);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(32, 178, 170, 0.12);
    border: 3px solid #20b2aa;
}

.hero-compact {
    padding: 36px 24px;
}

.hero-compact h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.hero-compact p {
    font-size: 1.05rem;
}

.hero h2 {
    font-size: 2.5rem;
    color: #c75a72;
    margin-bottom: 20px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    font-weight: 500;
}

.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-single {
    width: 100%;
}

.page-content {
    width: 100%;
    background: rgba(255, 242, 247, 0.95);
    border: 3px solid #20b2aa;
    border-radius: 15px;
    padding: 32px 36px 36px;
    box-shadow: 0 4px 16px rgba(32, 178, 170, 0.1);
}

.content-block,
.content-row {
    margin-bottom: 28px;
}

.content-block:last-child,
.content-row:last-child {
    margin-bottom: 0;
}

.content-block p,
.content-row-text p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 1em;
}

.content-block p:last-child,
.content-row-text p:last-child {
    margin-bottom: 0;
}

.content-block h3,
.content-row-text h3 {
    color: #c75a72;
    font-size: 1.35rem;
    margin: 0 0 12px;
}

.content-block h3:not(:first-child),
.content-row-text h3:not(:first-child) {
    margin-top: 1em;
}

.content-block a,
.content-row-text a {
    color: #20b2aa;
    text-decoration: underline;
}

.content-block a:hover,
.content-row-text a:hover {
    color: #c75a72;
}

.content-row.content-row-text-left {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: start;
}

.content-row.content-row-photo-left {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 28px;
    align-items: start;
}

.content-row-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.news-item {
    display: grid;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid rgba(32, 178, 170, 0.25);
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-item-photo-left {
    grid-template-columns: 1fr 1.2fr;
}

.news-item-photo-left .news-item-photo { order: 1; }
.news-item-photo-left .news-item-text { order: 2; }

.news-item-photo-right {
    grid-template-columns: 1.2fr 1fr;
}

.news-item-photo-right .news-item-text { order: 1; }
.news-item-photo-right .news-item-photo { order: 2; }

.news-item-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.news-item-photo {
    min-height: 0;
}

.news-item-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.news-item-photo-placeholder {
    display: block;
    width: 100%;
    padding-bottom: 60%;
    min-height: 200px;
    background: rgba(240, 232, 236, 0.8);
    border: 2px dashed rgba(32, 178, 170, 0.3);
    border-radius: 12px;
}

.news-item-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 8px;
}

.news-item-text h3 {
    color: #c75a72;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.news-item-text p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
}

.news-item-link-text {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #20b2aa;
}

.news-item-link:hover .news-item-link-text {
    color: #c75a72;
}

.news-item-link:hover .news-item-text h3 {
    color: #b84a5e;
}

@media (max-width: 768px) {
    .news-item-photo-left,
    .news-item-photo-right {
        grid-template-columns: 1fr;
    }
    .news-item-photo,
    .news-item-text {
        order: 0;
    }
}

.productie-section {
    margin-bottom: 56px;
}

.productie-section:last-child {
    margin-bottom: 0;
}

.productie-section-title {
    color: #c75a72;
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(32, 178, 170, 0.5);
}

.productie-item {
    display: grid;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid rgba(32, 178, 170, 0.25);
}

.productie-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.productie-item-photo-left {
    grid-template-columns: 1fr 1.2fr;
}

.productie-item-photo-left .productie-item-photo { order: 1; }
.productie-item-photo-left .productie-item-text { order: 2; }

.productie-item-photo-right {
    grid-template-columns: 1.2fr 1fr;
}

.productie-item-photo-right .productie-item-text { order: 1; }
.productie-item-photo-right .productie-item-photo { order: 2; }

.productie-item-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.productie-item-photo {
    min-height: 0;
}

.productie-item-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.productie-item-photo-placeholder {
    display: block;
    width: 100%;
    padding-bottom: 60%;
    min-height: 200px;
    background: rgba(240, 232, 236, 0.8);
    border: 2px dashed rgba(32, 178, 170, 0.3);
    border-radius: 12px;
}

.productie-item-text h4 {
    color: #c75a72;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.productie-item-text p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
}

.productie-item-link-text {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #20b2aa;
}

.productie-item-link:hover .productie-item-link-text {
    color: #c75a72;
}

.productie-item:hover .productie-item-text h4 {
    color: #b84a5e;
}

@media (max-width: 768px) {
    .productie-item-photo-left,
    .productie-item-photo-right {
        grid-template-columns: 1fr;
    }
    .productie-item-photo,
    .productie-item-text {
        order: 0;
    }
}

/* Productie poster en galerij */
.productie-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}

.productie-poster {
    position: sticky;
    top: 20px;
}

.productie-poster-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(32, 178, 170, 0.15);
    border: 3px solid #20b2aa;
    display: block;
}

.productie-content {
    min-width: 0; /* Voorkomt overflow problemen */
}

.productie-content p {
    margin-bottom: 1.5em;
}

.productie-content p:last-child {
    margin-bottom: 0;
}

.productie-gallery {
    margin-top: 40px;
    margin-bottom: 32px;
}

.productie-gallery-title {
    color: #c75a72;
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(32, 178, 170, 0.5);
}

.productie-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.productie-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    border: 2px solid rgba(32, 178, 170, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.productie-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(32, 178, 170, 0.25);
    border-color: #20b2aa;
}

.productie-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.productie-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.productie-gallery-item:hover .productie-gallery-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .productie-content-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .productie-poster {
        position: static;
    }
    
    .productie-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

.contact-blocks {
    width: 100%;
}

.contact-block {
    background: rgba(255, 242, 247, 0.95);
    border: 3px solid #20b2aa;
    border-radius: 15px;
    padding: 28px 32px;
    margin-bottom: 20px;
}

.contact-block h3 {
    color: #c75a72;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.contact-block p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #20b2aa;
    border-radius: 10px;
    color: #20b2aa;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-links a:hover {
    background: #20b2aa;
    color: #fff;
    border-color: #20b2aa;
}

.contact-email-main {
    margin-top: 8px;
    margin-bottom: 0;
}

.contact-email-main a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #20b2aa;
    text-decoration: none;
}

.contact-email-main a:hover {
    color: #c75a72;
    text-decoration: underline;
}

.page-content > p {
    margin-top: 24px;
    margin-bottom: 0;
}

.page-content .content-block + p a,
article .page-content > p a,
.page-content > p a {
    display: inline-block;
    font-size: 0.95rem;
    color: #20b2aa;
}

.page-content > p a:hover,
article .page-content > p a:hover {
    color: #c75a72;
}

.card {
    background: rgba(255, 242, 247, 0.95);
    padding: 30px 32px;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(32, 178, 170, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #20b2aa;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(32, 178, 170, 0.18);
}

.card h3 {
    color: #c75a72;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: #555;
    line-height: 1.6;
}

.card a {
    color: #20b2aa;
    text-decoration: underline;
}

.card a:hover {
    color: #c75a72;
}

.agenda-list {
    list-style: none;
    margin: 12px 0 16px;
}

.agenda-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(94, 180, 177, 0.2);
}

.agenda-list li:last-child {
    border-bottom: none;
}

.news-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover h3 {
    color: #b84a5e;
}

.card:nth-child(1),
.card:nth-child(2),
.card:nth-child(3) {
    border-color: #20b2aa;
}

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 22px 20px;
    background: linear-gradient(180deg, #5eb4b1 0%, #7fcdc9 100%);
    color: rgba(255, 255, 255, 0.95);
    margin-top: 60px;
    box-shadow: 0 -2px 12px rgba(94, 180, 177, 0.2);
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        padding-bottom: 12px;
    }
    
    .site-nav-left,
    .site-nav-right {
        justify-content: center;
    }
    
    .site-nav-left ul,
    .site-nav-right ul {
        padding: 0;
        justify-content: center;
    }
    
    .logo-text {
        font-size: 1.6rem;
        letter-spacing: 6px;
    }
    
    .main-bubble {
        width: 140px;
        height: 140px;
    }
    
    .logo-bubble-sm {
        width: 42px;
        height: 42px;
    }
    
    .logo-bubble-xs {
        width: 28px;
        height: 28px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .content {
        grid-template-columns: 1fr;
    }
    
    .content-row.content-row-text-left,
    .content-row.content-row-photo-left {
        grid-template-columns: 1fr;
    }
    
    .content-row-photo {
        order: 0;
    }
    
    .content-row-text {
        order: 0;
    }
}
