/* ===== Fotoclubsite.nl - Structural CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family, 'Lato', sans-serif);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

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

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

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

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-login {
    margin-left: 1rem;
    padding: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition);
}

.nav-login:hover {
    color: var(--text-white);
}

.nav-login svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Profile dropdown */
.nav-profile {
    position: relative;
    margin-left: 1rem;
}

.nav-profile-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition);
}

.nav-profile-toggle:hover,
.nav-profile.open .nav-profile-toggle {
    color: var(--text-white);
}

.nav-profile-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

.nav-profile-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 180px;
    padding: 0.5rem 0;
    list-style: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1100;
}

.nav-profile.open .nav-profile-menu {
    display: block;
}

.nav-profile-menu li a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.nav-profile-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

.mobile-toggle {
    display: none;
}

/* ===== Main Content ===== */
.site-main {
    flex: 1;
    margin-top: var(--header-height);
}

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

.container-wide {
    width: 98%;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--text-white);
}

/* ===== Hero Slideshow ===== */
.hero-slideshow {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    height: 70vh;
    min-height: 400px;
    max-height: 800px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.hero-slideshow .swiper {
    width: 100%;
    height: 100%;
}

.hero-slideshow .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slideshow .swiper-button-next,
.hero-slideshow .swiper-button-prev {
    color: white;
}

.hero-slideshow .swiper-pagination-bullet-active {
    background: white;
}

/* ===== Masonry Photo Grid ===== */
.photo-grid {
    padding: 0.5rem 0;
}

.photo-grid-item {
    width: calc(25% - 8px);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform var(--transition);
}

.photo-grid-item:hover {
    transform: translateY(-2px);
}

.photo-grid-item img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.photo-grid-item .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem 0.75rem 0.75rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.photo-grid-item:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay .photographer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.photo-overlay .photographer-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.photo-overlay .photographer-name {
    font-size: 0.8rem;
    color: var(--text-white);
    font-weight: 400;
}

/* ===== Member Cards ===== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.member-card {
    text-align: center;
    transition: transform var(--transition);
}

.member-card:hover {
    transform: translateY(-4px);
}

.member-card .member-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--border);
    transition: border-color var(--transition);
}

.member-card:hover .member-avatar {
    border-color: var(--text-white);
}

.member-card .member-name {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
}

/* ===== Portfolio Page ===== */
.portfolio-header {
    text-align: center;
    padding: 3rem 2rem;
}

.portfolio-header .portfolio-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--border);
}

.portfolio-header h1 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.portfolio-header .portfolio-bio {
    max-width: 600px;
    margin: 0 auto 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.portfolio-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.portfolio-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all var(--transition);
}

.portfolio-links a:hover {
    color: var(--text-white);
    border-color: var(--text-white);
}

.portfolio-links svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ===== Foto van de Maand ===== */
.fotm-item {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.fotm-item h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.fotm-item .fotm-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.fotm-item .fotm-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.fotm-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.fotm-photos img {
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity var(--transition);
}

.fotm-photos img:hover {
    opacity: 0.85;
}

.fotm-photo-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.fotm-photo-wrapper a {
    display: block;
}

.fotm-photographer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem 0.75rem 0.5rem;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.fotm-photo-wrapper:hover .fotm-photographer-overlay {
    opacity: 1;
}

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

.agenda-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.agenda-item-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background var(--transition);
}

.agenda-item-header:hover {
    background: var(--bg-input);
}

.agenda-item-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    margin-right: 1.5rem;
}

.agenda-item-date .weekday {
    font-size: 0.7rem;
    text-transform: capitalize;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.agenda-item-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

.agenda-item-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.agenda-item-title {
    flex: 1;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.agenda-item-toggle {
    color: var(--text-muted);
    transition: transform var(--transition);
    margin-left: auto;
}

.agenda-item.expanded .agenda-item-toggle {
    transform: rotate(180deg);
}

.agenda-item-details {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}

.agenda-item.expanded .agenda-item-details {
    display: block;
    padding-top: 1.5rem;
}

.agenda-item-details .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.agenda-ical-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all var(--transition);
    background: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.agenda-ical-btn:hover {
    color: var(--text-white);
    border-color: var(--text-white);
}

/* ===== Contact Form ===== */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition);
}

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--text-white);
    color: var(--bg-primary);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-primary);
}

