/* Base Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #000;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    padding: 15px 40px;
    border-bottom: 3px solid #e5a4b5; 
}

.logo-text {
    color: #e5a4b5;
    font-size: 20px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

nav ul li a:hover { color: #e5a4b5; }

/* Hero Section */
.hero {
    height: 65vh; 
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6); 
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-logo {
    width: 100%;
    max-width: 550px; 
    margin-bottom: 15px;
}

.hero h1 { 
    font-size: 36px; 
    margin-bottom: 5px; 
}

.hero h1 span { 
    color: #e5a4b5; 
}

.hero h2 { 
    font-size: 20px; 
    letter-spacing: 2px; 
    margin-bottom: 25px; 
}

.btn {
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
    margin: 0 10px;
    transition: 0.3s ease;
}

.primary-btn { 
    background-color: #e5a4b5; 
    color: #000; 
}
.primary-btn:hover {
    background-color: #d68f9f;
}

.secondary-btn { 
    border: 2px solid #e5a4b5; 
    color: #fff; 
}
.secondary-btn:hover {
    background-color: #e5a4b5;
    color: #000;
}

/* Main Grid Layout */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
}

.content-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.align-bottom {
    margin-bottom: 0; 
    align-items: flex-end;
}

.left-col { flex: 1.2; }
.right-col { flex: 0.8; }

.section-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Featured Dogs */
.dog-grid {
    display: flex;
    gap: 15px;
}

.dog-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.img-box {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-label {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 11px;
    line-height: 1.4;
}

/* Philosophy */
.philosophy {
    padding: 0 20px 40px 20px;
}

.philosophy .section-title {
    text-align: center;
}

.philosophy p {
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

/* Testimonials */
.testimonial-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.right-align {
    justify-content: flex-end;
}

.avatar {
    font-size: 45px;
    line-height: 1;
}

.bubble {
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.5;
    position: relative;
    max-width: 80%;
}

.left-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 15px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #f2f2f2 transparent transparent;
}

.right-bubble::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 15px;
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #f2f2f2;
}

/* Black Social Block (Right Side Bottom) */
.black-social-block {
    background-color: #000;
    color: #fff;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons { text-align: right; }
.social-icons a { color: #fff; font-size: 20px; margin-left: 10px; text-decoration: none;}
.social-icons a:hover { color: #e5a4b5; }

/* Main Footer */
.main-footer {
    background-color: #000;
    color: #fff;
    padding: 30px 40px;
    border-top: 1px solid #333;
}

.footer-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-block {
    font-size: 14px;
    line-height: 1.6;
}

/* Copyright */
.copyright {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 10px;
    font-size: 11px;
}
/* =========================================
   SUB-PAGE STYLES (pups.html)
   ========================================= */

/* Sub-Hero Banner */
.sub-hero {
    height: 30vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 3px solid #e5a4b5;
}

.sub-hero-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.sub-hero h1 { 
    font-size: 36px; 
    margin-bottom: 5px; 
    text-transform: uppercase;
}

.sub-hero h1 span { 
    color: #e5a4b5; 
}

.sub-hero p {
    font-size: 16px;
    letter-spacing: 2px;
}

/* Gallery Grid */
.pups-page-container {
    padding-bottom: 60px;
}

.pup-gallery-grid {
    display: grid;
    /* This automatically creates a responsive grid based on screen size */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Gallery Cards */
.pup-gallery-card {
    background: #fdfdfd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-bottom: 4px solid #e5a4b5; /* Branded pink accent line */
    transition: transform 0.3s ease;
}

.pup-gallery-card:hover {
    transform: translateY(-5px); /* Creates a slight hover lift effect */
}

.pup-gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.pup-info {
    padding: 25px 20px;
}

.pup-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #000;
}

.pup-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.small-btn {
    padding: 10px 15px;
    font-size: 12px;
    width: 100%; /* Makes the button span the full width of the card */
    display: block;
}
/* =========================================
   LIGHTBOX STYLES
   ========================================= */

/* Make images look clickable */
.zoomable-img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.zoomable-img:hover {
    opacity: 0.85; /* Slightly fades the image on hover */
}

/* The dark background pop-up */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; /* Puts it on top of everything else */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.9); /* Dark semi-transparent background */
    justify-content: center;
    align-items: center;
}

/* The expanded image */
.lightbox-content {
    width: 80vw; /* Forces it to take up 80% of the screen width */
    max-width: 800px; /* Caps it so it doesn't get ridiculously huge on a 4K monitor */
    height: auto; /* Keeps the proportions correct */
    max-height: 90vh; /* Prevents it from going off the bottom of the screen */
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease; 
}

/* The 'X' close button */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #e5a4b5; /* Turns pink when hovered */
}

/* Zoom animation */
@keyframes zoomIn {
    from {transform: scale(0.9)} 
    to {transform: scale(1)}
}
/* Boy Button Color */
.boy-btn {
    background-color: #a4cce5; /* Soft pastel blue */
    color: #000;
}
.boy-btn:hover {
    background-color: #8dbfe0; /* Slightly darker blue on hover */
}
/* Product Price Tag */
.price-tag {
    font-size: 18px;
    font-weight: bold;
    color: #e5a4b5; /* Brand pink */
    margin-bottom: 15px;
}
/* =========================================
   MOBILE RESPONSIVE STYLES (Phones & Tablets)
   ========================================= */

@media (max-width: 768px) {
    
    /* Navigation Menu */
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav ul li a {
        font-size: 14px; /* Slightly larger for easier thumb-tapping */
    }

    /* Hero Banner Text & Logo */
    .hero {
        height: 55vh; /* Shrink height slightly on mobile */
    }

    .hero-logo {
        max-width: 85%; /* Scales down perfectly so it doesn't bleed off the screen */
    }

    .hero h1 {
        font-size: 26px; /* Shrink text so it doesn't wrap awkwardly */
    }

    .hero h2 {
        font-size: 16px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 12px;
    }

    .btn {
        margin: 0;
        text-align: center;
    }

    /* Sub-Page Hero Banner (Pups & Treats pages) */
    .sub-hero h1 {
        font-size: 28px;
    }

    /* Layout Columns (Homepage) */
    .content-row {
        flex-direction: column; /* Stacks side-by-side columns into a single column */
        gap: 30px;
        padding: 0 15px;
    }

    .align-bottom {
        flex-direction: column-reverse; /* Puts the black social block under the philosophy */
    }

    /* Featured Dogs & Store Grids */
    .dog-grid, .pup-grid {
        flex-direction: column;
        gap: 20px;
    }

    .dog-card {
        width: 100%;
    }

    .img-box {
        height: 220px; /* Gives the dogs a bit more height when single-column */
    }

    /* Testimonials */
    .bubble {
        max-width: 100%; /* Let the text bubbles take up the full width */
    }

    /* Black Social Block & Footer */
    .black-social-block {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .social-icons {
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}