/* --- Setareh Heritage: CSS Reset & Colors --- */
:root {
    --primary-navy: #1A253A; /* Confident Navy */
    --accent-gold: #C9A050; /* Brushed "Old World" Gold */
    --light-gold: #F3EBD8;  /* Light "Shimmer" Gold */
    --background-cream: #FDFBF7; /* Soft, warm background */
    --text-dark: #333333;   /* High-readability dark text */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif; /* Body Font */
    background-color: var(--background-cream);
    color: var(--text-dark);
}

/* --- Header & Logo Styling --- */
.heritage-header {
    background-color: var(--primary-navy);
    padding: 20px 0;
    border-bottom: 2px solid var(--accent-gold);
    text-align: center;
}

.heritage-logo {
    max-width: 180px; /* Adjust size based on how the logo looks */
    height: auto;
    margin-bottom: 15px;
}

/* --- Navigation Menu Styling --- */
.heritage-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.heritage-nav a {
    font-family: 'Cinzel', serif; /* Setareh Family Header Font */
    color: var(--light-gold); /* Shimmer gold for contrast */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.heritage-nav a:hover {
    color: var(--accent-gold); /* The standard gold on hover */
}

/* --- Index Page Styles --- */
.hero-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(26, 37, 58, 0.8), rgba(26, 37, 58, 0.8)), 
                url('../images/gabby-hero.jpg') no-repeat center center/cover;
    color: var(--light-gold);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.heritage-tagline {
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--background-cream);
}

/* --- Pillar Grid --- */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: -50px auto 60px; /* Overlaps the hero slightly for a modern look */
    padding: 0 20px;
}

.pillar-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-gold);
    transition: transform 0.3s ease;
}

.pillar-card:hover { transform: translateY(-10px); }

.pillar-card h3 { font-family: 'Cinzel', serif; color: var(--primary-navy); }

/* --- Buttons --- */
.btn-gold {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
}

.btn-outline {
    border: 2px solid var(--light-gold);
    color: var(--light-gold);
    padding: 10px 28px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    margin-left: 15px;
}

/* --- Fix: Pillar Card Links --- */
.pillar-card a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.pillar-card a:hover {
    color: var(--primary-navy);
}

/* --- Fix: Wellness Banner --- */
.wellness-banner {
    background-color: var(--primary-navy);
    color: var(--background-cream);
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
    border-top: 4px solid var(--accent-gold);
}

.wellness-content h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.wellness-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn-navy {
    background: var(--background-cream);
    color: var(--primary-navy);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background: var(--accent-gold);
    color: var(--background-cream);
}

/* --- Education Hub Header --- */
.hub-header {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: var(--background-cream);
}

