h1 {
  text-align: center;
}

/* index.css */

html {
  scroll-behavior: smooth;
}

/* index.css */

/* Target all elements that can be scrolled to via an ID */
[id] {
  scroll-margin-top: 100px; /* Adjust this value based on your header's height */
}

/* --- CSS Variables: New Red & Blue Color Palette --- */
:root {
    --bg-color: #F8F9FA;          /* Clean Off-White Background */
    --card-bg-color: #FFFFFF;     /* White for the cards */
    --primary-blue: #2A4D8C;       /* Main Professional Blue */
    --accent-red: #C93737;        /* Strong Red for Buttons/Hovers */
    --dark-text: #212529;         /* Dark text color */
    --footer-bg: #C93737;         /* Dark background for footer */
    --font-main: 'Roboto', sans-serif;
}

/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--dark-text);
    line-height: 1.6;
}

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

/* --- Header & Navigation --- */
header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header nav a {
    color: var(--primary-blue);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--accent-red);
}

/* --- General Section & Heading Styles --- */
section {
    margin-bottom: 50px;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
    padding-bottom: 5px;
}

.intro, .services, .contact-section {
    text-align: center;
}

/* --- Location Info & Button --- */
.location-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    gap: 15px;
}

.address p {
    margin: 0;
    color: #555;
}

.btn {
    background-color: var(--card-bg-color);
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-red);
    color: var(--card-bg-color);
}

/* --- Intro Section --- */
.intro p {
    max-width: 700px;
    margin: 0 auto 15px auto;
}

.shop-now-link {
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-now-link:hover {
    color: var(--accent-red);
}

/* --- Service Cards --- */
.service-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    text-align: left;
}

.card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
}

/* --- Contact Form --- */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    text-align: left;
}

#contact-form div {
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: var(--accent-red);
    color: var(--card-bg-color);
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #a12c2c; /* A darker red */
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    background-color: var(--footer-bg);
    color: #000000;
}

/* --- Map Page Styles --- */
.map-section {
    text-align: center;
}

.address-details {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* --- Form Status Message Styles --- */
#form-status {
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

#form-status.success {
    color: #28a745; /* Green */
}

#form-status.error {
    color: #dc3545; /* Red */
}
