* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #F1F4F4;
    overflow-x: hidden;
}

/* Container Structure */
.containerWrapper {
    width: 100%;
    min-height: 100vh;
}

#appRow {
    display: flex;
    position: relative;
    min-height: 100vh;
}

/* Sidebar Styles */
#stickyColumnWrap {
    width: 325px;
    position: relative;
    z-index: 10;
    transition: 0.25s;
    flex: 0 0 325px;
}

#stickyColumn {
    position: fixed;
    top: 0;
    width: 325px;
    height: 100vh;
    background: #000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    transform: translate3d(0%, 0, 0);
    transition: 0.25s;
    padding: 25px 35px 50px;
}

/* Custom Scrollbar */
#stickyColumn::-webkit-scrollbar {
    width: 6px;
}

#stickyColumn::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

#stickyColumn::-webkit-scrollbar-thumb {
    background: rgba(186, 142, 56, 0.3);
    border-radius: 3px;
}

#stickyColumn::-webkit-scrollbar-thumb:hover {
    background: rgba(186, 142, 56, 0.5);
}

/* Navigation Close Button */
#side-nav-close {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 17px;
    right: -22px;
    background: #E7AF3E;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}

#side-nav-close:hover {
    background: #BA8E38;
    transform: scale(1.05);
}

#side-nav-close svg {
    width: 23px;
    transition: 0.25s;
}

#side-nav-close:hover svg {
    transform: rotate(45deg);
}

.nav-closed #side-nav-close svg {
    transform: rotate(45deg);
}

.nav-closed #side-nav-close:hover svg {
    transform: rotate(0deg);
}

.nav-closed #stickyColumn {
    transform: translate3d(-100%, 0, 0);
}

.nav-closed #side-nav-close {
    right: -45px;
}

.nav-closed #stickyColumnWrap {
    width: 0;
    flex: 0 0 0;
}

/* Logo */
.logo-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #BA8E38;
    box-shadow: 0 0 30px rgba(186, 142, 56, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    color: #E7AF3E;
    text-transform: uppercase;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(186, 142, 56, 0.5);
}

.logo-wrapper img.logo {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

/* Section Headers */
.section-header {
    font-size: 18px;
    font-weight: 600;
    color: #BA8E38;
    margin-top: 30px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.21);
    margin-bottom: 15px;
}

/* Navigation Links */
.nav-link {
    display: block;
    padding: 12px 0;
    color: #F1F4F4;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    white-space: normal;
    line-height: 1.4;
}

.nav-link i {
    color: #BA8E38;
    margin-right: 8px;
    font-size: 14px;
}

.nav-link:hover {
    color: #E7AF3E;
    transform: translateX(5px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #BA8E38;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Footer */
/* Company Section in Sidebar */
.company-section {
    margin-bottom: 30px;
}

.company-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: #E7AF3E;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.company-description {
    font-size: 15px;
    line-height: 1.6;
    color: #CCC;
    margin-bottom: 20px;
}

.sidebar-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.21);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    text-align: center;
}

/* Main Content */
#mainContent {
    flex: 1;
    margin-left: 0;
    padding: 60px 40px;
    transition: 0.25s;
    min-height: 100vh;
    background: 
        radial-gradient(circle at 80% 20%, rgba(186, 142, 56, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(186, 142, 56, 0.05) 0%, transparent 50%),
        #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-closed #mainContent {
    margin-left: 0;
    padding: 60px 40px;
}

/* Hero Section */
.hero-section {
    max-width: 1800px;
    width: 95%;
    margin: 0 auto;
    text-align: center;
}

.video-wrapper {
    background: #0a0a0a;
    border: 1px solid rgba(186, 142, 56, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin: 0 auto 60px auto;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.video-wrapper:hover {
    border-color: #BA8E38;
    box-shadow: 0 0 30px rgba(186, 142, 56, 0.2);
}

.video-wrapper img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: #F1F4F4;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

h1 u {
    text-decoration: none;
    color: #E7AF3E;
    position: relative;
}

h1 u::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #BA8E38;
}

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

.description {
    font-size: 18px;
    line-height: 1.8;
    color: #F1F4F4;
    margin-bottom: 30px;
    text-align: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 20px 40px;
    background: #BA8E38;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    border: none;
    border-bottom: 6px solid #8F7239;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #E7AF3E;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(186, 142, 56, 0.3);
}

.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Content Divider */
.content-divider {
    border: none;
    border-top: 3px solid rgba(255, 255, 255, 0.23);
    margin: 60px 0;
}

/* Links Section */
.featured-section {
    margin-bottom: 60px;
    text-align: center;
}

.featured-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.featured-text {
    font-size: 18px;
    line-height: 1.8;
    color: #CCC;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Book Showcase Section */
.book-showcase {
    margin-top: 80px;
    padding: 60px 0;
}

.book-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
}

.book-cover {
    position: relative;
}

.book-cover img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(186, 142, 56, 0.2);
    transition: all 0.3s ease;
}