.hub-header h1 {
    font-family: 'Cinzel', serif;
    color: var(--primary-navy);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hub-header p {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.8;
}

/* --- Accordion Container --- */
.accordion-container {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* --- Individual Accordion Plaque --- */
.edu-accordion {
    background: white;
    border: 1px solid rgba(26, 37, 58, 0.1);
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* The Clickable Bar */
.edu-accordion summary {
    background-color: var(--primary-navy);
    color: var(--light-gold);
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 18px 25px;
    cursor: pointer;
    list-style: none; /* Hides the default browser arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.edu-accordion summary:hover {
    background-color: #23324f; /* Slightly lighter navy on hover */
}

/* Custom Gold Arrow */
.edu-accordion summary::after {
    content: '+';
    color: var(--accent-gold);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Turns the + into an x when open */
.edu-accordion[open] summary::after {
    transform: rotate(45deg);
}

/* The Inside Content */
.accordion-content {
    padding: 25px;
    background-color: white;
    color: var(--text-dark);
    line-height: 1.7;
    border-top: 2px solid var(--accent-gold);
}

/* --- Breeder's Toolbox Styles --- */
.toolbox-hub {
    padding-bottom: 80px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.tool-card {
    background: white;
    border: 1px solid var(--accent-gold);
    padding: 40px 30px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-card:hover {
    box-shadow: 0 15px 30px rgba(26, 37, 58, 0.1);
    transform: translateY(-5px);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tool-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tool-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the button to the bottom evenly */
}

/* --- Gabby's Heritage Page Styles --- */
.gabby-legacy {
    padding-bottom: 80px;
}

.tribute-container {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-top: 4px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 4px;
    gap: 50px; /* Space between the photo and the text */
}

.tribute-image {
    flex: 1;
    text-align: center;
}

/* The "Double Frame" Effect */
.gabby-frame {
    width: 100%;
    max-width: 380px;
    border-radius: 6px; 
    border: 8px solid var(--primary-navy);
    outline: 2px solid var(--accent-gold);
    outline-offset: -12px; /* Pulls the gold line inside the navy border */
    box-shadow: 0 15px 25px rgba(26, 37, 58, 0.2);
}

.tribute-content {
    flex: 1.2;
}

.tribute-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-navy);
    font-size: 2.8rem;
    margin-bottom: 5px;
}

.matriarch-title {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.tribute-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Mobile Responsiveness: Stacks the photo and text on small screens */
@media (max-width: 850px) {
    .tribute-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

/* --- PawTree Wellness Page Styles --- */
.wellness-page {
    padding-bottom: 80px;
}

.wellness-showcase {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--primary-navy);
    color: var(--background-cream);
    padding: 0; /* Removing padding so the image goes edge-to-edge on its side */
    border-radius: 6px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    overflow: hidden; /* Keeps the image corners rounded with the box */
}

.wellness-text {
    flex: 1.2;
    padding: 50px;
}

.wellness-text h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.wellness-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--background-cream);
    opacity: 0.9;
}

.wellness-btn {
    margin-top: 15px;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.wellness-image-container {
    flex: 1;
    height: 100%;
    min-height: 450px; /* Ensures the image side stays tall */
}

.wellness-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps the photo from stretching */
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
    .wellness-showcase {
        flex-direction: column-reverse; /* Puts the text under the image on phones */
    }
    
    .wellness-image-container {
        width: 100%;
        min-height: 300px;
    }
    
    .wellness-text {
        padding: 40px 20px;
        text-align: center;
    }
}

.wellness-image-container {
    flex: 1;
    height: 100%;
    min-height: 450px;
    background-color: #FFFFFF; /* Blends with the product photo's background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.wellness-img {
    width: 100%;
    height: auto; 
    object-fit: contain; /* Makes sure none of the bottles get cut off */
}

/* --- Heritage Footer Styles --- */
.heritage-footer {
    background-color: #111826; /* A slightly darker navy to ground the page */
    color: var(--background-cream);
    text-align: center;
    padding: 60px 20px 30px;
    border-top: 2px solid var(--accent-gold);
    margin-top: 40px;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 5px;
}

.footer-brand p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--light-gold);
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Social Links */
.footer-socials ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Allows stacking on very small phone screens */
}

.footer-socials a {
    font-family: 'Cinzel', serif;
    color: var(--background-cream);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-socials a:hover {
    color: var(--accent-gold);
    transform: translateY(-3px); /* Gives a tiny, elegant "lift" when hovered */
}

/* Copyright */
.footer-copyright p {
    font-size: 0.85rem;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* --- Designer Credit Styles --- */
.designer-credit {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* We added the :visited state here so it never turns blue! */
.designer-credit a,
.designer-credit a:visited {
    color: var(--accent-gold);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.designer-credit a:hover,
.designer-credit a:active {
    color: var(--light-gold);
    text-shadow: 0 0 8px rgba(201, 160, 80, 0.4);
}

/* --- Trust Badges & Affiliations --- */
.trust-badges-section {
    padding: 60px 20px;
    background-color: var(--background-cream);
    text-align: center;
}

.trust-header h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.trust-header p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 40px;
    opacity: 0.8;
}

.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px; /* Gives them nice breathing room */
    flex-wrap: wrap; /* Allows them to stack on phones */
    max-width: 1000px;
    margin: 0 auto;
}

/* The Luxury "Hover" Trick */
.trust-badge {
    max-width: 120px; /* Keeps them all a uniform, elegant size */
    height: auto;
    filter: grayscale(100%) opacity(60%); /* Makes them look like silver/gray watermarks */
    transition: all 0.4s ease;
    cursor: pointer;
}

.trust-badge:hover {
    filter: grayscale(0%) opacity(100%); /* Blooms into full color when hovered! */
    transform: translateY(-5px); /* Gives a tiny upward bump */
}