﻿
/* style.css - This controls the 3-layer menu */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* This applies the texture to the entire website background */
    background-image: url('images/background.jpg');
    background-attachment: fixed; /* Keeps the texture still while you scroll */
}

/* PART B: The Solid Menu Bar */
nav {
    background-color: #2c3e50; /* Solid dark color */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.menu-container {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-item {
    position: relative;
}

    .menu-item a {
        display: block;
        padding: 15px 25px;
        color: white;
        text-decoration: none;
    }

        .menu-item a:hover {
            background-color: #34495e;
        }

/* --- The 2nd Layer (Detail A, B, C, D) --- */
.submenu {
    display: none;
    position: absolute;
    background-color: #ecf0f1;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    margin: 0;
    padding: 0;
}

    .submenu a {
        color: #2c3e50;
        border-bottom: 1px solid #ddd;
    }

        .submenu a:hover {
            background-color: #bdc3c7;
        }

/* Show 2nd layer when hovering over top menu */
.menu-item:hover .submenu {
    display: block;
}

/* --- The 3rd Layer (Detail A-1, A-2) --- */
.submenu li {
    position: relative; /* Anchor for the 3rd layer */
}

.second-layer {
    display: none;
    position: absolute;
    left: 100%; /* Pops out to the right */
    top: 0;
    background-color: #555; /* Darker gray for the deep layer */
    min-width: 180px;
    border-left: 3px solid #4facfe; /* Blue accent line */
    box-shadow: 5px 0px 15px rgba(0,0,0,0.3);
    z-index: 1001;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* THE MISSING TRIGGER: Show 3rd layer when hovering over its parent li */
.has-second-layer:hover > .second-layer {
    display: block;
}

.second-layer li a {
    padding: 12px 15px;
    font-size: 0.9em;
    color: #f0f0f0;
    border-bottom: 1px solid #666; /* Subtle divider for 3rd layer */
}

    .second-layer li a:hover {
        background-color: #666;
        color: #4facfe;
    }

/* Pop-left support for menus on the right side of the screen */
.pop-left .second-layer {
    left: auto;
    right: 100%;
    border-left: none;
    border-right: 3px solid #4facfe;
}
/* Simple Layout Styling */
thead paragraph
.main-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff; /* Solid white so text is readable */
    box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    text-align: left; /* align left */
    height: auto;
    border-radius: 4px;
    margin-top: 15px;
}

.content-header {
    border-bottom: 2px solid #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
}
/* This targets the span we created in your HTML */
.brand-name {
    font-weight: bold;
    font-size: 50px; /* Adjust size as you like */
    /* OPTION A: Bright Grass Green */
    color: #32CD32;
    /* This shadow makes the bright color easy to read */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    /* Add the line below to make it italic */
    font-style: italic;
}
    .brand-name:hover {
        cursor: pointer;
        transform: scale(1.05); /* Makes the text grow 5% larger */
        transition: 0.3s; /* Makes the growth look smooth */
    }
/* This controls the size and alignment of your youtube.jpg */
.social-icon {
    height: 24px; /* Keeps the icon small */
    width: auto;
    vertical-align: middle; /* Centers it vertically with the text */
    margin-right: 10px; /* Adds space between the icon and the text */
    border-radius: 4px; /* Optional: rounds the corners of your image */
}
/* Styling for Social Buttons */
.btn-youtube, .btn-tiktok {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 0;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    background-color: #FF0000;
    color: white !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}
    /* Hover effect to make them interactive */
    .btn-youtube:hover, .btn-tiktok:hover {
        opacity: 0.8;
        transform: translateY(-2px);
    }

.btn-tiktok {
    display: inline-flex;
    align-items: center;
    background-color: #010101; /* TikTok Black */
    color: white !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 10px;
    /* This creates the TikTok "glitch" look with blue and red shadows */
    box-shadow: -3px 0 0 #00f2ea, 3px 0 0 #ff0050;
    transition: 0.3s;
}
    .btn-tiktok:hover {
        transform: scale(1.05);
        box-shadow: -5px 0 0 #00f2ea, 5px 0 0 #ff0050;
    }

/* ----------------------------------------- */
/* PROJECT 1: SOCIAL MEDIA GALLERY SECTION   */
/* ----------------------------------------- */

.social-gallery {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    margin-top: 20px;
}

.social-item {
    text-align: left;
    width: 150px;
}

    .social-item a {
        text-decoration: none;
    }

