.elementor-756 .elementor-element.elementor-element-52f13b2{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-756 .elementor-element.elementor-element-700009b > .elementor-widget-container{background-color:#161002;padding:10px 10px 10px 10px;}.elementor-756 .elementor-element.elementor-element-700009b.elementor-element{--align-self:stretch;}.elementor-756 .elementor-element.elementor-element-bde9c99 > .elementor-widget-container{padding:0px 0px 0px 0px;}body.elementor-page-756:not(.elementor-motion-effects-element-type-background), body.elementor-page-756 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://gaylor.media/wp-content/uploads/2025/06/background-scaled.png");background-position:center center;background-repeat:no-repeat;background-size:cover;}body.elementor-page-756{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}@media(max-width:1024px){.elementor-756 .elementor-element.elementor-element-52f13b2{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(max-width:767px){.elementor-756 .elementor-element.elementor-element-bde9c99 > .elementor-widget-container{padding:15px 0px 0px 0px;}}@media(min-width:768px){.elementor-756 .elementor-element.elementor-element-52f13b2{--content-width:768px;}}@media(min-width:1025px){body.elementor-page-756:not(.elementor-motion-effects-element-type-background), body.elementor-page-756 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-attachment:fixed;}}/* Start custom CSS */* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x:hidden;
}

body {
    color: #d1b675;
    overflow-x: hidden;
}
/*footer text branding for book */
.elementor-80 .elementor-element.elementor-element-bf53745 .elementor-heading-title{
    color:#d1b675!important;
}

.invisible,
.visually-hidden{
    visibility: hidden !important;
    line-height: 0;
    margin: 0;
    padding: 0;
}
.logo-text{
    text-transform: uppercase;
    font-size: 2rem;
    font-family: Georgia;
    color: #d1b675;
    padding:5px;
}
.d-none {
    display: none;
}

.mx-auto {
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.learn a,
.purchase-btn-grp a{
    margin-top: 50px;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    background: none;
    border: 1px solid #d1b675;
    color: #d1b675;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 100;
    transition: all .3s;
}
.purchase-btn-grp a:hover,
.purchase-btn-grp a:focus,
.learn a:hover,
.learn a:focus {
    transform: scale(1.1);
    color:#161002;
}
.learn a:hover,
.learn a:focus {
    transform: scale(1.1);
    color:#fff;
}
.container {
    width: 1140px;
    max-width: 100%;
    margin: 0 auto;
}

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-heading {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    max-width: 100%;
}

.about-subtitle {
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.4;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    text-align: justify;
}

.purchase-section {

    text-align: center;
}

.purchase-heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.purchase-text {
    margin-bottom: 30px;
}

.purchase-btn-grp {
    padding: 20px 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.purchase-button {
    display: inline-block;
    padding: 12px 25px;
    background: none;
    border: 2px solid #d1b675;
    color: #d1b675;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}

.purchase-button:hover {
    background: #d1b675;
    color: #0a0806;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.floating-text {
    position: fixed;
    color: #d1b675;
    opacity: 0.1;
    font-size: 3rem;
    pointer-events: none;
    z-index: -1;
}

/* Book Cover Styles */
.book-cover {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    margin-top:0rem;
    border: 1px solid #d1b675!important;
    border-radius: 5px;
}

.book-cover-container {
    perspective: 1000px;
    margin: 0 auto;
    position: relative;
    max-width: 300px;
    border-radius: 5px;

}

.book-cover:hover {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6), 0 0 30px rgba(255, 0, 0, 0.4);
    transform: scale(1.05);
}

/* Shared section styling */
section {
    padding: 80px 20px;
    position: relative;
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Georgia', serif;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 51%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: #d92424;
}

/* Navigation */
.navbar2 {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
        align-content: center;
    align-items:center;
    width: 100%;
    padding: 10px;
    backdrop-filter: blur(12px);
    background: var(--glass-bg);
    background-color: transparent;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.nav-links2 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
}

.nav-links2 a {
    color: #d1b675;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.nav-links2 a::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links2 a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links2 a:hover {
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-links2 a:hover::before,
.nav-links2 a:hover::after {
    width: 100%;
}

.main-navigation2 a {
    text-align:center;
    color: #d1b675;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation2 a:hover,
.main-navigation2 a:focus {
    color: #fff;
}

.main-navigation2 a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d92424;
    transition: width 0.3s ease;
}

.main-navigation2 a:hover::after,
.main-navigation2 a:focus::after {
    width: 100%;
}

/* Theme Section */
.theme-section {
    position: relative;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 4fr));
    gap: 15px;
    margin-top: 15px;
}

.theme-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 25px;
    border: 1px solid #d1b675;
    /* transition: all 0.3s ease; */
    text-align: center;
    height: 350px; /* Fixed height for consistency */
    overflow: hidden; /* Hide overflowing content */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    /* transition: all 0.3s ease-in-out; */
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.7), rgb(217, 36, 36, 0.1));
    z-index: 1;
    /* transition: all 1s ease-in-out; */
}

