/**
 * Phil Calkins Website Styles
 * Blue and orange theme for a classic rock musician
 */

/* Google Fonts are loaded in HTML head */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@400;500;600&display=swap');

/* Reset and Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors - Blue and Orange theme */
    --blue: #1a3a6b;
    --blue-mid: #2255a4;
    --blue-light: #3b7dd8;
    --orange: #e85c0d;
    --orange-light: #ff7c32;
    --white: #f5f5f0;
    --dark: #111418;
    --mid: #2a2f38;

    /* Fonts */
    --font-head: 'Bebas Neue', sans-serif;
    --font-body: 'Barlow', sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: var(--orange);
    text-decoration: none;
}

a:hover {
    color: var(--orange-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
nav {
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 56px;
    border-bottom: 3px solid var(--orange);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-family: var(--font-head);
    font-size: 26px;
    color: var(--white);
    letter-spacing: 2px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.nav-links a.active {
    background: var(--orange);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-mid) 40%, var(--dark) 100%);
    padding: 60px 2rem 50px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--orange);
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 72px;
    letter-spacing: 6px;
    color: var(--white);
    line-height: 1;
}

.hero-above {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
}

.hero-below {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 14px;
    flex-wrap: wrap;
}

.hero-below span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-below span::before {
    content: '•';
    margin-right: 10px;
    color: var(--orange);
}

.hero-cta {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 11px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--orange-light);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 11px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
    padding: 48px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-full {
    padding: 48px 2rem;
}

.section-alt {
    background: var(--mid);
}

.section-title {
    font-family: var(--font-head);
    font-size: 42px;
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 4px;
}

.section-title span {
    color: var(--orange);
}

.section-rule {
    height: 3px;
    width: 60px;
    background: var(--orange);
    margin-bottom: 28px;
    border-radius: 2px;
}

/* =====================================================
   EVENTS / CALENDAR
   ===================================================== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-card {
    display: flex;
    gap: 16px;
    background: rgba(26, 58, 107, 0.3);
    border: 1px solid var(--blue-light);
    border-radius: 8px;
    padding: 14px 18px;
    align-items: center;
}

.event-date-box {
    background: var(--orange);
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
    min-width: 52px;
}

.event-month {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.event-day {
    font-family: var(--font-head);
    font-size: 28px;
    color: #fff;
    line-height: 1;
}

.event-info {
    flex: 1;
}

.event-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.event-venue {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.event-type {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
    align-self: flex-start;
}

/* =====================================================
   SONG LIST
   ===================================================== */
.song-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.song-genre {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
}

.genre-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.song-item {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.5;
}

.song-item:last-child {
    border-bottom: none;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.gtab {
    padding: 7px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    transition: all 0.2s;
}

.gtab:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.gtab.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    background: var(--blue-mid);
    border-radius: 6px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    opacity: 0.7;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.2s;
}

.gallery-item:hover {
    opacity: 1;
    border-color: var(--orange);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================================================
   STORE
   ===================================================== */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.product-card:hover {
    border-color: var(--blue-light);
}

.product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: rgba(26, 58, 107, 0.5);
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 14px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.product-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.product-price {
    font-family: var(--font-head);
    font-size: 22px;
    color: var(--orange);
}

.add-cart {
    width: 100%;
    margin-top: 10px;
    background: var(--blue-mid);
    border: none;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.add-cart:hover {
    background: var(--orange);
}

/* =====================================================
   ABOUT
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}

.about-photo {
    background: var(--blue);
    border-radius: 8px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blue-light);
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.about-facts {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.fact {
    background: rgba(26, 58, 107, 0.5);
    border: 1px solid var(--blue-light);
    border-radius: 6px;
    padding: 10px 16px;
    text-align: center;
}

.fact-num {
    font-family: var(--font-head);
    font-size: 28px;
    color: var(--orange);
}

.fact-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--orange);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
}

.contact-form select {
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-detail-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background: var(--blue);
    border-top: 3px solid var(--orange);
    padding: 24px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--white);
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s;
}

.social-btn:hover {
    background: var(--orange);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 900px) {
    .song-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--blue);
        flex-direction: column;
        padding: 16px;
        border-bottom: 3px solid var(--orange);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    /* Hero adjustments */
    .hero h1 {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .hero-below {
        flex-direction: column;
        gap: 8px;
    }

    /* Section adjustments */
    .section {
        padding: 32px 1rem;
    }

    .section-title {
        font-size: 32px;
    }

    /* Grid adjustments */
    .song-grid {
        grid-template-columns: 1fr;
    }

    .store-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Event cards */
    .event-card {
        flex-wrap: wrap;
    }

    .event-type {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    /* Footer */
    footer {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   ALERTS / MESSAGES
   ===================================================== */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #6fdc8c;
}

.alert-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b7a;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 16px;
}

.mb-2 {
    margin-bottom: 16px;
}
