/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif; /* A common, readable font */
    line-height: 1.6;
    color: #333; /* Dark grey for text */
    background-color: #f9f9f9; /* Light off-white background */
}

/* Color Palette (placeholders, can be refined) */
:root {
    --primary-color: #6CB4EE; /* Soft, friendly blue */
    --secondary-color: #F0E68C; /* Warm, light tan/khaki */
    --accent-color: #90EE90;   /* Light green accent */
    --text-color: #333333;
    --light-bg: #ffffff;
    --alt-bg: #f0f8ff; /* Alice blue - very light blue for alternating sections */
    --footer-bg: #333;
    --footer-text: #f4f4f4;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    color: var(--light-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

nav .logo {
    font-size: 1.8em;
    font-weight: bold;
    /* Simple text logo styling */
    font-family: 'Pacifico', cursive; /* A more playful font for the logo, add Google Font import if used */
    /* Fallback font */
    /* font-family: 'Brush Script MT', 'Brush Script Std', cursive; */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--light-bg);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: url('images/user_photo_pirate_dog.jpg') no-repeat center center/cover; /* Attempting fix for hero image */
    color: var(--light-bg);
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.hero-section::before { /* Overlay for better text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative; /* To be above the overlay */
    z-index: 1;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #7CCD7C; /* Darker green */
}

/* General Content Sections */
.content-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.content-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: left; /* For better readability of paragraphs */
}
.content-section.alt-bg {
    background-color: var(--alt-bg);
}
.content-section#about p,
.content-section#contact p:first-of-type { /* Center the intro paragraph for these sections */
    text-align: center;
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.service-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover; /* Crop images to fit */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


/* Testimonials Section */
.testimonial-item {
    background-color: var(--light-bg);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 5px solid var(--accent-color);
    text-align: left;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-item cite {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    text-align: right;
}

/* Contact Section */
.contact-info {
    margin-bottom: 30px;
    text-align: center;
}
.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
    text-align: center;
}
.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-form button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--light-bg);
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
}

#contact-form button[type="submit"]:hover {
    background-color: #5A9BD8; /* Darker primary */
}
#contact small {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
    color: #777;
}


/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 30px 20px;
}

footer p {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav .logo {
        margin-bottom: 10px;
        font-size: 1.5em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 1em;
    }

    .content-section h2 {
        font-size: 2em;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack services on smaller screens */
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust for smaller screens */
    }
    .gallery-grid img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 70vh;
    }
    .hero-section h1 {
        font-size: 1.8em;
    }
    .hero-section p {
        font-size: 0.9em;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .content-section h2 {
        font-size: 1.8em;
    }
    #contact-form {
        padding: 20px;
    }
}

/* Add Google Font for Logo if desired - e.g. Pacifico */
/* @import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap'); */
/* If Pacifico is used, uncomment the above and ensure it's in the nav .logo font-family rule */