/* .theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
    border-color: #fff;
    height: auto;
} */

/* .theme-card:hover .card-overlay {
    background-color: rgba(0, 0, 0, 0.9);
} */

.theme-card h3 {
    font-size:2rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    flex-direction: column;
    margin-bottom: 5px;
    position: relative;
    z-index: 2; /* Above the overlay */
}

.theme-card h3 i {
    font-size: inherit;
}

/* New styles for the hover effect */
.card-text {
    /* opacity: 0;
    max-height: 0; */
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.4s ease;
    position: relative;
    z-index: 2; /* Above the overlay */
    color: #ffffff; /* Ensure text is visible on dark backgrounds */
}

/* .theme-card:hover .card-text {
    opacity: 1;
    max-height: 200px;
} */

/* Character Section */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.character-card {
    background-color: #110d02;
    /* Main color */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #332d14;
    /* Slightly lighter border */
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(217, 36, 36, 0.3);
    /* Red accent glow on hover */
    border-color: #d92424;
    /* Red accent border on hover */
}

.character-portrait {
    height: 280px;
    background-color: #1c1804;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-silhouette {
    /* width: 120px;
    height: 120px;
    border-radius: 50%; */
    background-color: #d92424;
    /* Red accent as default */
    box-shadow: 0 0 15px rgba(217, 36, 36, 0.5);
    /* Glow effect */
}

.character-silhouette.arthur {
    background-color: #d92424;
    background-image: url("https://gaylor.media/wp-content/uploads/2025/06//arthur-2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.character-silhouette.claire {
    background-color: #d92424;
    background-image: url("https://gaylor.media/wp-content/uploads/2025/06/claire-2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.character-silhouette.marcus {
    background-color: #d92424;
    background-image: url("https://gaylor.media/wp-content/uploads/2025/06/marcus-2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.character-silhouette.elias {
    background-color: #d92424;
    background-image: url("https://gaylor.media/wp-content/uploads/2025/06/elias-2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.character-info {
    padding: 20px;
    border-top: 1px solid #332d14;
}

.character-info h3 {
    margin-bottom: 10px;
    color: #e0dfdc;
    text-align: center;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 13, 2, 0.9);
    /* Using main color with opacity */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* Add padding to ensure modal doesn't touch screen edges on mobile */
    overflow-y: auto;
    /* Allow scrolling if modal is taller than viewport */
}

.modal {
    background-color: #23200c;
    /* Slightly lighter than main color */
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    /* animation: modalFadeIn 0.3s ease; */
    border: 2px solid #d92424;
    /* Red accent border */
    box-shadow: 0 0 30px rgba(217, 36, 36, 0.3);
    /* Red glow */
    position: relative;
    /* Ensure modal is always in viewport */
    margin: auto;
    /* Center modal */
    max-height: 90vh;
    /* Prevent modal from being taller than viewport */
    display: flex;
    flex-direction: column;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-portrait {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #19160a;
    flex-shrink: 0;
    /* Prevent shrinking */
    padding: 20px;
}

.modal-silhouette img {
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(217, 36, 36, 0.6);
    width: auto;
    height: 250px;
}

.modal-content {
    padding: 30px;
    overflow-y: auto;
    /* Allow content area to scroll if needed */
}

.modal-content h2 {
    margin-bottom: 20px;
    text-align: left;
    color: #d92424;
    /* Red accent for title */
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #e0dfdc;
}

.close-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d92424;
    /* Red accent button */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.close-button:hover {
    background-color: #f52c2c;
    /* Brighter on hover */
    transform: translateY(-2px);
}

.close-button:active {
    transform: translateY(0);
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #d92424;
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
}

/* Responsive styles */
@media (max-width: 768px) {
.navbar2{
    align-items:stretch;
    align-contet{stretch};
}
    .navbar2 a{
    padding:5px;
}
.nav-links2{
    gap:5px;
}
    .character-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    /* .character-portrait {
        height: 150px;
    } */

    .character-silhouette {
        width: 100px;
        height: 100px;
    }
    .modal-silhouette img{
        width:auto;
        height:150px;
    }
    .modal-portrait {
        height: 250px;
    }

    .modal-silhouette {
        width: 120px;
        height: 120px;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-content p {
        font-size: 14px;
    }

    .close-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    .book-cover-container {
        max-width: 250px;
    }

    .section-heading {
        font-size: 2rem;
    }

    .character-grid,
    .theme-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .main-navigation2 a{
        padding:0;
    }
        .navbar2{
        display:flex;
        flex-direction: column;
        text-align:center;
    }
.nav-links2{
    display:flex;
    flex-wrap:wrap;
    text-align:center;
}
.nav-links2 a{
    padding:1px;
}
.modal {
        width: 95%;
    }

.character-grid {
    grid-template-columns: 
    repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

    .character-info h3 {
        font-size: 1rem;
    }
    .section-heading {
        font-size: 1.8rem;
    }

    .character-grid,
    .theme-grid {
        grid-template-columns: 1fr;
    }

}/* End custom CSS */