/* Custom Styles for Bedros and Rebekah Website */

:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --navbar-height: 56px;
    
    /* Hero section wave pattern - inline SVG for performance (avoids extra HTTP request) */
    --hero-wave-svg: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}

/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background-color: #F8F2E7;
    padding: 60px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-family: 'Lora', Georgia, serif;
    color: #dc5a41;
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.book-cover {
    max-width: 600px;
    width: 100%;
    height: auto;
}

.hero-description {
    color: #3a5a7a;
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2.5rem;
}

.hero-cta {
    text-align: center;
}

.btn-cta {
    background-color: #dc5a41;
    color: white;
    padding: 1rem 3.5rem;
    font-size: 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 90, 65, 0.3);
}

.btn-cta:hover {
    background-color: #c54a31;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 90, 65, 0.4);
}

.bulk-orders {
    color: #dc5a41;
    font-size: 1.25rem;
    font-style: italic;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.bulk-orders a {
    color: #dc5a41;
    text-decoration: underline;
}

.bulk-orders a:hover {
    color: #c54a31;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #1e4d5c 0%, #2d6a7d 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.testimonial-content {
    text-align: center;
    padding: 60px 40px;
    color: white;
}

.testimonial-quote {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.75rem;
    line-height: 1.7;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    margin-top: 2.5rem;
}

.author-name {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.author-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

.carousel-control-icon i {
    font-size: 3.5rem;
    color: #dc5a41;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon i,
.carousel-control-next:hover .carousel-control-icon i {
    color: #c54a31;
    transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}

/* Book Launch Section */
.book-launch-section {
    background-color: #F8F2E7;
    padding: 80px 0;
}

.section-title {
    font-family: 'Lora', Georgia, serif;
    color: #dc5a41;
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* About Section */
#about {
    background-color: white;
}

#about .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

#about .card-body {
    padding: 2rem;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #1e4d5c 0%, #2d6a7d 100%);
    color: white;
    padding: 0;
}

.about-section .row {
    margin: 0;
}

.about-section .col-lg-5:first-child {
    padding: 0;
}

.about-section .col-lg-5:last-child {
    padding: 80px 40px;
}

.about-image {
    height: 100%;
    min-height: 650px;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.about-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 4rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.about-text strong {
    font-weight: 600;
    color: #ffffff;
}

/* Contact Section */
.contact-section {
    background-color: #F26440;
    color: white;
    padding: 80px 0;
}

.contact-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.form-label {
    color: white;
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-input {
    background-color: transparent;
    border: 2px solid #1e4d5c;
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-input:focus {
    background-color: transparent;
    border-color: #1e4d5c;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(30, 77, 92, 0.25);
    outline: none;
}

.contact-input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-contact {
    background-color: white;
    color: #F26440;
    padding: 0.75rem 3rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-contact:hover {
    background-color: #f8f9fa;
    color: #F26440;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer-section {
    background-color: #F8F2E7;
    padding: 60px 0 40px;
}

.footer-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: #7FA9AE;
    margin-bottom: 0;
}

.footer-contact-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

.footer-email {
    color: #F26440;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #dc5a41;
    text-decoration: underline;
}

.footer-divider {
    border-top: 1px solid #d0c4b0;
    opacity: 0.5;
    margin: 2rem 0;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #666;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Accessibility */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }
    
    .book-cover {
        max-width: 400px;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .btn-cta {
        padding: 0.875rem 3rem;
        font-size: 1.1rem;
    }
    
    .bulk-orders {
        font-size: 1.1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    #about .card-body {
        padding: 1.5rem;
    }
    
    /* Testimonials responsive */
    .testimonial-content {
        padding: 40px 20px;
    }
    
    .testimonial-quote {
        font-size: 1.35rem;
        line-height: 1.6;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: -20px;
    }
    
    .carousel-control-next {
        right: -20px;
    }
    
    .carousel-control-icon i {
        font-size: 2.5rem;
    }
    
    /* Book launch responsive */
    .section-title {
        font-size: 2rem;
    }
    
    /* About responsive */
    .about-title {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    /* Contact responsive */
    .contact-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .book-cover {
        max-width: 350px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .btn-cta {
        padding: 0.75rem 2.5rem;
        font-size: 1rem;
    }
    
    .bulk-orders {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Testimonials mobile */
    .testimonial-content {
        padding: 30px 15px 100px;
    }
    
    .testimonial-quote {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-title {
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        top: auto;
        bottom: 30px;
        transform: none;
    }
    
    .carousel-control-prev {
        left: 50%;
        margin-left: -70px;
    }
    
    .carousel-control-next {
        right: 50%;
        margin-right: -70px;
    }
    
    .carousel-control-icon i {
        font-size: 2rem;
    }
    
    /* Book launch mobile */
    .section-title {
        font-size: 1.75rem;
    }
    
    .book-launch-section {
        padding: 60px 0;
    }
    
    /* About mobile */
    .about-section .col-lg-5:first-child {
        padding: 0;
    }
    
    .about-section .col-lg-5:last-child {
        padding: 60px 20px;
    }
    
    .about-image {
        min-height: 400px;
    }
    
    .about-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    /* Contact mobile */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .contact-description {
        text-align: center;
        font-size: 1rem;
    }
    
    .btn-contact {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading state for form */
.btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
