/* ==========================================================================
   Classic Blinds Ashford - Modern Static Stylesheet
   Preserving original branding with responsive, mobile-friendly design
   ========================================================================== */

/* Google Fonts imported for Bebas Neue (headings & nav) and Open Sans (body) */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary-color: #345576;
  --primary-hover: #263e56;
  --accent-color: #3d5d7c;
  --text-color: #555555;
  --text-dark: #333333;
  --heading-color: #345576;
  --bg-page: #E6ECF2;
  --bg-card: #f8f8f8;
  --border-light: #dedede;
  --font-heading: 'Bebas Neue', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Tahoma, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#wrapper-top {
  width: 100%;
  background: #2a4563 url('../images/header.jpg') top left repeat-x;
  border-bottom: 3px solid #233b54;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  min-height: 110px;
}

#sitename {
  display: flex;
  align-items: center;
}

#sitename a {
  display: block;
  line-height: 0;
}

#sitename img {
  max-width: 202px;
  height: auto;
  display: block;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  outline: none;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Navigation Bar */
#navigation {
  display: flex;
  align-items: center;
}

#navigation ul.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

#navigation ul.nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#navigation ul.nav li a {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
}

#navigation ul.nav li a:hover {
  background: rgba(255, 255, 255, 0.18) url('../images/navi.png') center repeat-x;
  color: #ffffff;
}

#navigation ul.nav li.active a {
  background: #ffffff url('../images/navi.png') center repeat-x;
  color: var(--primary-color);
  font-weight: 700;
}

/* ==========================================================================
   Hero Slideshow
   ========================================================================== */
#slide-section {
  margin-top: 15px;
}

#slideshow-w {
  background: #ffffff;
  border: 2px solid #e5e4e4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 744 / 273;
  min-height: 200px;
  max-height: 340px;
  overflow: hidden;
  background: #2a3d52;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide-img.active {
  opacity: 1;
}

#caption-image {
  padding: 10px 18px;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
}

#caption-image h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  font-weight: normal;
  text-transform: uppercase;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
#wrapper {
  background: #ffffff url('../images/wrapper-box.jpg') top repeat-x;
  border: 1px solid #dedede;
  border-radius: 4px;
  margin-top: 15px;
  margin-bottom: 25px;
  padding: 25px 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  letter-spacing: 0.5px;
  margin-top: 0;
  font-weight: normal;
}

h1 {
  font-size: 32px;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-bottom: 2px solid #eef2f6;
  padding-bottom: 8px;
}

h2 {
  font-size: 26px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h3 {
  font-size: 22px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

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

p {
  margin-top: 0;
  margin-bottom: 14px;
}

ul.bullet-list {
  margin: 15px 0 20px 0;
  padding-left: 20px;
}

ul.bullet-list li {
  margin-bottom: 8px;
  list-style-type: square;
  color: #444;
}

/* Callout Box */
.cta-box {
  background: #f1f5f9;
  border-left: 4px solid var(--primary-color);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.cta-box p:last-child {
  margin-bottom: 0;
}

.phone-link {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
  white-space: nowrap;
}

/* ==========================================================================
   Styles Available Page (Grid / Cards Layout)
   ========================================================================== */
.styles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.style-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e5e8ec;
  border-radius: 6px;
  padding: 18px 20px;
  gap: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.style-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.style-details {
  flex: 1;
}

.style-details h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 8px;
  border-bottom: 1px dotted var(--primary-color);
  padding-bottom: 4px;
}

.style-details ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.style-details ul li {
  list-style-type: square;
  margin-bottom: 6px;
  font-size: 13.5px;
}

.style-thumb {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  background: #fdfdfd;
}

.style-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-info {
  background: #f8fafc;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  max-width: 480px;
}

.contact-info-item {
  margin-bottom: 16px;
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--primary-color);
  margin: 0 0 4px 0;
  text-transform: uppercase;
}


/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
  text-align: center;
  padding: 15px 0 25px 0;
  font-size: 12px;
  color: #718096;
}

#footer a {
  color: var(--primary-color);
  font-weight: normal;
}

#footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Design / Media Queries
   ========================================================================== */
@media (max-width: 768px) {
  .header-inner {
    padding: 12px 0;
    min-height: auto;
  }

  .mobile-nav-toggle {
    display: block;
  }

  #navigation {
    width: 100%;
    display: none;
    margin-top: 10px;
  }

  #navigation.show {
    display: block;
  }

  #navigation ul.nav {
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  #navigation ul.nav li a {
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 3px;
  }

  #wrapper {
    padding: 20px 16px;
  }

  .style-item {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .style-thumb {
    width: 100%;
    height: 180px;
  }
}

