/* Reset margins and padding */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
    background-color: #000; /* Black background */
    color: #fff; /* Default text color */
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Header styles */
header {
    background-color: #ff0000; /* Vibrant red header background */
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Navigation menu styles */
nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Section heading styles */
h1, h2, h3 {
    color: #ff0000; /* Red heading text */
    margin-bottom: 20px;
}

/* Section styles */
section {
    padding: 20px;
    background-color: #fff; /* White section background */
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Footer styles */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* --- Interview Gallery --- */
.interview-gallery {
    padding: 2rem;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* space between polaroid borders */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #fff; /* white matte border */
    padding: 8px; /* thickness of border around image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 150px;
    height: auto;
    display: block;
    transition: opacity 0.4s ease;
}

/* Pull-quote overlay */
.gallery-item .quote {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff; /* white text on overlay */
    background: rgba(0,0,0,0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.4;
    transition: opacity 0.4s ease;
}

/* Hover / tap effect */
.gallery-item:hover img,
.gallery-item:active img {
    opacity: 0.5;
}

.gallery-item:hover .quote,
.gallery-item:active .quote {
    opacity: 1;
}

/* --- Responsive Layouts --- */

/* Tablets */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .gallery-item .quote {
        font-size: 1.1rem;
    }
}

/* Mobile adjustments (iPhone 12 Plus reference) */
@media (max-width: 414px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .gallery-item img {
        width: 100%;
        max-width: 150px;
    }

    .gallery-item .quote {
        font-size: 0.95rem;
        padding: 0.5rem;
    }
}