/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B2B;
    --bg-beige: #F5E6D3;
    --text-dark: #2D2D2D;
    --text-light: #FFFFFF;
    --accent-tan: #D9C5B2;
    --section-padding: 80px 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

/* Texture Background Utility */
.texture-bg {
    position: relative;
}

.texture-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 2px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 1;
}

/* Header / Hero Section */
.hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    padding: 40px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 43, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.publisher-name {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 600;
    margin-left: 30px;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

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

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 10px;
        position: relative;
    }
    .nav-links {
        margin-top: 10px;
    }
    .nav-links a {
        margin: 0 10px;
    }
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

.hero-image {
    position: relative;
}

.book-cover {
    max-width: 300px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(255, 107, 43, 0.2);
}

.hero-text h1 {
    font-size: 64px;
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-text .accent {
    color: var(--primary-orange);
    -webkit-text-fill-color: var(--primary-orange);
}

.hero-text .author {
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 300;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-orange);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary {
    background-color: transparent;
    color: var(--primary-orange);
}

.btn-primary:hover {
    color: #FFFFFF;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.btn-outline:hover {
    background-color: #FFFFFF;
    color: var(--primary-orange);
}

/* Story Section */
.story-section {
    background-color: #FFFFFF;
    padding: var(--section-padding);
    position: relative;
}

.story-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
}

.section-title h2 {
    font-size: 48px;
    color: var(--primary-orange);
    line-height: 1.1;
    font-weight: 700;
}

.section-content p {
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Buy Section */
.buy-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8A4A 100%);
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.buy-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.buy-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.buy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.buy-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.buy-section .btn {
    position: relative;
    z-index: 2;
}

/* Publishing Section */
.publishing-section {
    background: linear-gradient(135deg, var(--accent-tan) 0%, #E8D5C4 100%);
    padding: var(--section-padding);
    text-align: center;
    position: relative;
}

.publishing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
    pointer-events: none;
}

.publishing-section h3 {
    margin-bottom: 40px;
    font-size: 28px;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.publishing-section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-orange);
    margin: 15px auto 0;
}

.publishing-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.publishing-content p {
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dark);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--bg-beige) 0%, #F0E1D0 100%);
    padding: var(--section-padding);
    text-align: center;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 43, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 43, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    margin-bottom: 30px;
    font-size: 28px;
    letter-spacing: 2px;
}

.about-text h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-orange);
    margin: 15px auto 0;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Products Section */
.products-section {
    padding: var(--section-padding);
    text-align: center;
    background-color: #FFFFFF;
    position: relative;
}

.products-section h3 {
    margin-bottom: 50px;
    font-size: 28px;
    letter-spacing: 2px;
}

.products-section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-orange);
    margin: 15px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-placeholder {
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: #FFFFFF;
    background-color: #ccc;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.product-card:hover .product-placeholder {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-1 { background: linear-gradient(135deg, #E6D5C3 0%, #D9C5B2 100%); color: #5D4037; }
.product-2 { background: linear-gradient(135deg, #4A5D4E 0%, #3D4E42 100%); }
.product-3 { background: linear-gradient(135deg, #8EAC9B 0%, #7A9B8A 100%); }
.product-4 { background: linear-gradient(135deg, #3E4E5E 0%, #2F3D4D 100%); }

/* Footer */
.footer {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    padding: 60px 0;
    border-top: 2px solid var(--primary-orange);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.connect-title h2 {
    font-size: 48px;
    line-height: 1.1;
    color: var(--text-dark);
}

.connect-title h2 .accent {
    color: var(--primary-orange);
}

.contact-info {
    text-align: right;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.contact-info a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--text-dark);
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.social-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-orange);
}

.social-links a:hover::before {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .section-title h2 {
        font-size: 36px;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .connect-title h2 {
        font-size: 36px;
    }
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: #FFFFFF;
    text-align: center;
}

.video-section h3 {
    margin-bottom: 50px;
    letter-spacing: 3px;
    font-size: 28px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
}
