/* ========================================
   NIRA BEGUM WEBSITE STYLES
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Brand Colors */
    --color-primary: #85D2D0;
    --color-primary-dark: #5fb3b0;
    --color-primary-hover: #3d8885;
    
    /* Text Colors */
    --color-text-primary: #2c3e50;
    --color-text-secondary: #495057;
    --color-text-muted: #6c757d;
    --color-text-white: white;
    --color-text-white-soft: rgba(255,255,255,0.9);
    --color-text-white-muted: rgba(255,255,255,0.8);
    
    /* Background Colors */
    --color-bg-page: #ffffff;
    --color-bg-body: linear-gradient(135deg, #85D2D0 0%, #5fb3b0 100%);
    --color-bg-card: linear-gradient(135deg, #ffffff 0%, #f9fffe 100%);
    --color-bg-header: linear-gradient(135deg, #fefefe 0%, #f8f9fa 100%);
    --color-bg-footer: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --color-bg-button: linear-gradient(135deg, #85D2D0, #5fb3b0);
    
    /* Border Colors */
    --color-border-light: #e0f5f4;
    --color-border-accent: #85D2D0;
    
    /* Platform Brand Colors */
    --color-platform-linkedin: #0077b5;
    --color-platform-bluesky: #00bcd4;
    --color-platform-instagram: #E4405F;
    --color-platform-reedsy: #2B5CE6;
    
    /* Alpha Colors */
    --color-primary-alpha-10: rgba(133, 210, 208, 0.1);
    --color-primary-alpha-20: rgba(133, 210, 208, 0.2);
    --color-primary-alpha-30: rgba(133, 210, 208, 0.3);
    --color-primary-alpha-40: rgba(133, 210, 208, 0.4);
    --color-white-alpha-10: rgba(255, 255, 255, 0.1);
    --color-white-alpha-20: rgba(255, 255, 255, 0.2);
    --color-platform-linkedin-alpha: rgba(0, 119, 181, 0.1);
    --color-platform-bluesky-alpha: rgba(0, 188, 212, 0.1);
    --color-platform-reedsy-alpha: rgba(43, 92, 230, 0.1);
    --color-platform-reedsy-alpha-20: rgba(43, 92, 230, 0.2);
    
    /* Shadow Colors */
    --color-shadow-light: rgba(0,0,0,0.1);
    --color-shadow-medium: rgba(0,0,0,0.15);
    --color-shadow-dark: rgba(0,0,0,0.2);
    --color-shadow-darker: rgba(0,0,0,0.25);
    --color-shadow-darkest: rgba(0,0,0,0.3);
    
    /* Typography */
    --font-heading: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Effects */
    --title-underlines: none;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-body);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in-element {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in-element.visible {
    opacity: 1;
}

@keyframes fadeInUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   SHARED COMPONENTS
   ======================================== */

/* Base Card Component */
.card-base {
    background: var(--color-bg-card);
    border-radius: 20px;
    border: 2px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-bg-button);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-base:hover::before {
    transform: scaleX(1);
}

.card-base:hover {
    box-shadow: 0 15px 35px var(--color-shadow-light);
    border-color: var(--color-primary);
}

/* Button Component */
.btn-primary {
    display: inline-block;
    background: var(--color-bg-button);
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* ========================================
   MOVING BANNER
   ======================================== */
.testimonial-banner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-text-white);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--color-primary-hover);
}

.testimonial-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: slideHorizontal 20s linear infinite;
    font-size: 1rem;
    font-weight: 500;
}

.testimonial-quote {
    font-style: italic;
    margin-right: 2rem;
}

.testimonial-author {
    font-weight: 600;
    margin-left: 0.5rem;
}

@keyframes slideHorizontal {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.testimonial-banner:hover .testimonial-content {
    animation-play-state: paused;
}

/* Mobile responsiveness for banner */
@media (max-width: 768px) {
    .testimonial-banner {
        padding: 0.75rem 0;
    }
    
    .testimonial-content {
        font-size: 0.9rem;
        animation-duration: 25s;
    }
    
    .testimonial-quote {
        margin-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonial-content {
        font-size: 0.8rem;
        animation-duration: 30s;
    }
    
    .testimonial-quote {
        margin-right: 1rem;
    }
}

/* ========================================
   LAYOUT
   ======================================== */

/* Header */
header {
    background: var(--color-bg-header);
    border-bottom: 3px solid var(--color-primary-hover);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px var(--color-shadow-light);
}

/* Navigation */
nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
}

nav a:hover {
    background: var(--color-primary-alpha-20);
    transform: translateY(-2px);
}

nav a.active {
    background: var(--color-primary-alpha-30);
    box-shadow: 0 4px 15px var(--color-shadow-dark);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
    width: 30px;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
    width: 30px;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Footer */
footer {
    background: var(--color-bg-footer);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    color: var(--color-text-white);
    position: relative;
}

footer p {
    margin-bottom: 0.5rem;
    color: var(--color-text-white-soft);
}

footer a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* ========================================
   PAGE SECTIONS
   ======================================== */

/* Hero Section */
#hero {
    margin-bottom: 4rem;
    color: var(--color-text-primary);
}

.hero-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-container {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-image-section {
    flex: 1;
    max-width: 450px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 0.2rem;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

#hero h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    font-weight: 400;
}

#hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    line-height: 1.8;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px var(--color-shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 8px;
}

.hero-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px var(--color-shadow-darker);
}

/* Section Headers */
section h1 {
    font-size: 3.5rem;
    margin-bottom: 0.1rem;
    text-align: center;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: var(--title-underlines);
    padding-bottom: 1.5rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.services-intro p {
    font-size: 1rem;
    color: var(--color-text-primary);
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-bg-card);
    border-radius: 20px;
    border: 2px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-bg-button);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--color-shadow-medium);
    border-color: var(--color-primary);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    text-align: center;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.service-card li {
    margin-bottom: 0.5rem;
}

