/* ===================
   Global Styles
==================== */

/* Body - Default font settings */
body {
    font-family: 'Open Sans', Arial, sans-serif;  /* Set body font */
    font-size: 16px; /* Default font size for readability */
    line-height: 1.6; /* Line height for improved readability */
    color: #2A3A3D; /* Charcoal grey for text */
    background-color: #F5F5F5; /* Light grey background */
    margin: 0;
    padding: 0;
}

/* ===================
   Links & Interactive Elements
==================== */

/* Links */
a {
    color: #1A4D60; /* Deep Teal for links */
    text-decoration: none; /* No underline by default */
}

a:hover, a:focus {
    color: #FF6F3A; /* Sunset Orange on hover */
    text-decoration: underline; /* Underline on hover for clarity */
}

/* ===================
   Header Styles
==================== */

/* Header - Main and Section Titles */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;  /* Montserrat for headers */
    font-weight: bold;
    color: #2A3A3D; /* Dark slate blue/grey */
    margin-bottom: 1rem;
}

h1 {
    font-size: 36px;  /* Heading 1 font size */
    line-height: 1.2;
}

h2 {
    font-size: 30px;  /* Heading 2 font size */
}

h3 {
    font-size: 24px;  /* Heading 3 font size */
}

/* ===================
   Button Styles (Primary and Secondary)
==================== */

/* Primary Button */
button, .cta-primary, .cta-primary:hover {
    background-color: #1A4D60; /* Deep Teal */
    color: #FFFFFF; /* White text for contrast */
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Hover effect for primary button */
button:hover, .cta-primary:hover {
    background-color: #123C46; /* Slightly darker Deep Teal */
}

/* Secondary Button */
button.secondary, .cta-secondary, .cta-secondary:hover {
    background-color: #FF6F3A; /* Sunset Orange */
    color: #FFFFFF; /* White text for contrast */
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Hover effect for secondary button */
button.secondary:hover, .cta-secondary:hover {
    background-color: #E85C29; /* Darker Sunset Orange */
}

/* ===================
   Footer Styles
==================== */

/* Footer Background */
footer {
    background-color: #2A3A3D; /* Charcoal grey footer */
    color: #FFFFFF; /* White text for footer */
    padding: 20px;
    text-align: center;
}

/* Footer Links */
footer a {
    color: #FFFFFF; /* White links in the footer */
    text-decoration: none;
}

footer a:hover {
    color: #FF6F3A; /* Sunset Orange on hover */
}

/* ===================
   Form Styles
==================== */

/* Input fields */
input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 1rem;
    background-color: #FFFFFF; /* White background for form fields */
    color: #333333; /* Dark grey text */
}

/* Focus state for input fields */
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #1A4D60; /* Deep Teal on focus */
    outline: none;
}

/* Submit button in forms */
input[type="submit"] {
    background-color: #1A4D60; /* Deep Teal for submit button */
    color: #FFFFFF; /* White text */
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Hover effect for submit button */
input[type="submit"]:hover {
    background-color: #123C46; /* Darker Deep Teal on hover */
}

/* ===================
   Section Backgrounds
==================== */

/* Section background for content areas */
section {
    padding: 40px 0;
    background-color: #FFFFFF; /* Pure White background */
}

/* ===================
   Miscellaneous Styles
==================== */

/* Global container for text/content alignment */
.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

/* ===================
   Custom Styling for Hover States and Accents
==================== */

/* Hover effect for main section titles (e.g., service names or headings) */
h2:hover {
    color: #FF6F3A; /* Sunset Orange on hover */
}

/* Border and hover effect for links or images in sections */
section a:hover, section img:hover {
    border-color: #FF9B8B; /* Muted Coral accent on hover */
}

/* ===================
   Mobile Responsive Styles
==================== */

/* Mobile Styling - Adjusting padding and font sizes for smaller screens */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    .cta-primary, .cta-secondary {
        font-size: 16px;
        padding: 12px 20px;
    }

    .container {
        width: 95%;
    }
}
