/*
Theme Name: Wedding Piano Player
Theme URI: https://weddingpianoplayer.co.uk
Description: Elegant WordPress theme for Wedding Piano Player - luxury wedding pianist services across the South West
Version: 1.0.0
Author: Jools Scott
Text Domain: wedding-piano
*/

/* ===== Base Typography ===== */
body {
    font-family: 'Montserrat', sans-serif;
    color: #2d2d2d;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

/* ===== Material Symbols ===== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* ===== Elegant Divider ===== */
.wpp-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}
.wpp-divider::before,
.wpp-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: #d4af37;
    opacity: 0.5;
}

/* ===== Navigation ===== */
.wpp-nav-link {
    position: relative;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1a1f3d;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}
.wpp-nav-link:hover {
    color: #d4af37;
}
.wpp-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.wpp-nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.wpp-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    pointer-events: none;
}
.group:hover .wpp-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ===== Mobile Menu ===== */
.wpp-mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wpp-mobile-menu.open {
    transform: translateX(0);
}
.wpp-mobile-backdrop {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.wpp-mobile-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.wpp-mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.wpp-mobile-submenu.open {
    max-height: 500px;
}

/* ===== Hero Overlay ===== */
.wpp-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 31, 61, 0.3) 0%,
        rgba(26, 31, 61, 0.55) 50%,
        rgba(26, 31, 61, 0.75) 100%
    );
}

/* ===== Cards ===== */
.wpp-card {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.wpp-card:hover {
    box-shadow: 0 20px 60px rgba(26, 31, 61, 0.08);
    transform: translateY(-4px);
}

/* ===== Buttons ===== */
.wpp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #d4af37;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.wpp-btn-primary:hover {
    background: #c49b2c;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.wpp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    background: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}
.wpp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.wpp-btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    background: transparent;
    color: #1a1f3d;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid #1a1f3d;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}
.wpp-btn-outline-dark:hover {
    background: #1a1f3d;
    color: #fff;
}

/* ===== Testimonial Stars ===== */
.wpp-stars {
    color: #d4af37;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ===== Section Transitions ===== */
.wpp-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.wpp-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Audio Player ===== */
.wpp-audio-progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 0;
    outline: none;
    cursor: pointer;
}
.wpp-audio-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d4af37;
    cursor: pointer;
}

/* ===== FAQ Accordion ===== */
details.wpp-faq {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
details.wpp-faq summary {
    cursor: pointer;
    padding: 24px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1f3d;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
details.wpp-faq summary::-webkit-details-marker {
    display: none;
}
details.wpp-faq summary .material-symbols-outlined {
    transition: transform 0.3s ease;
    color: #d4af37;
}
details.wpp-faq[open] summary .material-symbols-outlined {
    transform: rotate(180deg);
}
details.wpp-faq .wpp-faq-body {
    padding: 0 0 24px;
    color: #666;
    line-height: 1.8;
}

/* ===== Scroll Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gentlePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* ===== Location Cards ===== */
.wpp-location-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.wpp-location-card img {
    transition: transform 0.6s ease;
}
.wpp-location-card:hover img {
    transform: scale(1.05);
}
.wpp-location-card .wpp-location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 31, 61, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    transition: background 0.3s ease;
}
.wpp-location-card:hover .wpp-location-overlay {
    background: linear-gradient(to top, rgba(26, 31, 61, 0.9) 0%, rgba(26, 31, 61, 0.2) 60%);
}

/* ===== Cost Table ===== */
.wpp-cost-card {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 48px 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}
.wpp-cost-card.featured {
    border-color: #d4af37;
    box-shadow: 0 0 0 1px #d4af37;
}
.wpp-cost-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #d4af37;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 20px;
}
.wpp-cost-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 31, 61, 0.08);
}

/* ===== Tailwind Custom Color Overrides ===== */
/* These ensure custom colors work even if Tailwind CDN config doesn't generate them */
.bg-midnight { background-color: #1a1f3d !important; }
.bg-ivory { background-color: #faf8f5 !important; }
.bg-champagne { background-color: #d4af37 !important; }
.bg-champagne-dark { background-color: #c49b2c !important; }
.bg-blush { background-color: #f5e6e0 !important; }
.text-midnight { color: #1a1f3d !important; }
.text-champagne { color: #d4af37 !important; }
.text-champagne-dark { color: #c49b2c !important; }
.text-ivory { color: #faf8f5 !important; }
.border-champagne { border-color: #d4af37 !important; }
.border-midnight { border-color: #1a1f3d !important; }
.font-display { font-family: 'Cormorant Garamond', serif !important; }
.font-body { font-family: 'Montserrat', sans-serif !important; }
body.bg-ivory { background-color: #faf8f5 !important; }

/* ===== Print ===== */
@media print {
    header, footer, .wpp-mobile-menu, .wpp-mobile-backdrop { display: none !important; }
    main { padding: 0 !important; }
}
