@charset "UTF-8";
/* CSS Document */

/* ===== Global Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #efebdf;
  color: #1f1f1f;
  line-height: 1.6;
}

/* ===== Header ===== */
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  background: #f6f4ea;
  border-bottom: 2px solid #ccc;
}

#header h1 {
  font-family: 'Courier New', Courier, monospace;
  font-size: 40px;
}

#header nav ul {
  list-style: none;
  display: flex;
}

#header nav ul li {
  margin-left: 20px;
}

#header nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.2s ease;
}

#header nav a:hover {
  color: #666;
}

/* Hamburger for mobile */
#hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===== Hero Section ===== */
#hero {
  position: relative;
  text-align: center;
  background-color: #fff;
  padding-bottom: 20px;
}

#hero img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

#hero p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(16px, 4vw, 28px); /* fluid scaling */
  font-style: italic;
  max-width: 85%;
  padding: 16px;
  line-height: 1.4;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
}

/* ===== Shop Section ===== */
#shop {
  padding: 40px 20px;
  background-color: #efebdf;
}

#shop h2 {
  font-size: 32px;
  margin-bottom: 20px;
  border-bottom: 2px solid #000;
  display: inline-block;
}

#shop .camera-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.camera {
  text-align: center;
  flex: 1 1 250px;
}

.camera img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.camera p {
  font-size: 16px;
}

/* ===== Features Section ===== */
#features {
  padding: 40px 20px;
  background-color: #f6f4ea;
}

.gallery,
.inspiration {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.gallery img,
.inspiration img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.gallery .overlay,
.inspiration .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
}

.gallery h2,
.inspiration h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.gallery a,
.inspiration a {
  color: white;
  font-size: 16px;
  text-decoration: underline;
}

/* ===== Contact Section ===== */
#contact {
  padding: 40px 20px;
  background-color: #fff;
  border-top: 2px solid #ccc;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 10px;
}

.contact-form input[type="text"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.submit-button {
  margin-top: 20px;
  padding: 12px;
  background-color: #444;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #666;
}

.socials {
  margin-top: 30px;
  font-size: 16px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #f6f4ea;
  border-top: 2px solid #ccc;
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  #header h1 {
    font-size: 28px;
  }

  #hamburger {
    display: block;
  }

  #header nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  #header nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  #header nav ul li {
    margin: 10px 0;
  }

  #hero p {
    font-size: clamp(12px, 4vw, 20px); /* even smaller on tablets */
    padding: 12px;
  }

  .camera img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  #hero p {
    font-size: clamp(10px, 5vw, 16px); /* smallest on mobile */
    padding: 10px;
  }
}