* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rosario', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    color: #545454;
    background-color: white;
}

/* TYPOGRAPHY */
em {
    font-style: italic;
    font-weight: 400;
}

/* ================================
   PAGE HEADLINES
   Used for main page titles and section headers
   ================================ */
.page-headline {
    background: white;
    color: #3A6493; /* R:58 G:100 B:147 */
    border: 1.5px solid rgba(58, 100, 147, 0.6); /* 1.5px weight, 60% opacity */
    border-radius: 1.5px;
    width: 390px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px auto 38px;
    font-family: 'IM Fell DW Pica', serif;
    font-size: 28px;
    text-align: center;
    text-transform: lowercase; /* All lowercase */
    filter: url(#headline-warp); /* Distressed border — disable by removing this line */
}

/* ================================
   BUTTONS
   Used for action buttons throughout the site
   ================================ */
.button {
    background: white;
    color: black;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 1px;
    width: 110px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 15px;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.button:hover {
    opacity: 0.7;
}

/* ================================
   COLUMN HEADLINES - HOME PAGE
   Replaces JPG files like "headlineparablesvinyl.jpg"
   ================================ */
.column-headline {
    background: white;
    color: #3A6493; /* R:58 G:100 B:147 */
    border: 1.5px solid rgba(58, 100, 147, 0.6); /* 60% opacity */
    border-radius: 1.5px;
    width: 390px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 15px;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Emphasis text within column headlines */
.column-headline-emphasis {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 600; /* Semi-Bold */
    margin-right: 6px; /* Space between emphasis and descriptive text */
}

/* Descriptive text within column headlines */
.column-headline-text {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 400; /* Regular */
}

/* ================================
   MINI HEADLINES
   Used on various pages for smaller section headers
   ================================ */
.mini-headline {
    background: white;
    color: #3A6493; /* R:58 G:100 B:147 */
    border: 1.5px solid rgba(58, 100, 147, 0.6); /* 1.5px weight, 60% opacity */
    border-radius: 1.5px;
    width: 200px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 15px;
    font-family: 'IM Fell DW Pica', serif;
    font-size: 23px;
    text-align: center;
    text-transform: lowercase; /* All lowercase */
    filter: url(#headline-warp); /* Distressed border — disable by removing this line */
}

/* Distressed ink effect on headline text — disable by removing this rule */
.page-headline .headline-text,
.mini-headline .headline-text {
    filter: url(#headline-ink);
}

/* ================================
   ACTION LINK TEXT
   Used for call-to-action text links throughout the site
   ================================ */
.action-link-text {
    font-family: 'Rosario', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(0.9rem, 0.85rem + 0.25vw, 0.95rem);
    font-weight: 600;
    color: rgb(58, 100, 147);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    cursor: pointer;
}

h1 {
    font-size: clamp(1.375rem, 2vw + 1rem, 1.625rem);
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.25rem, 1.5vw + 0.875rem, 1.375rem);
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

a {
    color: rgb(58, 100, 147);
}

a:hover {
    opacity: 0.7;
}

/* MAIN CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
}

/* BANNER SECTION */
.banner-section {
    width: 100%;
    height: 298px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner-image {
    width: 1200px;
    height: 298px;
    background: url('banner_desktop.jpg') center/cover;
    object-fit: cover;
}

/* MAIN NAVIGATION */
.navigation {
    background-color: white;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    font-family: 'Cabin Condensed', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: rgb(56, 100, 147);
    text-decoration: none;
    padding: 12px 15px 6px 15px;
    display: block;
    position: relative;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: rgb(56, 100, 147);
    transition: width 0.3s ease;
}

.nav-item:hover {
    opacity: 0.7;
}

.nav-item:hover::before {
    width: calc(100% - 20px);
}

.nav-item.store {
    text-transform: uppercase;
}

/* SECONDARY NAVIGATION - EMAIL & SOCIAL */
.secondary-nav {
    background-color: white;
    padding: 8px 0;
}

.secondary-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* EMAIL SIGNUP */
.email-signup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-signup-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
}

.email-input {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 220px;
}

.email-input:focus {
    outline: none;
    border-color: rgb(56, 100, 147);
}

.join-button {
    padding: 6px 16px;
    background-color: rgb(56, 100, 147);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.join-button:hover {
    opacity: 0.7;
}

/* SOCIAL MEDIA LINKS */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.social-icon {
    width: 30px;
    height: 30px;
    border: none;
    vertical-align: top;
    margin-top: 1px;
}

/* CONTENT SECTION */
.content-section {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: white;
}

.content-section h1 {
    margin-bottom: 30px;
}

.content-section h2 {
    margin: 30px 0 15px 0;
}

.content-section p {
    color: #444;
    font-size: 17.5px;
    line-height: 1.45;
    margin-bottom: 20px;
    /* Remove text-align - let pages define their own alignment */
}

/* Utility classes for common text alignments */
.content-section p.justified {
    text-align: justify;
}

.content-section p.centered {
    text-align: center;
}

.content-section p.left-aligned {
    text-align: left;
}

.content-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-image.square {
    width: 260px;
    height: 260px;
    object-fit: cover;
}

.content-image.rectangle {
    width: 425px;
    height: 331px;
    object-fit: cover;
}

/* STICKY NAVIGATION */
.sticky-nav {
    position: fixed;
    top: -300px;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: top 0.4s ease-in-out;
}

.sticky-nav.show {
    top: 0;
}

.sticky-nav .banner-section {
    height: 140px;
}

.sticky-nav .banner-image {
    width: 1200px;
    height: 140px;
    background: url('banner_desktop_condensed.jpg') center/cover;
}

/* HIDE MOBILE EMAIL SIGNUP IN DESKTOP STICKY BY DEFAULT */
.sticky-nav .navigation .email-signup {
    display: none;
}

/* MOBILE HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: absolute;
    top: 10px;
    left: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgb(56, 100, 147);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

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

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

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

/* MOBILE SLIDE-OUT MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 140px;
    height: 100vh;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease-in-out;
    z-index: 999;
    padding-top: 120px;
    overflow-y: auto;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-item {
    display: block;
    font-family: 'Cabin Condensed', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: rgb(56, 100, 147);
    text-decoration: none;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-transform: capitalize;
    transition: background-color 0.2s ease;
    text-align: center;
}

.mobile-nav-item:hover {
    background-color: #f8f8f8;
}

.mobile-nav-item.store {
    text-transform: uppercase;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Container margins for smaller screens */
@media (max-width: 1220px) {
    .container {
        margin: 0 10px;
    }
}

/* Hide mobile-only line breaks on desktop */
br.mobile-break {
    display: none;
}

/* Mobile (All Orientations) */
@media (max-width: 768px) {

    /* --- Banner --- */
    .banner-section {
        height: 190px;
        padding-bottom: 2px;
        position: relative;
    }
    
    .banner-image {
        width: 100%;
        max-width: 375px;
        height: 188px;
        background: url('banner_mobile.jpg') center/cover;
    }

    /* --- Navigation --- */
    .nav-container {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* --- Secondary Nav --- */
    .secondary-nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .email-input {
        width: 175px;
        text-align: center;
    }

    .email-signup-text {
        display: none;
    }

    /* --- Content --- */
    .content-section p {
        font-size: 17px;
    }

    /* Hide desktop-only line breaks on mobile */
    br.desktop-break {
        display: none;
    }

    /* Show mobile-only line breaks on mobile */
    br.mobile-break {
        display: block;
    }

    .content-image.square,
    .content-image.rectangle {
        width: 90%;
        height: auto;
    }

    /* --- Typography Components --- */
    .page-headline {
        width: 90%;
        max-width: 390px;
        font-size: 25px;
        height: 38px;
    }

    .button {
        width: 95px;
        height: 28px;
        font-size: 13px;
        margin: 15px auto 10px;
    }

    .column-headline {
        width: 90%;
        max-width: 390px;
        font-size: 14px;
        height: 30px;
        letter-spacing: 0.3px;
    }

    .column-headline-emphasis {
        margin-right: 4px;
    }

    .mini-headline {
        width: 85%;
        max-width: 200px;
        font-size: 21px;
        height: 30px;
    }

    /* --- Mobile Sticky Navigation --- */
    .sticky-nav .banner-section {
        height: 70px;
        position: relative;
    }

    .sticky-nav .banner-image {
        width: 100%;
        max-width: 375px;
        height: 70px;
        background: url('banner_mobile_condensed.jpg') center/cover;
    }

    .sticky-nav .nav-container {
        display: none;
    }

    .sticky-nav .navigation {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 15px 12px 15px;
        background-color: white;
        position: relative;
    }

    .sticky-nav .hamburger {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        padding: 5px;
    }

    .sticky-nav .secondary-nav {
        display: none;
    }

    .sticky-nav .navigation .email-signup {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin: 0;
    }

    .sticky-nav .navigation .email-input {
        width: 125px;
        padding: 4px 8px;
        font-size: 12px;
        text-align: center;
    }

    .sticky-nav .navigation .join-button {
        padding: 4px 12px;
        font-size: 12px;
    }

    .sticky-nav .social-links {
        display: none;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .banner-section {
        height: 200px;
    }
    
    .banner-image {
        height: 200px;
    }
}

/* Very Small Screens - Vertical Stack */
@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-item {
        flex: none;
        text-align: center;
        border-bottom: 1px solid #34495e;
    }

    .nav-item:last-child {
        border-bottom: none;
    }
}