/* Service Card Images */
.service-card-image {
    width: calc(100% + 4rem);
    height: 180px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
    margin: -2rem -2rem 1.5rem -2rem;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 1.5rem 2rem 2rem 2rem;
}

.service-card:has(.service-card-image) {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.service-card .service-card-image + .service-card-content {
    padding: 1.5rem 2rem 2rem 2rem;
}

.service-details ul {
    list-style: none;
    padding-left: 0;
}

.service-details li {
    padding: 0.5rem 0;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-intro p {
    font-size: 1rem;
    color: var(--color-text-primary);
    line-height: 1.8;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem;
    background: var(--color-bg-card);
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--color-shadow-light);
}

.book-card {
    background: var(--color-bg-page);
    border-radius: 15px;
    border: 2px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-bg-button);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.book-card:hover::before {
    transform: scaleX(1);
}

.book-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px var(--color-shadow-medium);
    border-color: var(--color-primary);
}

.book-cover-container {
    position: relative;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.book-cover-image {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.portfolio-item {
    background: var(--color-bg-card);
    border-radius: 20px;
    border: 2px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-bg-button);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--color-shadow-light);
    border-color: var(--color-primary);
}

.portfolio-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.portfolio-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ========================================
   ENDORSEMENTS SECTION
   ======================================== */
.endorsements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.endorsement-card {
    background: var(--color-bg-card);
    border-radius: 20px;
    border: 2px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    box-shadow: 0 10px 30px var(--color-shadow-light);
}

.endorsement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px var(--color-shadow-medium);
    border-color: var(--color-primary);
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-primary);
    line-height: 1;
    font-family: Georgia, serif;
}

.quote-start {
    margin-bottom: 0.3rem;
}

.quote-end {
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
}

.endorsement-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-primary);
    margin: 0.3rem 0;
    font-style: normal;
    flex-grow: 1;
}

.endorsement-author {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.1;
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    border-top: 2px solid var(--color-border-light);
}

.endorsement-author strong {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.1rem;
}