/* ===== Platform Homepage (marketing) ===== */
.platform-homepage {
    min-height: calc(100vh - var(--header-height));
}

.platform-hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.platform-hero h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.platform-tagline {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
}

.platform-features {
    padding: 3rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-features h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 2.5rem;
    grid-column: 1 / -1;
}

.platform-features .feature-grid {
    grid-column: 1 / -1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: border-color var(--transition);
}

.feature-card:hover {
    border-color: var(--border-light);
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Page Headers ===== */
.page-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ===== Static Page Content ===== */
.page-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.page-content h2 {
    color: var(--text-white);
    font-weight: 400;
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 0;
}

.page-content p:empty,
.page-content p:has(> br:only-child) {
    height: 1rem;
}

.page-content a {
    color: var(--text-white);
    text-decoration: underline;
}

/* ===== Login Page ===== */
.login-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
}

.login-container h1 {
    text-align: center;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 2rem;
}

/* ===== Admin Pages ===== */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    color: var(--text-primary);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 10px;
}

.badge-active {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.badge-inactive {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.badge-admin {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
}

/* ===== Flash Messages ===== */
.flash-message {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.flash-success {
    background: rgba(46, 204, 113, 0.15);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.flash-error {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ===== Photo Upload ===== */
.photo-dropzone {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 2rem;
}

.photo-dropzone:hover {
    border-color: var(--text-white);
    color: var(--text-secondary);
}

/* ===== Manage Photos Grid ===== */
.manage-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.manage-photo-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: grab;
}

.manage-photo-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.manage-photo-item .photo-actions {
    padding: 0.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ===== Placeholder Avatar ===== */
.avatar-placeholder {
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.avatar-placeholder svg {
    width: 40%;
    height: 40%;
    fill: currentColor;
}

/* ===== Loading Spinner ===== */
.loading {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--text-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== Gallery Comments ===== */
.gallery-comment {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.gallery-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.gallery-comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.gallery-comment-text {
    color: var(--text-secondary);
    line-height: 1.5;
    white-space: pre-wrap;
}

/* ===== Platform Landing ===== */
.platform-hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.platform-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.platform-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.feature-card h3 {
    color: var(--text-white);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .photo-grid-item {
        width: calc(33.333% - 8px);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0 1rem;
    }

    .hamburger {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        border-left: 1px solid var(--border);
    }

    .mobile-toggle:checked ~ .site-nav {
        right: 0;
    }

    .mobile-toggle:checked ~ .nav-backdrop {
        display: block;
    }

    .nav-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links a {
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }

    .nav-login, .nav-profile {
        margin-left: 0;
        margin-top: 1rem;
    }

    .nav-profile-menu {
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0.25rem;
        min-width: 0;
    }

    .photo-grid-item {
        width: calc(50% - 6px);
    }

    .hero-slideshow {
        height: 50vh;
        min-height: 250px;
    }

    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .page-header {
        padding: 2rem 1rem 1rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .platform-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .photo-grid-item {
        width: 100%;
    }

    .portfolio-header h1 {
        font-size: 1.5rem;
    }

    .fotm-photos {
        grid-template-columns: 1fr;
    }

    .portfolio-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== Quill WYSIWYG Editor ===== */
.ql-toolbar.ql-snow {
    background: var(--bg-secondary);
    border-color: var(--border) !important;
    border-radius: 4px 4px 0 0;
}

.ql-toolbar.ql-snow .ql-stroke {
    stroke: var(--text-secondary);
}

.ql-toolbar.ql-snow .ql-fill {
    fill: var(--text-secondary);
}

.ql-container.ql-snow {
    background: var(--bg-input);
    border-color: var(--border) !important;
    border-radius: 0 0 4px 4px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    min-height: 250px;
}

.ql-editor {
    min-height: 250px;
    line-height: 1.8;
}
