/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: #fafafa; }
a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ---------- Typography ---------- */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
p { margin: 0 0 1rem 0; }

/* ---------- Header & Navigation ---------- */
header { background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.1); position: sticky; top: 0; z-index: 1000; }
header .logo { display: flex; align-items: center; }
header .logo img { height: 80px; margin-right: 1rem; }
header .logo span { font-weight: 600; color: #0072c3; }
nav ul { list-style: none; display: flex; gap: 1.5rem; }
nav li a { padding: .75rem 0; position: relative; }
nav li a::after { content: ''; height: 2px; background: #0072c3; width: 0; position: absolute; bottom: 0; left: 0; transition: width .3s; }
nav li a:hover::after, nav li a:focus::after { width: 100%; }
#menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: url('../images/hero.jpg') center/cover no-repeat; color: #fff; height: 80vh; display: flex; align-items: center; text-align: center; }
.hero-content { background: rgba(0,0,0,.5); padding: 2rem; margin: 0 auto; border-radius: 8px; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; }
.cta-btn { display: inline-block; background: #0072c3; color: #fff; padding: .75rem 1.5rem; border-radius: 25px; margin-top: 1rem; transition: background .3s; }
.cta-btn:hover, .cta-btn:focus { background: #005c99; }

/* ---------- About ---------- */
.about { padding: 4rem 0; }
.about .values { display: flex; gap: 2rem; margin-top: 2rem; }
.about .values div { flex: 1; text-align: center; padding: 1rem; background: #f0f8ff; border-radius: 8px; }
.about .values i { color: #0072c3; margin-bottom: .5rem; }

/* ---------- Products ---------- */
.products { background: #fff; padding: 4rem 0; }
.product-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.product-card { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.product-card img { width: 100%; height: 180px; object-fit: cover; }
.product-card h3 { margin: .5rem 0; padding: 0 1rem; }
.product-card p { padding: 0 1rem 1rem 1rem; margin: 0; }
.product-card:hover, .product-card:focus-within { transform: translateY(-5px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }

/* ---------- Contact ---------- */
.contact { padding: 4rem 0; }
form .form-group { margin-bottom: 1.5rem; }
form label { display: block; margin-bottom: .5rem; }
form input, form textarea { width: 100%; padding: .75rem; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
form button { display: inline-block; background: #0072c3; color: #fff; padding: .75rem 1.5rem; border-radius: 25px; border: none; cursor: pointer; transition: background .3s; }
form button:hover, form button:focus { background: #005c99; }
.social-links { margin-top: 2rem; display: flex; gap: 1rem; }
.social-links a { font-size: 1.5rem; color: #0072c3; transition: color .3s; }
.social-links a:hover, .social-links a:focus { color: #005c99; }

/* ---------- Footer ---------- */
footer { background: #333; color: #fff; text-align: center; padding: 1rem 0; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  nav ul { flex-direction: column; background: #fff; position: absolute; top: 100%; right: 0; width: 200px; display: none; box-shadow: 0 4px 8px rgba(0,0,0,.1); }
  nav ul.show { display: block; }
  #menu-toggle { display: block; color: #333; }
  .about .values { flex-direction: column; }
  .hero h1 { font-size: 2.5rem; }
}