/* Fiction page endorsement with photo */
.fiction-endorsement {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.endorsement-header-inside {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
}

.endorsement-card-with-photo {
    background: var(--color-bg-card);
    border-radius: 20px;
    border: 2px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 30px var(--color-shadow-light);
}

.endorsement-card-with-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px var(--color-shadow-medium);
    border-color: var(--color-primary);
}

.endorsement-photo-section {
    flex-shrink: 0;
}

.endorsement-author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px var(--color-shadow-medium);
    border: 3px solid var(--color-primary-alpha-20);
}

.endorsement-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mobile responsive for fiction endorsement */
@media (max-width: 768px) {
    .endorsement-header-inside {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .endorsement-card-with-photo {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .endorsement-author-photo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .endorsement-header-inside {
        font-size: 1rem;
        line-height: 1.3;
    }
}

/* Fiction page specific book grid - center 3 books */
#fiction .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--color-bg-card);
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--color-shadow-light);
    max-width: 800px;
    justify-items: center;
}

/* Mobile responsive for fiction book grid */
@media (max-width: 1024px) {
    #fiction .books-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    #fiction .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    #fiction .books-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro p {
    font-size: 1rem;
    color: var(--color-text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.email-cta {
    margin: 2rem 0;
    text-align: center;
}

.email-button {
    display: inline-block;
    background: var(--color-bg-button);
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px var(--color-primary-alpha-30);
}

.email-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--color-primary-alpha-40);
    background: var(--color-bg-button);
}

.contact-details {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-section {
    background: var(--color-bg-card);
    border-radius: 20px;
    border: 2px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    text-align: center;
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--color-shadow-light);
    border-color: var(--color-primary);
}

.contact-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.contact-email a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-primary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary-alpha-10);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 200px;
    justify-content: center;
}

.social-link:hover {
    background: var(--color-primary-alpha-20);
    transform: translateY(-2px);
    color: var(--color-primary);
}

.social-link svg {
    flex-shrink: 0;
}

.linkedin:hover {
    color: var(--color-platform-linkedin);
    background: var(--color-platform-linkedin-alpha);
}

.bluesky:hover {
    color: var(--color-platform-bluesky);
    background: var(--color-platform-bluesky-alpha);
}

.reedsy:hover {
    color: var(--color-platform-reedsy);
    background: var(--color-platform-reedsy-alpha);
}

