@charset "UTF-8";
/* ===========================================================
   CLOCK REPAIRS – Standalone Unified Theme
   Design: BuzzTech x The Clock Shop
   A blend of modern structure + vintage horology elegance
   =========================================================== */

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

body {
  font-family: "Cormorant Garamond", "Georgia", serif;
  color: #2b1f15;
  background: #f9f7f3 url("../images/clockpaper-texture.jpg") repeat;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  color: #2b1f15;
  font-weight: 600;
  letter-spacing: 0.5px;
}

p, li, a, span {
  font-family: "Jost", sans-serif;
}

/* ------------------------
   Header / Navbar
------------------------- */
header {
  background: #2e2b29;
  border-bottom: 3px solid #b89b5e;
  text-align: center;
  padding: 1.2rem 0;
  color: #f3e9d2;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e7d4a8;
}

/* ------------------------
   Hero Section
------------------------- */
.hero {
  background: url("../images/clockgears-hero.jpg") no-repeat center center / cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 20, 15, 0.6);
  z-index: 0;
}

.hero h1 {
  position: relative;
  z-index: 1;
  color: #f6e9ca;
  background: rgba(43, 32, 20, 0.6);
  padding: 1rem 1.5rem;
  border: 1px solid rgba(214, 190, 126, 0.4);
  border-radius: 8px;
  font-size: 3rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

/* ------------------------
   Main Page Container
------------------------- */
.page {
  width: 92%;
  max-width: 1100px;
  margin: 2.5rem auto;
  background: #fffdf8;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e1cf;
}

/* ------------------------
   Typography & Content
------------------------- */
h2 {
  font-size: 1.8rem;
  color: #3a2c1c;
  border-bottom: 2px solid #b89b5e;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #DD8B12;
}

a {
  color: #b38428;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #e0b45c;
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin: 1rem 0 1.5rem 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ------------------------
   Navigation
------------------------- */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
}

nav a {
  background: #2e2b29;
  color: #f6e9ca;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  border: 1px solid #b89b5e;
  transition: all 0.3s;
  font-weight: 500;
  letter-spacing: 0.4px;
}

nav a:hover, nav a.active {
  background: #b89b5e;
  color: #1c140b;
  box-shadow: 0 0 10px rgba(184, 155, 94, 0.5);
}

/* ------------------------
   Footer
------------------------- */
footer {
  text-align: center;
  color: #675d49;
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.95rem;
  border-top: 1px solid #d2c3a8;
}

/* ------------------------
   Accent Elements
------------------------- */
blockquote {
  background: #f3e9d2;
  border-left: 4px solid #b89b5e;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: #3d2b1f;
  border-radius: 5px;
}

/* Image Styling */
img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

/* ------------------------
   Responsive
------------------------- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    padding: 0.8rem 1rem;
  }

  .page {
    padding: 1.5rem;
  }

  nav a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}
