/* Global Styles */
:root {
    --primary-color: #d84315;
    --secondary-color: #ff6f00;
    --accent-color: #ffa726;
    --dark-color: #1a1a1a;
    --light-color: #fff5f0;
    --text-color: #2c2c2c;
    --gradient-start: #d84315;
    --gradient-end: #ff6f00;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #d84315 0%, #ff6f00 50%, #ffa726 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 3rem 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.book-cover-container {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.book-cover-shadow {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(216, 67, 21, 0.6), 0 0 40px rgba(255, 111, 0, 0.3);
    transition: transform 0.3s ease;
}

.book-cover-shadow:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(216, 67, 21, 0.7), 0 0 50px rgba(255, 111, 0, 0.4);
}

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

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(216, 67, 21, 0.25) !important;
}

/* Feature Icons */
.feature-icon {
    margin: 0 auto;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #bf360c;
    border-color: #bf360c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 67, 21, 0.5);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Author Photo */
.author-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 8px 20px rgba(216, 67, 21, 0.3);
}

/* Blockquote */
blockquote {
    font-size: 1.1rem;
    color: #555;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(216, 67, 21, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Alert Messages */
.alert-custom {
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .book-cover-shadow {
        max-width: 300px;
        margin-top: 2rem;
    }

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

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .book-cover-shadow {
        max-width: 250px;
    }

    .author-photo {
        width: 200px;
        height: 200px;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading Spinner */
.spinner-border-custom {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2rem;
}

