/* Lipinski Royal Fidelity - Modern Stylesheet */

/* Google Fonts - Elegant decorative serif for classical music brand */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Cinzel:wght@400;500;600&family=Lato:wght@300;400&display=swap');

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background: #000;
    color: #323232;
}

/* Main Container */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    background: #d2d0d0;
}

/* Header */
.header {
    background: #1a1a1a;
}

.header-images {
    display: flex;
    width: 100%;
}

.header-images img {
    display: block;
    height: auto;
}

.header-logo {
    width: 299px;
    background: #000;
}

.header-orchestra {
    width: 501px;
}

/* Navigation */
.nav-bar {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    border-top: 1px solid #444;
    border-bottom: 2px solid #000;
}

.nav-bar ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-bar li {
    position: relative;
}

.nav-bar a {
    display: block;
    padding: 12px 10px;
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 11px;
    font-weight: 400;
    color: #d4d4d4;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    border-right: 1px solid #444;
}

.nav-bar li:last-child a {
    border-right: none;
}

.nav-bar a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

.nav-bar a.active {
    color: #c9a227;
    background: rgba(201, 162, 39, 0.15);
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

.nav-bar .external-link {
    color: #8b9dc3;
    font-style: normal;
    font-size: 11px;
}

.nav-bar .external-link:hover {
    color: #a8b8d8;
}

/* Content Area */
.content {
    background: #d2d0d0;
    padding: 40px 60px;
}

.content h1,
.content .page-title {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-bottom: 1px solid #b0b0b0;
    padding-bottom: 15px;
}

.content p {
    color: #323232;
    margin-bottom: 1em;
    text-align: justify;
    font-size: 13px;
    line-height: 1.7;
}

.content-image {
    width: 100%;
    display: block;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: #c5c5bd;
}

.footer-top {
    background: #8a8a88;
    padding: 8px 0;
    text-align: center;
}

.footer-top a {
    color: #951101;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.footer-top a:hover {
    text-decoration: underline;
}

.footer-nav {
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
    padding: 12px 0;
    text-align: center;
}

.footer-nav a {
    color: #c0c0c0;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 400;
    text-decoration: none;
    margin: 0 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-nav .current {
    color: #c9a227;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-info {
    background: #EAEBED;
    padding: 20px;
    text-align: center;
}

.footer-info p {
    color: #282828;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.8;
    margin: 0;
}

.footer-info a {
    color: #951101;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background: #C5C5BD;
    height: 20px;
}

/* Legacy support - old styles */
a {
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration: underline;
}

.b {
    font-weight: bold;
}

.i {
    font-style: italic;
}

td {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    text-align: justify;
    line-height: 1.6;
}

/* Fix for old table structure */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet (max 800px) */
@media (max-width: 800px) {
    .main-container {
        max-width: 100%;
    }

    .header-images {
        display: flex;
        flex-wrap: nowrap;
    }

    .header-logo {
        width: 37%;
        flex-shrink: 0;
        background: #000;
    }

    .header-logo img {
        width: 100%;
        height: auto;
    }

    .header-orchestra {
        width: 63%;
        flex-shrink: 0;
        object-fit: cover;
    }

    .nav-bar {
        height: auto;
        padding: 8px 5px;
    }

    .nav-bar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-bar a {
        padding: 8px 8px;
        font-size: 10px;
        letter-spacing: 0.5px;
        border-right: none;
        border-bottom: 1px solid transparent;
    }

    .nav-bar li:last-child a {
        border-right: none;
    }

    .content {
        padding: 25px 20px;
    }

    .content h1 {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .footer-nav a,
    .footer-nav .current {
        font-size: 10px;
        margin: 0 6px;
        display: inline-block;
        margin-bottom: 5px;
    }
}

/* Mobile (max 500px) */
@media (max-width: 500px) {
    .nav-bar {
        padding: 10px 5px;
    }

    .nav-bar ul {
        gap: 2px;
    }

    .nav-bar a {
        padding: 6px 6px;
        font-size: 9px;
        letter-spacing: 0;
    }

    .nav-bar .external-link {
        font-size: 8px;
    }

    .content {
        padding: 20px 15px;
    }

    .content h1 {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .content p {
        font-size: 12px;
        text-align: left;
    }

    .footer-nav {
        padding: 10px 5px;
    }

    .footer-nav a,
    .footer-nav .current {
        font-size: 9px;
        margin: 2px 4px;
    }

    .footer-info {
        padding: 15px 10px;
    }

    .footer-info p {
        font-size: 10px;
    }
}

/* Extra small (max 360px) */
@media (max-width: 360px) {
    .nav-bar a {
        padding: 5px 4px;
        font-size: 8px;
    }

    .nav-bar .external-link {
        font-size: 7px;
    }
}
