/* Basic Reset & Body Styles - Inspired by Jonah Ventures */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #e6f7ff; /* Default light blue background */
    font-family: sans-serif; /* Placeholder - will refine */
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit; /* Will override as needed */
}

ul {
    list-style: none;
}

/* Keep container for general layout, Bulma uses its own container */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 1rem; /* Adjust padding for Bulma compatibility */
}

/* KEEP HERO STYLES AND BELOW */

/* Hero Section */
.hero {
    background: url('../public/assets/images/Turtle-Cleaning-Station.jpg') no-repeat center center/cover;
    height: 60vh; /* Adjust height as needed */
    color: #fff; /* White text for dark background */
    position: relative; /* For potential overlay AND absolute positioning of child */
    width: 100%; /* Ensure it takes full width */
    /* overflow: hidden;  -- Let Bulma handle potential overlaps */
}

/* Optional overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay - adjust opacity as needed */
    z-index: 1; /* Above video, below content */
}

.hero-content {
    position: absolute; /* Position relative to .hero */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center absolutely */
    text-align: center; /* Center text within the block */
    width: 90%; /* Prevent stretching full width */
    max-width: 900px; /* Increased max-width to prevent h1 wrap */
    z-index: 2; /* Above video and overlay */
    padding: 0 20px; /* Removed top/bottom padding, kept left/right */
}

.hero-content h1 {
    font-size: 3rem; /* Large heading */
    margin-top: 0; /* Remove default margin */
    margin-bottom: 0.5rem; /* Controlled space below h1 */
    font-weight: bold;
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-top: 0; /* Remove default margin */
    margin-bottom: 0; /* Remove default margin */
    color: #eee; /* Lighter text */
}

/* Basic Button Style (Optional) */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff; /* Primary color */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: #0056b3; /* Darker shade on hover */
}

/* Utility Classes */
.section-padding {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333; /* Darker heading color */
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden; /* Ensures image corners match border radius */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Center content within the card */
    padding: 1.5rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%; /* Make image responsive within card */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Crop image nicely */
    margin-bottom: 1rem;
    background-color: #f0f0f0; /* Placeholder background if image fails */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0056b3; /* Match theme color */
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Pricing Table Styles */
.pricing-table-container {
    max-width: 900px;
    margin: 3rem auto; /* Center container and add spacing */
    padding: 0 20px; /* Padding on smaller screens */
}

.pricing-table-container h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse; /* Merge borders */
    margin-bottom: 2rem; /* Space below table */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: #fff;
    border: 1px solid #ddd;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #ddd; /* Cell borders */
    padding: 12px 15px; /* Cell padding */
    text-align: left;
}

.pricing-table th {
    background-color: #0056b3; /* Blue header background */
    font-weight: bold;
    color: #fff; /* White text on blue background */
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Zebra striping */
}

.pricing-table tbody tr:hover {
    background-color: #ffe4cc; /* Light orange hover effect */
}

/* Style first column text */
.pricing-table td:first-child {
    color: #444; /* Dark gray text for service names */
}

/* Right-align price column */
.pricing-table td:last-child {
    text-align: right;
    color: #444; /* Dark gray text for charge */
}

/* Services Intro Paragraph */
.services-intro p {
    font-size: 1.2rem; /* Match hero paragraph size */
    color: #444; /* Dark gray text */
}

/* About Page / Team Profiles */
.about-intro h3 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333; /* Darker text (match default body) */
    margin-bottom: 1.5rem;
}

.team-profiles {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 3rem; 
    margin-top: 3rem;
}

.profile-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    max-width: 300px;
    width: 100%;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid #eee;
}

.profile-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #0056b3;
}

.profile-links p {
    margin-bottom: 0.5rem;
}

.profile-links a {
    color: #007bff;
    text-decoration: underline;
}

.profile-links a:hover {
    color: #0056b3;
}

/* Footer */
#main-footer {
    background-color: #222; /* Dark background like Jonah */
    color: #ccc;
    padding: 3rem 0;
    margin-top: 3rem; /* Space above footer */
}

.footer-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-contact p,
.footer-copyright p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #00aaff; /* Brighter link color for dark background */
    text-decoration: underline;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-copyright {
    text-align: center; /* Center copyright on smaller screens when wrapped */
    width: 100%; /* Take full width when wrapped */
    margin-top: 2rem; /* Add space when wrapped */
    border-top: 1px solid #444; /* Separator line */
    padding-top: 1rem;
}

/* Adjust footer layout for wider screens */
@media (min-width: 768px) {
    .footer-copyright {
        width: auto; /* Reset width */
        text-align: right;
        margin-top: 0;
        border-top: none;
        padding-top: 0;
    }
}

.serve-content {
    /* Styles moved inline for specificity */
    max-width: 800px; /* Constrain width */
    margin: 0 auto; /* Center content block */
    text-align: center; /* Ensure block itself centers text */
}

.serve-content p {
    /* Adjusted from previous .about-content p */
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center; /* Explicitly center paragraph text */
    color: #333; /* Darker text (match default body) */
    margin-bottom: 1.5rem;
}

/* Make last paragraph in 'Where We Serve' black */
.serve-content p:last-of-type strong {
    color: #000; /* Black color for emphasis */
}

/* Add padding to right-aligned navbar items */
.navbar-end {
    padding-right: 2rem; /* Increased padding from right edge */
}

/* Space out items within the right-aligned navbar */
.navbar-end .navbar-item {
    margin-left: 1rem; /* Add space between items */
} 