/* Footer Social Links */
.footer-socials {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-white-alpha-10);
    border-radius: 50%;
    color: var(--color-text-white-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social-link:hover {
    background: var(--color-white-alpha-20);
    color: var(--color-text-white);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-social-link.linkedin:hover {
    background: var(--color-platform-linkedin);
    color: var(--color-text-white);
}

.footer-social-link.bluesky:hover {
    background: var(--color-platform-bluesky);
    color: var(--color-text-white);
}

.footer-social-link.instagram:hover {
    background: var(--color-platform-instagram);
    color: var(--color-text-white);
}

/* Footer Reedsy Button */
.footer-reedsy-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

.footer-reedsy-button a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-reedsy-button a:hover {
    transform: scale(1.05);
    opacity: 0.9;
    text-decoration: none;
}

.reedsy-button-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SPECIFIC PAGE STYLES
   ======================================== */

/* About Page */
#about {
    padding: 0 0 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    padding: 0 2rem;
}

.about-intro {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.about-image-section {
    flex-shrink: 0;
}

.about-image {
    width: 300px;
    height: 375px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(133, 210, 208, 0.3);
}

.about-text {
    flex: 1;
}

.about-experience,
.about-approach,
.about-passion {
    margin-bottom: 3rem;
}

.about-experience h2,
.about-approach h2,
.about-passion h2 {
    color: var(--color-text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--color-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
}

.cta-button {
    display: inline-block;
    background: var(--color-bg-button);
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(133, 210, 208, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(133, 210, 208, 0.4);
    text-decoration: none;
}

.cta-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.cta-links a {
    color: var(--color-primary);
    text-decoration: none;
}

.cta-links a:hover {
    text-decoration: underline;
}

/* Contact Page */
#contact {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    padding: 0 2rem;
}

.contact-main {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contact-image-section {
    flex-shrink: 0;
}

.contact-image {
    width: 340px;
    height: 375px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(133, 210, 208, 0.3);
}

.contact-text {
    flex: 1;
}

.contact-text .social-links {
    margin-top: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: span 1;
    }
    
    .services-grid .service-card:nth-child(5) {
        grid-column: 2;
        max-width: none;
        margin: 0;
    }
    
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet Portrait & Mobile */
@media (max-width: 768px) {
    main {
        padding: 2rem 1rem;
    }
    
    /* Hero Section */
    .hero-header {
        margin-bottom: 2rem;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-image-section {
        flex: none;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content {
        text-align: left;
    }
    
    #hero h1 {
        font-size: 3rem;
        letter-spacing: 1.5px;
    }
    
    #hero h2 {
        font-size: 1.3rem;
    }
    
    section h1 {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }
    
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-header);
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 1rem 0 2rem 0;
        display: none;
        border-top: 2px solid var(--color-primary-hover);
        box-shadow: 0 8px 20px var(--color-shadow-light);
        z-index: 101;
    }
    
    .nav-menu.nav-menu-open {
        display: flex;
    }
    
    .nav-menu li {
        padding: 0.5rem 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Grid Layouts */
    .services-grid,
    .portfolio-grid,
    .endorsements-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid .service-card:nth-child(5) {
        grid-column: 1;
        max-width: none;
        margin: 0;
    }
    
    /* Service Cards */
    .service-card-image {
        width: calc(100% + 4rem);
        height: 130px;
        margin: -2rem -2rem 1.5rem -2rem;
        border-radius: 15px 15px 0 0;
    }
    
    /* Books Grid */
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .book-cover-image {
        max-height: 220px;
    }
    
    /* Contact */
    .email-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 2rem;
    }
    
    .social-link {
        min-width: 180px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Endorsements */
    .endorsement-card {
        padding: 1.2rem;
        min-height: 220px;
    }
    
    .quote-icon {
        font-size: 2.5rem;
    }
    
    .endorsement-text {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-socials {
        gap: 0.8rem;
    }
    
    .footer-social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer-reedsy-button {
        bottom: 0.8rem;
        right: 0.8rem;
    }
    
    .reedsy-button-image {
        height: 45px;
    }
    
    /* About Page */
    .about-intro {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .about-image-section {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .about-image {
        width: 250px;
        height: 310px;
        margin: 0 auto;
    }
    
    /* Contact Page */
    .contact-main {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .contact-image-section {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .contact-image {
        width: 280px;
        height: 310px;
        margin: 0 auto;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-header {
        margin-bottom: 1.5rem;
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .hero-image {
        max-width: 320px;
    }
    
    #hero h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    #hero h2 {
        font-size: 1.1rem;
    }
    
    section h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    /* Service Cards */
    .service-card-image {
        width: calc(100% + 3rem);
        height: 120px;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
        border-radius: 15px 15px 0 0;
    }
    
    .service-card-content {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    /* Books */
    .books-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .book-cover-image {
        max-height: 200px;
    }
    
    /* Contact */
    .email-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .contact-section h3 {
        font-size: 1.5rem;
    }
    
    .social-link {
        min-width: 160px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Endorsements */
    .endorsements-grid {
        padding: 0 0.5rem;
        gap: 0.8rem;
    }
    
    .endorsement-card {
        padding: 1rem;
        min-height: 200px;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
    
    .endorsement-text {
        font-size: 0.8rem;
    }
    
    /* Footer */
    .footer-social-link {
        width: 32px;
        height: 32px;
    }
    
    .footer-reedsy-button {
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .reedsy-button-image {
        height: 40px;
    }
    
    /* About Page */
    .about-content {
        padding: 0 1rem;
    }
    
    .about-image {
        width: 200px;
        height: 250px;
    }
    
    .about-experience h2,
    .about-approach h2,
    .about-passion h2 {
        font-size: 1.3rem;
    }
    
    /* Contact Page */
    .contact-content {
        padding: 0 1rem;
    }
    
    .contact-image {
        width: 220px;
        height: 250px;
    }
}