/* Global Styles */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: bold;
    margin-top: 0;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px;
    font-size: 0.9em;
}

.cta-button:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.cta-button.secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header */
header {
    background-color: #111; /* Dark background like example */
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header nav {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

header .logo {
    margin-right: 25px; /* Keep space between logo and nav links */
    line-height: 0; /* Helps remove extra space below image sometimes */
}

/* Style for the logo image itself */
.logo-image {
    height: 85px; /* Increased size further */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Align nicely with nav links */
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-grow: 1; /* Allow ul to expand */
    justify-content: center; /* Center the li items */
    gap: 60px; /* Increased space between Home, Services, About */
}

header ul li {
    /* margin-left: 25px; <-- Remove this */
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

header ul li a:hover {
    color: #007bff;
    text-decoration: none;
}

header .cta-button {
     background-color: #007bff;
     color: #fff;
     padding: 10px 20px;
}

header .cta-button:hover {
    background-color: #0056b3;
}

/* New styles for the right-aligned group */
.header-right-items {
    display: flex;
    align-items: center;
    gap: 25px; /* Space between Contact Us and Get Quote */
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #007bff;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background-color: #1a1a1a; /* Dark background */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Rolls Header.png'); /* Corrected background image path */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: left;
    padding: 150px 20px 100px 20px;
    display: flex;
    align-items: center;
    min-height: 70vh; /* Adjust as needed */
}

.hero-content {
    max-width: 700px;
    margin-left: 5%; /* Adjust positioning */
}

.hero h1 {
    font-size: 3.5em; /* Large text */
    margin-bottom: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.hero-buttons .cta-button {
    font-size: 1em;
    padding: 15px 30px;
}


/* Services Section */
.services {
    background-color: #f8f9fa; /* Light gray background */
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.services > p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.service-cards, .testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    flex: 1; /* Try to make cards equal width */
    min-width: 250px; /* Minimum width before wrapping */
    max-width: 300px; /* Maximum width */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
    max-width: 100%;
    height: 180px; /* Fixed height for service images */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.card .cta-button {
    margin-top: auto; /* Aligns button to the bottom */
}


/* Testimonials Section */
.testimonials {
    background-color: #fff;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.testimonials > p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.testimonials .card {
    text-align: left;
    max-width: 320px;
}

.testimonials .client-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonials .initials {
    display: inline-block;
    background-color: #e0e0e0;
    color: #555;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 15px;
}

.testimonials .client-info div {
    display: flex;
    flex-direction: column;
}

.testimonials .client-info strong {
    font-size: 1.1em;
}

.testimonials .stars {
    color: #ffc107; /* Yellow stars */
    font-size: 1.1em;
}

.testimonials .card p {
    font-style: italic;
    color: #444;
    line-height: 1.5;
}

/* Bottom CTA Section */
.cta-section {
    background-color: #111; /* Dark background */
    color: #fff;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.4;
}

.cta-section .cta-button {
     font-size: 1.1em;
     padding: 15px 35px;
}

/* Footer */
footer {
    background-color: #111; /* Dark background */
    color: #ccc;
    padding: 50px 20px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: left;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px; /* Ensure they don't get too narrow */
}

footer h3 {
    color: #fff;
    font-size: 1.3em;
    margin-bottom: 15px;
}

footer p,
footer ul li a {
    color: #aaa;
    font-size: 0.95em;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    /* filter: invert(70%) sepia(0%) saturate(1%) hue-rotate(151deg) brightness(96%) contrast(94%); <-- Remove filter for contact icons if using Font Awesome here too eventually */
    /* Consider using Font Awesome for these too for consistency */
}

.social-icons a {
    margin-right: 10px;
    display: inline-block;
    color: #aaa; /* Set base color for the icon link */
    text-decoration: none;
}

.social-icons a i {
    font-size: 24px; /* Control icon size with font-size */
    /* width: 24px; <-- Removed */
    /* height: 24px; <-- Removed */
    /* filter: invert(70%) sepia(0%) saturate(1%) hue-rotate(151deg) brightness(96%) contrast(94%); <-- Removed */
    transition: color 0.3s ease; /* Transition color on hover */
    vertical-align: middle;
}

.social-icons a:hover {
     color: #fff; /* Change icon color on hover */
}
/* Remove the old img hover style */
/* .social-icons a:hover img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
} */

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9em;
    color: #888;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8em; }
    .hero h2 { font-size: 1.6em; }
    .hero-content { margin-left: 0; max-width: 90%; }
    .service-cards, .testimonial-cards { flex-direction: column; align-items: center; }
    .card { max-width: 450px; width: 90%; }
}

@media (max-width: 768px) {
    header nav { flex-direction: column; align-items: flex-start; }
    header ul { margin-top: 15px; flex-direction: column; align-items: flex-start; }
    header ul li { margin-left: 0; margin-bottom: 10px; }
    header .cta-button { margin-top: 15px; align-self: flex-start; }

    .hero { text-align: center; padding: 100px 20px 60px 20px; }
    .hero-content { margin: 0 auto; }
    .hero h1 { font-size: 2.2em; }
    .hero h2 { font-size: 1.4em; }
    .hero-buttons { display: flex; flex-direction: column; align-items: center; }
    .hero-buttons .cta-button { width: 80%; margin-bottom: 10px; }

    section { padding: 40px 15px; }
    .services h2, .testimonials h2, .cta-section h2, footer h3 { font-size: 2em; }

    .footer-container { flex-direction: column; align-items: center; text-align: center; }
    .footer-about, .footer-links, .footer-contact { width: 90%; max-width: 400px; text-align: center; }
    .footer-contact p { justify-content: center; }
    .social-icons { margin-top: 10px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    header .logo { font-size: 1.3em; }
    .hero h1 { font-size: 1.8em; }
    .hero h2 { font-size: 1.2em; }
    .cta-button, .hero-buttons .cta-button, .cta-section .cta-button { font-size: 0.8em; padding: 10px 20px; }
    .card { padding: 20px; }
    .card h3 { font-size: 1.2em; }
    .testimonials .initials { width: 40px; height: 40px; line-height: 40px; font-size: 1em; }
} 