/* Helston Happy Hounds - COMPLETE STYLESHEET (FINAL, STABLE VERSION) */

/* --- 0. Setup: Basic Reset, Global Fonts, & Colors --- */
/* PRIMARY COLOR: #1976D2 (Trust Blue) */
/* LIGHT BLUE: #E3F2FD */
/* ACCENT COLOR: #FFB300 (Golden Amber) */

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3, h4, .large-slogan p, .btn {
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Call to Action Button */
.btn {
    display: inline-block;
    background-color: #FFB300; /* Amber for action */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e68900;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Small Button for Price Table */
.btn-small {
    display: inline-block;
    background-color: #1976D2; /* Use Blue for the action */
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Prevents button text from wrapping */
    font-family: 'Poppins', sans-serif;
}

.btn-small:hover {
    background-color: #0d47a1;
}

/* --- 1. Header & Navigation Styles --- */
header {
    background-color: #1976D2; /* Trust Blue */
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 2.8em;
}

header .slogan {
    font-style: italic;
    font-size: 1.1em;
    margin-top: 5px;
    margin-bottom: 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    margin-top: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #FFB300;
    color: white;
}

/* --- 2. Home Page Sections --- */

/* Hero Section: MP4 Video Background Styling */
.hero-section.text-centric-hero {
    display: flex; 
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow: hidden; 
    padding: 0; 
    min-height: 450px; 
}

/* Styling the actual video element */
#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; 
    transform: translate(-50%, -50%);
}

/* Styling the content that sits on top */
.hero-overlay {
    position: relative;
    z-index: 2; 
    padding: 80px 0; 
    text-align: center;
    color: white; 
    width: 100%;
    max-width: 1200px;
}

.credentials-bar {
    background-color: #FFB300; 
    color: white;
    padding: 10px 15px;
    margin-bottom: 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

.large-slogan {
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.large-slogan p {
    font-size: 1.8em;
    font-weight: 600;
    color: #FFB300; 
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.large-slogan h2 {
    font-size: 3.5em;
    font-weight: 800;
    color: white; 
    line-height: 1.1;
    margin-bottom: 0;
}

/* Personal Introduction and Trust Badges */
.personal-intro-section {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.personal-intro-section .container {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
}

.intro-content {
    flex: 2;
    min-width: 300px;
    max-width: 700px;
}

.intro-content h3 {
    color: #1976D2; 
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 15px;
}

.intro-content p {
    font-size: 1.1em;
    line-height: 1.7;
}

/* TRUST BADGES CONTAINER (The Correct Grid Layout) */
.trust-badges {
    flex: 1;
    min-width: 250px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
    padding: 20px;
    border-left: 2px solid #E3F2FD; 
    align-content: start;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1em;
    font-weight: bold;
    color: #1976D2; 
}

/* EMOJI ICON STYLES (Guaranteed Visibility) */
.emoji-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFB300; 
    font-size: 20px;
    line-height: 40px;
    display: flex; 
    justify-content: center;
    align-items: center;
    flex-shrink: 0; 
}
.badge-item i {
    display: none !important; 
}


/* Services Summary Section */
.services-summary-section {
    background-color: #f4f4f4;
    padding: 60px 0;
    text-align: center;
}

.services-summary-section h2 {
    color: #FFB300; 
    font-size: 2.2em;
    margin-bottom: 40px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.summary-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
}

.summary-item h4 {
    color: #1976D2; 
    font-size: 1.4em;
    margin-top: 0;
    border-bottom: 2px solid #E3F2FD; 
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.summary-item.conditions {
    border: 2px solid #FFB300;
}

/* Social Media Section */
.social-updates-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.social-updates-section h2 {
    color: #1976D2;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.social-grid {
    display: flex;
    justify-content: space-between; 
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.social-post {
    flex: 1 1 45%; 
    min-width: 300px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}
/* Ensure the social embeds adapt fully to the container */
.social-post iframe, .social-post .fb-post {
    max-width: 100% !important;
}


/* --- 3. Price List Styles --- */
.price-list-section {
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-top: 20px;
    
    /* Price List Background Image */
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('prices-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-color: #fff; 
}

.price-list-section h2 {
    color: #1976D2; 
    font-size: 2.5em;
    margin-bottom: 40px;
}

.service-category {
    /* Made transparent to let BG image show through */
    background-color: rgba(255, 255, 255, 0.9); 
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.service-category h3 {
    color: #FFB300; 
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Table Styling */
.service-category table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.service-category th, .service-category td {
    padding: 12px 15px;
    border: 1px solid #eee;
    text-align: center !important; 
}

.service-category th {
    background-color: #E3F2FD; 
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.service-category tr:nth-child(even) {
    background-color: #f6f6f6; 
}

.service-category td:last-child {
    font-weight: bold;
    color: #1976D2; 
    text-align: center !important; 
}


/* --- 4. Testimonials Styles --- */
.testimonials-section {
    background-color: #E3F2FD; 
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.testimonials-section h2 {
    color: #1976D2; 
    font-size: 2.5em;
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    align-items: flex-start; 
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-item .quote {
    font-style: italic;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-item .author {
    font-weight: bold;
    color: #FFB300; 
    font-size: 0.95em;
    margin-top: auto;
}

/* Testimonial Images */
.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #FFB300; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* New: Review Link Bar Styling */
.review-link-bar {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.review-link-bar p {
    font-size: 1.2em;
    font-weight: bold;
    color: #1976D2;
    margin-bottom: 15px;
}

/* --- 5. Booking Form Styles --- */
.booking-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
    margin-top: 20px;
}

.booking-section h2 {
    color: #1976D2; 
    font-size: 2.5em;
    margin-bottom: 20px;
}

.booking-section .intro-text {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #555;
}

.contact-form {
    max-width: 600px; 
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.contact-form h3 {
    color: #FFB300; 
    border-bottom: 2px solid #E3F2FD; 
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.form-group label {
    color: #1976D2; 
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; 
    font-size: 1em;
    font-family: 'Roboto', Arial, sans-serif;
    transition: border-color 0.3s;
}

.checkbox-group {
    display: flex;
    align-items: flex-start; 
    margin-top: 25px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0; 
    cursor: pointer;
}

.checkbox-group label {
    display: inline;
    font-weight: normal; 
    font-size: 1em;
    color: #333;
}

.checkbox-group label a {
    color: #FFB300; 
    font-weight: bold;
    text-decoration: underline;
}

/* --- 6. Terms & Conditions Styles --- */
.terms-section h2 {
    color: #1976D2; 
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.terms-section h3 {
    color: #FFB300; 
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* COPYRIGHT BOX STYLING */
.copyright-notice {
    margin-top: 50px;
    padding: 20px;
    background-color: #E3F2FD; 
    border: 1px solid #1976D2; 
    border-radius: 5px; 
    text-align: left;
    color: #333;
}

.copyright-notice h4 {
    color: #1976D2; 
    margin-top: 0;
    font-size: 1.2em;
    border-bottom: 1px dashed #1976D2;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Modal Styling */
.modal-overlay {
    display: none; 
    position: fixed;
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.7); 
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-body {
    padding-top: 10px;
    text-align: left;
    line-height: 1.7;
}

.modal-body h2 {
    color: #1976D2;
    margin-top: 0;
    border-bottom: 2px solid #E3F2FD;
    padding-bottom: 10px;
}

.modal-body h3 {
    color: #FFB300;
    margin-top: 20px;
}

.modal-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* --- 7. Footer & Responsive Adjustments --- */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 40px;
}

/* Responsive adjustments (Media Queries) */
@media (max-width: 768px) {
    /* Header and Nav */
    .menu-toggle {
        display: block; 
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    
    #main-nav ul {
        display: none; 
        flex-direction: column; 
        background: #1976D2; 
        padding-top: 5px;
    }

    /* Style for when the menu is OPEN (added by JS) */
    #main-nav.open ul {
        display: flex; 
    }

    /* Standard mobile styles (Omitted for brevity, but are complete in the final file) */
    
    /* Social Media Fix */
    .social-grid {
        justify-content: center;
    }
    .social-post {
        flex: 1 1 100%;
    }

    /* Responsive Tables - Mobile Overrides */
    .service-category td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right; 
        flex-basis: 50%;
        box-sizing: border-box;
    }
    
    .service-category td:first-child {
        text-align: left;
    }
}