﻿/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;
    color: #fff;
    background: #ff0000;
    line-height: 1.6;
}

/* ----- SECTIONS (full‑width background images) ----- */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----- Images Row (50% viewport height) ----- */
.section-images {
    position: relative;
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* <-- this is the key change */
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-images .overlay {
    background: rgba(0, 0, 0, 0);
    padding: 0;
    min-height: auto;
}

/* dark overlay for text readability */
.overlay {
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* ----- CONTENT CARD (white overlay with grid) ----- */
.content {
    max-width: 1000px;
    width: 100%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.85);
    color: #111;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ----- TYPOGRAPHY INSIDE THE CARD ----- */
.content h2 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: #ff0000;
    font-size: 2.6rem;
    text-transform: uppercase;
    border-right: 1px solid #e0e0e0;
    padding-right: 1.5rem;
    margin-bottom: 0;
}

.content p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-family: 'Varela Round', sans-serif;
}

.content ul {
    list-style: none;
    padding: 0;
    font-size: 1.15rem;
}

.content ul li {
    margin-bottom: 0.5rem;
}

.content .small {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1.5rem;
}

/* ----- TEXT LINKS INSIDE CONTENT (EXCLUDING BUTTONS) ----- */
.content p a:not(.button) {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.content p a:not(.button):hover {
    color: #cc0000;
    text-decoration: underline;
}

/* ----- LOGO SECTION (no white card) ----- */
.section-logo .overlay {
    background: rgba(0, 0, 0, 0.05);
}

.section-logo .logo {
    max-width: 320px;
    width: 80%;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-logo .strapline {
    font-size: 1.1rem;
    text-transform: normal;
    opacity: 0.75;
    color: #000;
    text-align: left;
}

/* ----- BUTTON (shop link) ----- */
.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.85rem 2.8rem;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 60px;
    transition: background 0.2s, transform 0.1s;
    font-family: 'Fredoka', sans-serif;
}

.button:hover {
    background: #ff0000;
    transform: scale(0.98);
}

/* ----- FOOTER ----- */
.footer {
    background: #111;
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}

.footer-inner {
    max-width: 720px;
    margin: 0 auto;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 0.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

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

.copyright {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.5rem;
}

.copyright a {
    color: #ccc;
    text-decoration: none;
}

.copyright a:hover {
    color: #fff;
}

/* ----- PRESS THUMBNAIL ----- */
.press-thumbnail {
    margin-top: 1.5rem;
    text-align: center;
    cursor: pointer;
}

.press-thumbnail img {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.press-thumbnail img:hover {
    transform: scale(1.03);
}

.click-hint {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-top: 0.3rem;
}

/* ----- MODAL (enlarged view) ----- */
.press-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    padding: 2rem;
}

/* Inner container for centering */
.modal-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.modal-inner img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
}

/* Close button */
.press-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    font-family: sans-serif;
    z-index: 1001;
    line-height: 1;
}

.press-modal .close-modal:hover {
    opacity: 1;
}

/* Mobile tweak */
@media (max-width: 600px) {
    .press-modal {
        padding: 1rem;
    }
    .modal-inner img {
        max-width: 95%;
        max-height: 85%;
    }
}


/* ----- PRESS SECTION GRID LAYOUT ----- */
.press-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.press-left h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.press-left .press-thumbnail {
    cursor: pointer;
    text-align: center;
}

.press-left .press-thumbnail img {
    max-width: 140px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.press-left .press-thumbnail img:hover {
    transform: scale(1.03);
}

.press-left .click-hint {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-top: 0.3rem;
}

.press-right p {
    margin-top: 0;
}

.press-right .quote {
    margin-top: 1rem;
    font-style: italic;
}

/* ========================================
   RESPONSIVE TWEAKS
   ======================================== */

/* ----- Tablets & small laptops ----- */
@media (max-width: 900px) {
    .content {
        max-width: 90%;
        padding: 2.5rem;
        gap: 2rem;
    }
    .content h2 {
        font-size: 2.2rem;
    }
/* ----- Fix for iOS background sizing issues (900px and below) ----- */
@media (max-width: 900px) {
    /* Only target sections that need the background fix */
    .section-history,
    .section-logo,
    .section-stockists,
    .section-press,
    .section-shop,
    .section-designs,
    .section-images {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* ----- Responsive: Stack press grid on mobile ----- */
@media (max-width: 700px) {
    .press-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .press-left h2 {
        margin-bottom: 0.5rem;
    }
    .press-left .press-thumbnail {
        max-width: 180px;
    }
}

/* ----- Mobile (≤600px) ----- */
@media (max-width: 600px) {
    .section {
        min-height: 80vh;
    }
    .overlay {
        min-height: 80vh;
        padding: 1.5rem;
    }

    /* Drops the grid layout on small screens */
    .content {
        display: block;
        padding: 1.5rem;
        max-width: 95%;
        gap: 0;
    }
    .content h2 {
        font-size: 1.8rem;
        border-right: none;
        padding-right: 0;
        margin-bottom: 1rem;
    }
    .content p,
    .content ul {
        font-size: 1rem;
    }

    .section-logo .logo {
        max-width: 200px;
    }

    .button {
        padding: 0.7rem 2rem;
        font-size: 0.9rem;
    }

    .social-links a {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }
}

/* ----- Very small phones (≤400px) ----- */
@media (max-width: 400px) {
    .content {
        padding: 1.2rem;
    }
    .content h2 {
        font-size: 1.5rem;
    }
    .content p,
    .content ul {
        font-size: 0.9rem;
    }
}