.brand-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.social-title {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.social-item:hover .brand-logo {
    transform: scale(1.1);
}
/* This gives your transparent PNG a solid background */
.brand-logo.tiktok-icon {
    background-color: #FFFFFF; /* White background */
    padding: 10px; /* Space around the logo inside the black box */
    border-radius: 15px; /* Keeps the corners rounded */
    box-sizing: border-box; /* Ensures padding doesn't make it too big */
    /* Adds a light gray border so you can see the edges of the white button */
    border: 1px solid #e0e0e0;
    /* Adds a soft shadow to make it "float" off the page */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    /* Let's make it change slightly when you hover so it feels like a button */
    .brand-logo.tiktok-icon:hover {
        border-color: #00f2ea; /* TikTok Cyan border on hover */
        background-color: #f9f9f9; /* Very light gray on hover */
    }
h2 {
    /* Color and Style */
    color: #8B4513;
    font-style: italic;
    /* Layout and Alignment */
    max-width: 600px; /* Keeps the block short */
    margin-left: 0; /* Forces the block to the left */
    text-align: left; /* Ensures text inside starts on the left */
}
.dog-gallery {
    display: flex; /* Puts images side-by-side */
    gap: 20px; /* Adds space between the two photos */
    margin-top: 20px; /* Adds space above the gallery */
}

.puppy-img {
    width: 250px; /* Sets a consistent width */
    height: auto; /* Keeps the image proportions correct */
    border-radius: 10px; /* Optional: gives nice rounded corners */
    /* border: 2px solid #8B4513; Optional: matches your red-brown text */
    mix-blend-mode: multiply; /* This removes the white background from the image */
    filter: contrast(110%); /* Optional: makes the colors pop more */
    background-color: transparent; /* Ensures no extra color is added */
    border: none; /* Removes any default borders */
    width: 250px;
    height: 250px; /* Force a square shape */
    object-fit: cover; /* Crops the edges instead of squishing the image */
    object-position: center; /* Keeps the puppy's face in the middle */
}
/* 1. Set the default look for your Shih Tzu photos */
img {
    background-color: #ffffff; /* Pure white background */
    padding: 10px; /* Space between image and white border */
    border: 1px solid #eeeeee; /* Very light gray border */
    transition: transform 0.5s ease, box-shadow 0.5s ease; /* Smooth motion */
    cursor: pointer;
}

    /* 2. The "Move" - What happens when the mouse hovers */
    img:hover {
        transform: scale(1.1); /* Zooms the picture in by 10% */
        box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Adds a soft shadow */
        z-index: 10; /* Makes sure it pops "over" other images */
        position: relative;
    }

/* Container to hold both buttons in the bottom right corner */
.floating-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Space between buttons */
    z-index: 9999; /* Keep them above images */
}

/* Style for each button */
.float-btn {
    background-color: #ffffff;
    color: #333;
    text-decoration: none;
    padding: 10px;
    border-radius: 50px; /* Round shape */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    transition: all 0.3s ease; /* Smooth hover effect */
}

    /* Hover effect to match your site's style */
    .float-btn:hover {
        transform: scale(1.1);
        background-color: #f8f8f8;
        box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    }

.btn-icon {
    font-size: 18px;
    font-weight: bold;
}

.btn-text {
    font-size: 10px;
    text-transform: uppercase;
}
.puppy-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px; /* Space between pictures */
    padding: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border: 2px solid #ccc;
}

/* This makes the big images take up the whole width */
.large-view {
    grid-column: span 4;
}

/* MOBILE FRIENDLY: On small screens, change to 1 column automatically! */
@media (max-width: 600px) {
    .puppy-gallery {
        grid-template-columns: 1fr;
    }

    .large-view {
        grid-column: span 1;
    }
}
/* Container for the puppy gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* Default to 8 small columns for the puppy rows */
    gap: 15px;
    padding: 20px;
    align-items: start;
}

/* The container that holds everything */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* Creates 8 equal columns */
    gap: 10px;
    width: 100%;
}

/* Row 1: The Sire and Dam */
.parent-item {
    grid-column: span 4; /* Each parent takes 4 of the 8 columns */
    text-align: center;
}

    .parent-item img {
        width: 100%; /* Scales to fit the 4-column width */
        max-width: 500px; /* Prevents them from getting TOO huge on big screens */
        height: auto;
    }

/* Row 2: The Puppies */
.puppy-item {
    grid-column: span 1; /* Each puppy takes 1 of the 8 columns */
    text-align: center;
}

    .puppy-item img {
        width: 100%;
        height: auto;
    }
/* This stops the flag from moving or growing when you hover over it */
.nav-flag:hover {
    transform: none !important;
    transition: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* This ensures no border or rectangle appears around it */
.nav-flag {
    background-color: transparent !important;
    border: none !important;
}