/* GENERAL STYLING */

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

body {
font-family: 'Times New Roman', sans-serif;
background-color: #f5f7fa;
color: #333;
line-height: 1.7;
}

/* HEADER */
header {
background-color: #087e8b;
color: white;
text-align: center;
padding: 30px 15px;
}

header h1 {
font-size: 30px;
margin-bottom: 8px;
}

header h2 {
font-size: 24px;
margin-bottom: 10px;
}

header p {
font-size: 15px;
}

/* NAVIGATION */
nav {
background-color: #05616b;
padding: 22px 10px;
text-align: center;
}

nav a {
color: #05616b ;
text-decoration: none;
margin: 10px;
font-weight: bold;
display: inline-block;
}

nav a:hover {
color: #b2f0ed;
}

/* HOME SECTION */
.hero {
background-color: #dff6f5;
text-align: center;
padding: 75px 20px;
}

.hero h2 {
font-size: 30px;
margin-bottom: 12px;
color: #05616b;
}

.hero p {
font-size: 17px;
margin-bottom: 15px;
}

.hero a {
display: inline-block;
background-color: #087e8b;
color: white;
padding: 13px 25px;
text-decoration: none;
border-radius: 6px;
margin-top: 15px;
}

.hero a:hover {
background-color: #05616b;
}

/* PRODUCTS SECTION */
.products {
padding: 55px 20px;
text-align: center;
}

.products h2 {
font-size: 28px;
margin-bottom: 35px;
color: #05616b;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product {
background-color: white;
padding: 15px;
border-radius: 12px;
box-shadow: 0 3px 12px rgba(0,0,0,0.1);
transition: transform 0.3s;
}

.product:hover {
transform: translateY(-5px);
}

.product img {
width: 100%;
height: 190px;
object-fit: cover;
border-radius: 8px;
}

.product h3 {
font-size: 18px;
margin-top: 10px;
}

.product p {
color: #087e8b;
font-weight: bold;
margin-top: 8px;
}

/* ABOUT SECTION */
.about {
background-color: #e4f4f4;
text-align: center;
padding: 55px 20px;
}

.about h2 {
color: #05616b;
font-size: 27px;
margin-bottom: 20px;
}

.about p {
font-size: 16px;
margin-bottom: 12px;
}

/* CONTACT SECTION */
.contact {
text-align: center;
padding: 55px 20px;
}

.contact h2 {
color: #05616b;
font-size: 28px;
margin-bottom: 15px;
}

.contact p {
margin-bottom: 10px;
}

.contact a {
display: inline-block;
background-color: #087e8b;
color: white;
padding: 13px 25px;
text-decoration: none;
border-radius: 6px;
margin-top: 15px;
}

.contact a:hover {
background-color: #05616b;
}

/* FOOTER */
footer {
background-color: #05616b;
color: white;
text-align: center;
padding: 25px;
}
/* MOBILE RESPONSIVE DESIGN */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* MOBILE */
@media (max-width: 600px) {

    header h1 {
        font-size: 24px;
    }

    header h2 {
        font-size: 20px;
    }

    nav a {
        font-size: 13px;
        margin: 5px;
    }

    .hero {
        padding: 50px 15px;
    }

    .hero h2 {
        font-size: 23px;
    }

    .hero p {
        font-size: 14px;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product {
        padding: 10px;
    }

    .product h3 {
        font-size: 15px;
    }
}

/* TABLET */
@media (min-width: 601px) {

    .product-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* COMPUTER */
@media (min-width: 1024px) {

    .product-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* PRODUCTS PAGE */

.products {
    background-color: #05616b;
    padding: 40px 15px;
    text-align: center;
    min-height: 100vh;
}

.products h2 {
    color: white;
    font-size: clamp(20px, 3vw, 32px);
    margin-bottom: 40px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.product {
    width: 100%;
    background-color: transparent;
    color: white;
    padding: 0;
    border-radius: 25px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0;
    box-shadow: none;
}

.product img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 25px;
}

.product h3 {
    padding: 10px;
}

/* TABLET PRODUCTS */
@media (min-width: 601px) {
    .products .product-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* COMPUTER PRODUCTS */
@media (min-width: 1024px) {
    .products .product-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