.book-cover:hover img {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(186, 142, 56, 0.4),
        0 0 40px rgba(186, 142, 56, 0.2);
}

.bestseller-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #E7AF3E;
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(231, 175, 62, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 20px rgba(231, 175, 62, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(231, 175, 62, 0.6);
    }
    100% {
        box-shadow: 0 8px 20px rgba(231, 175, 62, 0.4);
    }
}

.amazon-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #F1F4F4;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(186, 142, 56, 0.3);
    backdrop-filter: blur(10px);
}

.amazon-indicator i {
    margin-left: 5px;
    color: #E7AF3E;
}

.book-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #E7AF3E;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.book-subtitle {
    font-size: 20px;
    color: #CCC;
    margin-bottom: 25px;
    font-weight: 300;
}

.book-description {
    font-size: 16px;
    line-height: 1.8;
    color: #F1F4F4;
    margin-bottom: 35px;
}

.book-cta {
    background: #E7AF3E;
    color: #000;
    font-weight: 600;
}

.book-cta:hover {
    background: #BA8E38;
    color: #fff;
}

/* Alfredo Photo in Bio Section */
.alfredo-photo-wrapper {
    margin: 40px auto 50px;
    width: 100%;
    text-align: center;
}

.alfredo-photo {
    width: auto;
    max-width: 100%;
    max-height: 500px;
    height: auto;
    border-radius: 12px;
    border: 4px solid rgba(186, 142, 56, 0.3);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(186, 142, 56, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.alfredo-photo:hover {
    border-color: #BA8E38;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 3px rgba(186, 142, 56, 0.4),
        0 0 40px rgba(186, 142, 56, 0.3);
}

/* Companies Grid */
.companies-section h2 {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 40px;
}

.companies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.company-card {
    background: #000;
    border: 1px solid #303030;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2);
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(186, 142, 56, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.company-card:hover::before {
    transform: translateX(100%);
}

.company-card:hover {
    transform: scale(1.05);
    border: 2px solid #BA8E38;
    box-shadow: 0 30px 60px rgba(186, 142, 56, 0.2);
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #BA8E38;
    margin-bottom: 10px;
}

.learn-more {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.company-card:hover .learn-more i {
    transform: translateX(5px);
}

/* Mobile Menu Button */
#mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

#mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: #E7AF3E;
    margin-bottom: 5px;
    transition: 0.3s;
}

/* Prevent body scroll and hide hamburger when menu is open */
body.menu-open {
    overflow: hidden;
}

#stickyColumnWrap.open ~ #mobile-menu-btn {
    opacity: 0;
    pointer-events: none;
}

/* Desktop Sidebar Open Button */
#side-nav-open {
    position: fixed;
    left: 18px;
    top: 18px;
    width: 45px;
    height: 45px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background: #E7AF3E;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: 0.25s;
}

#side-nav-open:hover {
    transform: scale(1.05);
    background: #BA8E38;
}

body.nav-closed #side-nav-open {
    display: flex;
}

/* Responsive */
@media (max-width: 1024px) {
    #side-nav-open {
        display: none !important;
    }
    #stickyColumnWrap {
        position: fixed;
        width: 100vw;
        max-width: 100vw;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    #stickyColumn {
        width: 100%;
        max-width: 100%;
        border-right: none;
    }

    #stickyColumnWrap.open {
        transform: translateX(0);
    }

    #side-nav-close {
        right: 40px;
        top: 40px;
    }

    #mainContent {
        margin-left: 0;
        padding: 80px 20px 40px;
        align-items: flex-start;
    }

    #mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 32px;
    }

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

    .description {
        text-align: left;
        padding: 0 10px;
    }
    
    .book-showcase-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .book-cover {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .book-content h3 {
        font-size: 36px;
    }
    
    .book-subtitle {
        font-size: 18px;
    }

    .alfredo-photo-wrapper {
        margin: 20px auto 30px;
    }
}

@media (max-width: 640px) {
    .description {
        font-size: 16px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }



    .company-card {
        padding: 25px;
    }
    
    .book-showcase {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .book-cover {
        max-width: 250px;
    }
    
    .book-content h3 {
        font-size: 32px;
    }
    
    .bestseller-badge {
        font-size: 12px;
        padding: 8px 16px;
        top: -10px;
        right: -10px;
    }
    
    .book-description {
        font-size: 15px;
    }

    .alfredo-photo-wrapper {
        margin: 15px auto 25px;
    }

    .alfredo-photo {
        border-radius: 8px;
        border-width: 3px;
    }
}

/* Fix black gap on large screens */
@media (min-width: 1025px) {
    #mainContent {
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .hero-section {
        width: 100%;
        margin: 0;
        text-align: center;  /* Keep text centered */
    }
}