/* ============================================
   Scottish Whisky Recommender - Tool Styles
   ============================================ */

/* ============================================
   Quiz Section
   ============================================ */
.whisky-quiz {
    max-width: 680px;
    margin: 0 auto 3rem;
}

.whisky-progress {
    background: rgba(26, 58, 92, 0.08);
    border-radius: 20px;
    height: 6px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.whisky-progress-bar {
    background: var(--whisky-gold);
    height: 100%;
    border-radius: 20px;
    transition: width 0.4s ease;
}

.whisky-progress-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--stone-grey);
    text-align: center;
    margin: 0 0 1.5rem;
}

/* Question Cards */
.whisky-question {
    background: var(--scottish-blue-deep);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--saltire-white);
    animation: whiskyFadeIn 0.35s ease;
}

@keyframes whiskyFadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.whisky-question-icon {
    color: var(--whisky-gold);
    margin-bottom: 1rem;
    line-height: 1;
}

.whisky-question-icon svg {
    display: inline-block;
}

.whisky-question-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--saltire-white);
    margin: 0 0 0.4rem;
}

.whisky-question-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.75rem;
}

/* Answer Buttons */
.whisky-answers {
    max-width: 460px;
    margin: 0 auto;
}

.whisky-answer-btn {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(212, 168, 75, 0.25);
    border-radius: 10px;
    color: var(--saltire-white);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    margin-bottom: 0.6rem;
    font-family: 'DM Sans', sans-serif;
}

.whisky-answer-btn:hover {
    border-color: var(--whisky-gold);
    background: rgba(212, 168, 75, 0.1);
    transform: translateY(-1px);
}

.whisky-answer-btn:active {
    transform: translateY(0);
}

.whisky-answer-btn.selected {
    border-color: var(--whisky-gold);
    background: rgba(212, 168, 75, 0.15);
    box-shadow: 0 0 0 2px var(--whisky-gold);
}

.whisky-answer-text {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
}

.whisky-answer-sub {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

/* ============================================
   Results Section
   ============================================ */
.whisky-results {
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Profile Card */
.whisky-profile-card {
    background: linear-gradient(135deg, var(--scottish-blue-deep), var(--scottish-blue));
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--saltire-white);
    margin-bottom: 2rem;
}

.whisky-profile-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.5rem;
}

.whisky-profile-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--whisky-gold);
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.whisky-profile-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Flavour Profile Chart */
.whisky-flavor-chart {
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.whisky-flavor-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stone-grey);
    margin: 0 0 1rem;
}

.whisky-flavor-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.whisky-flavor-row:last-child {
    margin-bottom: 0;
}

.whisky-flavor-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--scottish-blue-deep);
    width: 80px;
    flex-shrink: 0;
    text-align: right;
}

.whisky-flavor-bar-track {
    flex: 1;
    background: rgba(26, 58, 92, 0.06);
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
}

.whisky-flavor-bar-fill {
    background: var(--whisky-gold);
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
    width: 0;
}

.whisky-flavor-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--stone-grey);
    width: 28px;
    flex-shrink: 0;
    text-align: left;
}

/* Recommendations Heading */
.whisky-recs-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--scottish-blue-deep);
    margin: 0 0 1rem;
    text-align: center;
}

/* Recommendation Cards */
.whisky-rec-card {
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s ease;
}

.whisky-rec-card:hover {
    box-shadow: 0 4px 20px rgba(26, 58, 92, 0.08);
}

.whisky-rec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.whisky-rec-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--scottish-blue-deep);
    margin: 0;
    line-height: 1.2;
}

.whisky-rec-match {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--whisky-gold);
    white-space: nowrap;
    background: rgba(212, 168, 75, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.whisky-rec-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

/* Region Badges */
.whisky-region-badge {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.whisky-region-speyside {
    background: rgba(184, 134, 11, 0.12);
    color: #8b6914;
}

.whisky-region-highlands {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}

.whisky-region-islay {
    background: rgba(21, 101, 192, 0.1);
    color: #1565c0;
}

.whisky-region-lowlands {
    background: rgba(124, 179, 66, 0.1);
    color: #558b2f;
}

.whisky-region-campbeltown {
    background: rgba(109, 76, 65, 0.1);
    color: #6d4c41;
}

.whisky-region-islands {
    background: rgba(2, 136, 209, 0.1);
    color: #0277bd;
}

.whisky-rec-detail {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    color: var(--stone-grey);
}

.whisky-rec-tasting {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--peat);
    margin: 0 0 0.75rem;
}

.whisky-rec-description {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--stone-grey);
    margin: 0 0 0.75rem;
}

