/* Interview With A Spy - Custom Styling */


/* Patriotic & Spy Aesthetic */

:root {
    --spy-red: #B22234;
    --spy-white: #FFFFFF;
    --spy-blue: #3C3B6E;
    --spy-dark: #1a1a1a;
    --spy-shadow: rgba(0, 0, 0, 0.7);
    --spy-gold: #FFD700;
}


/* Typography - Special Elite for headings */

.book-title,
.book-title-logo,
.book-subtitle,
h1,
h2,
h3 {
    font-family: 'Special Elite', cursive !important;
    text-shadow: 2px 2px 4px var(--spy-shadow);
    letter-spacing: 1px;
}

.book-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--spy-white);
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px var(--spy-shadow);
}

.book-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--spy-white);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    opacity: 0.95;
}

.book-author {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    color: var(--spy-gold);
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px var(--spy-shadow);
}


/* Header Styling */

.header-spy {
    min-height: 100vh;
    position: relative;
}

.header-spy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(179, 34, 52, 0.3) 50%, transparent 60%), linear-gradient(-45deg, transparent 40%, rgba(60, 59, 110, 0.3) 50%, transparent 60%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0) !important;
}


/* Book Cover Styling */

.book-cover-container {
    text-align: center;
    margin-bottom: 2rem;
}

.book-cover-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border: 3px solid var(--spy-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.book-cover-img:hover {
    transform: scale(1.05);
}


/* CTA Button Styling */

.btn-order-now {
    background: linear-gradient(45deg, var(--spy-red), #cc2e4a);
    border: 2px solid var(--spy-gold);
    color: var(--spy-white);
    font-family: 'Special Elite', cursive;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 40px;
    border-radius: 5px;
    text-shadow: 1px 1px 2px var(--spy-shadow);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.btn-order-now:hover {
    background: linear-gradient(45deg, #cc2e4a, var(--spy-red));
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--spy-white);
    text-decoration: none;
}

.release-date {
    color: var(--spy-gold);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}


/* Navigation Styling */

.navbar-spy {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--spy-gold);
}

.navbar-spy .nav-link {
    font-family: 'Special Elite', cursive;
    color: var(--spy-white) !important;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar-spy .nav-link:hover,
.navbar-spy .nav-link.active {
    color: var(--spy-gold) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.navbar.navbar-spy .nav-btn-mobile {
    display: none;
    float: right;
}

.navbar.navbar-spy .nav {
    float: right;
    height: 40px;
    font-size: 15px;
}

.navbar.navbar-spy .nav-btn-mobile a {
    float: right;
    color: rgba(255, 255, 255, .6);
    font-size: 34px;
    line-height: 40px;
}


/* Section Styling */

.post-heading-center h2 {
    color: var(--spy-dark);
    position: relative;
    display: inline-block;
}

.post-heading-center h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--spy-red), var(--spy-gold), var(--spy-blue));
}

.excerpt-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

.classified-text {
    background: rgba(26, 26, 26, 0.9);
    color: var(--spy-gold);
    padding: 20px;
    border-left: 4px solid var(--spy-gold);
    font-family: 'Special Elite', cursive;
    font-size: 1.2rem;
    position: relative;
    margin: 2rem 0;
}

.classified-text::before {
    content: '🔒 CLASSIFIED';
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--spy-dark);
    color: var(--spy-gold);
    padding: 5px 10px;
    font-size: 0.8rem;
    letter-spacing: 2px;
}


/* Author Section */

.author-photo {
    text-align: center;
    margin-bottom: 2rem;
}

.author-photo img {
    border: 0px solid var(--spy-gold);
}

.author-bio h3 {
    color: var(--spy-dark);
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--spy-blue);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.bio-paragraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}


/* Reviews Section */

.affa-review-spy {
    background: var(--spy-white);
    border: 2px solid var(--spy-gold);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


/* Alternating background shades */

.affa-review-spy:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.affa-review-spy:nth-child(odd) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}


/* Featured review (first one) gets special treatment */

.affa-review-spy:first-child {
    background: linear-gradient(135deg, var(--spy-white) 0%, #f0f8ff 100%);
    border: 3px solid var(--spy-blue);
    box-shadow: 0 12px 35px rgba(60, 59, 110, 0.15);
}

.affa-review-spy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--spy-red), var(--spy-gold), var(--spy-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.affa-review-spy:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.affa-review-spy:hover::before {
    opacity: 1;
}

.review-stars {
    color: var(--spy-gold);
    font-size: 1.3rem;
    margin-bottom: 18px;
    display: flex;
    gap: 2px;
    justify-content: flex-start;
}

.review-stars i {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.review-content {
    position: relative;
}

.review-content p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.review-content .review-text {
    position: relative;
}

.review-content .review-text.truncated {
    max-height: 150px;
    overflow: hidden;
    position: relative;
}

.review-content .review-text.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--spy-white));
}

