/* style.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary: #4a90e2;
    --secondary: #f5a623;
    --light: #f9f9f9;
    --dark: #333;
    --gray: #777;
    --light-gray: #eee;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #e6951a;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 1.2rem;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.699), rgba(0, 0, 0, 0.699)), url('images/Barbara.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 80vh;
    text-align: center;
    padding: 150px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Featured Puppies Section */
.featured-puppies {
    background-color: var(--light);
}

.puppies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.puppy-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.puppy-card:hover {
    transform: translateY(-10px);
}

.puppy-image {
    height: 250px;
    overflow: hidden;
}

.puppy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.puppy-card:hover .puppy-image img {
    transform: scale(1.1);
}

.puppy-info {
    padding: 20px;
    text-align: center;
}

.puppy-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.breed {
    color: var(--gray);
    margin-bottom: 10px;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

/* About Preview */
.about-preview {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Our Story */
.our-story {
    background-color: white;
}

.story-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Redesigned Puppy Carousel Section */
.puppy-carousel-section {
    background-color: var(--light);
    text-align: center;
}

.puppy-carousel-section .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.puppy-previews-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.puppy-preview {
    width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.puppy-preview:hover {
    transform: translateY(-5px);
}

.puppy-preview .puppy-image {
    height: 250px;
    overflow: hidden;
}

.puppy-preview .puppy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.puppy-preview:hover .puppy-image img {
    transform: scale(1.05);
}

.puppy-details {
    padding: 20px;
    background-color: white;
}

.puppy-details h3 {
    font-size: 1.3rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-cta {
    text-align: center;
}

.carousel-cta .btn-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #e6951a 100%);
    font-size: 1.2rem;
    padding: 16px 32px;
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-cta .btn-cta:hover {
    background: linear-gradient(135deg, #e6951a 0%, #d48917 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

/* Testimonials Carousel */
.testimonials-carousel-section {
    background-color: var(--light);
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 8px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background-color: var(--primary);
}

/* Testimonial Carousel Item */
.testimonial-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-link {
    color: var(--primary);
    font-weight: bold;
}

/* Contact Form */
.contact-form-section {
    background-color: white;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Available Puppies Page - Fixed Layout */
.puppy-details {
    display: block;
    margin-bottom: 50px;
}

.puppy-detail-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.puppy-detail-card .puppy-image {
    flex: 1;
    max-width: 400px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.puppy-detail-card .puppy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.puppy-detail-card:hover .puppy-image img {
    transform: scale(1.05);
}

.puppy-detail-info {
    flex: 1;
    padding: 20px;
}

.puppy-detail-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.puppy-detail-info p {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.puppy-detail-info .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin: 20px 0;
}

.puppy-detail-info .btn {
    background: linear-gradient(135deg, var(--secondary) 0%, #e6951a 100%);
    font-size: 1.1rem;
    padding: 14px 28px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    border: none;
}

.puppy-detail-info .btn:hover {
    background: linear-gradient(135deg, #e6951a 0%, #d48917 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

/* Responsive adjustments for shop section */
@media (max-width: 768px) {
    .puppy-detail-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .puppy-detail-card .puppy-image {
        max-width: 100%;
        height: 250px;
    }
    
    .puppy-detail-info {
        padding: 15px;
    }
    
    .puppy-detail-info h3 {
        font-size: 1.6rem;
    }
    
    .puppy-detail-info .price {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .puppy-detail-card {
        margin-bottom: 30px;
    }
    
    .puppy-detail-card .puppy-image {
        height: 200px;
    }
    
    .puppy-detail-info h3 {
        font-size: 1.4rem;
    }
    
    .puppy-detail-info p {
        font-size: 1rem;
    }
    
    .puppy-detail-info .price {
        font-size: 1.4rem;
    }
}

/* More Info Section */
.more-info {
    background-color: var(--light);
    padding: 50px 0;
}

.info-section {
    margin-bottom: 40px;
}

.info-section h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary);
}

/* FAQ Page */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--light);
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 1000px;
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.testimonials-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    flex: 0 0 100%;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.testimonial-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: white;
}

.testimonial-text {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.testimonial-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.testimonial-link:hover {
    background-color: white;
    color: #333;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: white;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: #333;
}

/* Enhanced Hero Section with CTA */
.hero-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}

.btn-hero {
    background-color: var(--secondary);
    font-size: 1.3rem;
    padding: 18px 35px;
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn-hero:hover {
    background-color: #e6951a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

.feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Call to Action Styles */
.cta-container {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.btn-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #e6951a 100%);
    font-size: 1.2rem;
    padding: 16px 32px;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    border: none;
    position: relative;
    z-index: 1;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #e6951a 0%, #d48917 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.cta-subtext {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .section {
        padding: 60px 0;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .puppy-previews-container {
        gap: 20px;
    }
    
    .puppy-preview {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .hero-feature {
        font-size: 0.9rem;
    }
    
    .btn-hero {
        font-size: 1.1rem;
        padding: 15px 25px;
    }
    
    .cta-container {
        padding: 30px 20px;
    }
    
    .btn-cta {
        font-size: 1.1rem;
        padding: 14px 28px;
    }
}

@media (max-width: 576px) {
    .puppies-grid, .features-grid, .puppy-details {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .puppy-previews-container {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-hero {
        font-size: 1rem;
        padding: 14px 22px;
    }
    
    .cta-container {
        padding: 25px 15px;
    }
    
    .btn-cta {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

/* ========== SEO ========== */
/* Optimize images */
.puppy-image img {
  max-width: 100%;
  height: auto;
}

/* Optimize loading */
.carousel-image {
  loading: lazy;
}