/* Mini Flavour Bars on Cards */
.whisky-rec-flavors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
    margin-bottom: 0.75rem;
}

.whisky-rec-flavor-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.whisky-rec-flavor-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    color: var(--stone-grey);
    width: 60px;
    flex-shrink: 0;
    text-align: right;
}

.whisky-rec-flavor-track {
    flex: 1;
    background: rgba(26, 58, 92, 0.05);
    border-radius: 3px;
    height: 5px;
    overflow: hidden;
}

.whisky-rec-flavor-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.whisky-rec-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--scottish-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.whisky-rec-link:hover {
    color: var(--whisky-gold);
}

.whisky-rec-link svg {
    flex-shrink: 0;
}

/* Wildcard Card */
.whisky-wildcard {
    background: rgba(212, 168, 75, 0.04);
    border: 1.5px dashed var(--whisky-gold);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.whisky-wildcard-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--whisky-gold);
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.whisky-wildcard-label svg {
    flex-shrink: 0;
}

/* Region Spotlight */
.whisky-region-spotlight {
    margin: 2rem 0;
}

.whisky-region-spotlight-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--scottish-blue-deep);
    margin: 0 0 1rem;
    text-align: center;
}

.whisky-region-card {
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.08);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--stone-grey);
}

.whisky-region-card-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--scottish-blue-deep);
    margin: 0 0 0.4rem;
}

.whisky-region-card-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--peat);
    margin: 0;
}

/* ============================================
   Actions Bar
   ============================================ */
.whisky-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.whisky-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.15);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--scottish-blue-deep);
    cursor: pointer;
    transition: all 0.2s ease;
}

.whisky-action-btn:hover {
    border-color: var(--scottish-blue);
    background: var(--highland-mist);
}

.whisky-action-btn svg {
    flex-shrink: 0;
}

/* ============================================
   SEO Content
   ============================================ */
.whisky-info-section {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem 0;
}

.whisky-info-section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 1rem;
}

.whisky-info-section h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    color: var(--scottish-blue-deep);
    margin: 1.5rem 0 0.75rem;
}

.whisky-info-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--peat);
    margin-bottom: 1rem;
}

.whisky-info-section ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.whisky-info-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--peat);
    margin-bottom: 0.5rem;
}

/* ============================================
   FAQ
   ============================================ */
.whisky-faq {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.whisky-faq h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 1.25rem;
    text-align: center;
}

.whisky-faq-item {
    border: 1px solid rgba(26, 58, 92, 0.08);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.whisky-faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 500;
    color: var(--scottish-blue-deep);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.whisky-faq-item summary::-webkit-details-marker {
    display: none;
}

.whisky-faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--stone-grey);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s ease;
}

.whisky-faq-item[open] summary::after {
    content: '\2212';
}

.whisky-faq-item summary:hover {
    background: var(--highland-mist);
}

.whisky-faq-item p {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--peat);
    margin: 0;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .nav, .nav-homepage, .mobile-menu, .mobile-menu-overlay,
    .page-hero, .whisky-quiz, .whisky-actions,
    .whisky-info-section, .whisky-faq, .page-cta,
    .footer, .footer-bottom,
    [class*="mediavine"], [id*="mediavine"] {
        display: none !important;
    }

    .whisky-results {
        display: block !important;
        max-width: 100%;
        margin: 0;
    }

    .whisky-profile-card {
        background: #1a3a5c !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .whisky-rec-card {
        break-inside: avoid;
        border: 1px solid #ddd;
    }

    body::before {
        content: 'LiveBreatheScotland.com \2014 Your Whisky Recommendations';
        display: block;
        font-size: 1.1rem;
        font-weight: 600;
        padding: 1rem 0;
        border-bottom: 2px solid #1a3a5c;
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 640px) {
    .whisky-question {
        padding: 2rem 1.25rem;
    }

    .whisky-question-text {
        font-size: 1.35rem;
    }

    .whisky-answer-btn {
        padding: 0.85rem 1rem;
    }

    .whisky-answer-text {
        font-size: 0.88rem;
    }

    .whisky-profile-card {
        padding: 2rem 1.25rem;
    }

    .whisky-profile-name {
        font-size: 1.8rem;
    }

    .whisky-flavor-label {
        width: 65px;
        font-size: 0.75rem;
    }

    .whisky-rec-card {
        padding: 1.25rem;
    }

    .whisky-rec-name {
        font-size: 1.15rem;
    }

    .whisky-rec-flavors {
        grid-template-columns: 1fr;
    }

    .whisky-actions {
        gap: 0.4rem;
    }

    .whisky-action-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}
