/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

/* Body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

body > *:not(footer) {
    flex: 1;
}


/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
header {
    background-color: #004080;
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 100px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.site-title {
    font-size: 45px;
    font-weight: bold;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFD700;
}

/* Hero Section Styling */
.hero {
    position: relative;
    width: 100%;
    height: 700px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 2.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.hero button {
    background-color: #FFD700;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}

.hero button:hover {
    background-color: #e6c200;
}

button:focus, .btn-spl:focus {
    outline: 2px solid #FFD700;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* About Us Section */
.about {
    background-color: white;
    padding: 60px 20px;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: auto;
}

/* Products Section */
.products {
    margin-bottom: 30px;
    padding: 60px 20px;
    text-align: center;
}

.products h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 250px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background-color: #ddd;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.btn-spl {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-spl:hover {
    background-color: #00264d;
}

.product img {
    width: 400px;
    height: auto;
    display: block;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.colors-container {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.color {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    min-width: 80px;
    border-radius: 5px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    background-color: #eee;
    font-family: Arial, sans-serif;
}

/* Services Section */
.services {
    background-color: #f0f8ff;
    padding: 60px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services ul {
    list-style: none;
    font-size: 1.2rem;
}

.services ul li {
    margin: 10px 0;
}

/* Contact Section */
.contact {
    background-color: #f5f5f5;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #004080;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.hero-text h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #555;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
}

.hero-map {
    flex: 1;
    min-width: 300px;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.hero-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-map {
        min-height: 250px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Allow scrolling on the full screen */
    padding: 40px 20px; /* Space around modal content */
    box-sizing: border-box;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 80%;
    max-height: 80vh; /* Limit height to viewport */
    overflow-y: auto; /* Add scroll inside modal content */
    margin: auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.modal-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.modal-card {
    padding: 15px;
    border-radius: 8px;
    width: 800px;
    text-align: center;
    box-shadow: 1px 1px 8px rgba(0,0,0,0.2);
    background: #fff;
}

.modal-card img {
    width: 100%;
    max-width: 700px;
    height: 300px;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

.color-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}