.read-more-btn {
    background: var(--spy-blue);
    color: var(--spy-white);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    background: var(--spy-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(178, 34, 52, 0.3);
}

.read-more-btn.show-less {
    background: var(--spy-red);
}

.read-more-btn.show-less:hover {
    background: var(--spy-blue);
}

.review-dots {
    color: var(--spy-blue);
    font-weight: bold;
    font-size: 1.2em;
}

.review-remaining {
    display: none;
}

.has-truncated-text .review-text {
    position: relative;
}

.review-author {
    border-top: 2px solid #e9ecef;
    padding-top: 20px;
    margin-top: 20px;
}

.review-author h5 {
    color: var(--spy-blue);
    margin-bottom: 8px;
    font-family: 'Special Elite', cursive;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.review-author p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
    opacity: 0.85;
}


/* Responsive Design */

@media (max-width: 991px) {
    .book-title {
        font-size: 2.5rem;
    }
    .book-subtitle {
        font-size: 1.2rem;
    }
    .book-cover-img {
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    .book-title {
        font-size: 2rem;
    }
    .book-subtitle {
        font-size: 1rem;
    }
    .btn-order-now {
        font-size: 1.2rem;
        padding: 12px 30px;
    }
    .book-cover-img {
        max-height: 350px;
    }
    .navbar.navbar-spy .nav-btn-mobile {
        display: block;
    }
    .navbar.navbar-course .nav-btn-mobile {
        display: block !important;
    }
    .navbar.navbar-spy .nav {
        display: none;
    }
    .navbar.navbar-spy.affix .nav-btn-mobile a {
        line-height: 1;
    }
    /* Mobile review styles */
    .affa-review-spy {
        padding: 20px;
        margin-bottom: 20px;
    }
    .review-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    .review-content .review-text.truncated {
        max-height: 120px;
    }
    .review-stars {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .review-author h5 {
        font-size: 1rem;
    }
    .review-author p {
        font-size: 0.85rem;
    }
    .read-more-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}


/* Additional Patriotic Elements */

.patriotic-stripe {
    background: linear-gradient(90deg, var(--spy-red) 0%, var(--spy-red) 33%, var(--spy-white) 33%, var(--spy-white) 66%, var(--spy-blue) 66%, var(--spy-blue) 100%);
    height: 5px;
    width: 100%;
}


/* Final CTA Section */

.spy-cta-heading {
    font-family: 'Special Elite', cursive;
    color: var(--spy-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px var(--spy-shadow);
}

.spy-cta-text {
    color: var(--spy-white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.spy-final-cta {
    margin-top: 2rem;
}

.release-info {
    color: var(--spy-gold);
    margin-top: 1rem;
    font-style: italic;
}


/* Footer Styling */

.footer-spy {
    background: var(--spy-dark);
}

.footer-spy .widget-title {
    color: var(--spy-gold);
    font-family: 'Special Elite', cursive;
    margin-bottom: 1rem;
}

.footer-spy .widget p {
    color: #ccc;
}

.footer-order-link {
    color: var(--spy-gold);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-order-link:hover {
    color: var(--spy-white);
    text-decoration: underline;
}


/* Center text styling */

.post-heading-center {
    text-align: center;
    margin-bottom: 3rem;
}

.post-heading-center p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1rem;
}


/* CTA Section */

.cta-section {
    margin-top: 2.5rem;
}

.cta-section .btn {
    margin-bottom: 1rem;
}


/* Enhance book info section */

.book-info {
    padding-left: 2rem;
}

.release-date {
    display: none;
}

@media (max-width: 991px) {
    .book-info {
        padding-left: 0;
        text-align: center;
        margin-top: 2rem;
    }
    .spy-cta-heading {
        font-size: 2rem;
    }
}


/* Media Page Styles */

.header-spy-media {
    min-height: 60vh;
    position: relative;
}

.media-page-header .page-title {
    font-size: 3rem;
    font-weight: 400;
    color: var(--spy-white);
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px var(--spy-shadow);
}

.media-page-header .page-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--spy-white);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    opacity: 0.95;
}

.media-page-header .page-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--spy-gold);
    font-weight: 500;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px var(--spy-shadow);
}


/* Media Grid */

.media-grid {
    margin-top: 3rem;
}

.media-item {
    background: var(--spy-white);
    border: 2px solid var(--spy-gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--spy-dark) 0%, var(--spy-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, var(--spy-blue) 0%, var(--spy-red) 100%);
}

.placeholder-content {
    text-align: center;
    color: var(--spy-white);
    z-index: 2;
    position: relative;
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--spy-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.placeholder-content h4 {
    font-family: 'Special Elite', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px var(--spy-shadow);
}

.placeholder-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.media-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.media-details h3 {
    font-family: 'Special Elite', cursive;
    color: var(--spy-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.media-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.media-meta {
    margin-top: auto;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.coming-soon {
    background: linear-gradient(45deg, var(--spy-blue), var(--spy-red));
    color: var(--spy-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}


/* YouTube iframe (for when real videos are added) */

.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Media Contact Card */

.media-contact-card {
    background: var(--spy-white);
    border: 3px solid var(--spy-gold);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
}

.contact-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--spy-blue), var(--spy-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-avatar i {
    font-size: 2.5rem;
    color: var(--spy-white);
}

.media-contact-card h3 {
    font-family: 'Special Elite', cursive;
    color: var(--spy-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-title {
    color: var(--spy-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--spy-gold);
    font-size: 1.3rem;
    margin-right: 10px;
    width: 25px;
    text-align: center;
}

.contact-item a {
    color: var(--spy-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--spy-blue);
    text-decoration: underline;
}

.contact-description {
    color: #666;
    line-height: 1.6;
    font-style: italic;
}


/* Mobile Responsive */

@media (max-width: 767px) {
    .media-page-header .page-title {
        font-size: 2rem;
    }
    .media-page-header .page-subtitle {
        font-size: 1.1rem;
    }
    .media-page-header .page-description {
        font-size: 1rem;
    }
    .media-item {
        margin-bottom: 2rem;
    }
    .media-details {
        padding: 20px;
    }
    .media-details h3 {
        font-size: 1.2rem;
    }
    .placeholder-content i {
        font-size: 3rem;
    }
    .placeholder-content h4 {
        font-size: 1.2rem;
    }
    .media-contact-card {
        padding: 25px;
    }
    .media-contact-card h3 {
        font-size: 1.5rem;
    }
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    .contact-item i {
        margin-right: 0;
        margin-bottom: 5px;
    }
}