/* ===== GLOBAL STYLES ===== */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --highlight-color: #f1c40f;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0 0 80px; /* Prevents footer overlap */
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

a, button {
  transition: all 0.2s ease;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.header-contact {
  background-color: var(--highlight-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.phone-link {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover,
.phone-link:focus {
  text-decoration: underline;
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ===== NAVIGATION ===== */
nav {
  background-color: var(--secondary-color);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 4px;
}

nav ul li a:hover,
nav ul li a:focus {
  background-color: var(--accent-color);
}

/* ===== MAIN CONTENT ===== */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* ===== HOME PAGE ===== */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-image {
  margin: 2rem auto;
  width: 100%;
  max-width: 600px;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.services {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.service-list {
  columns: 2;
  column-gap: 2rem;
  padding: 0;
}

.service-list li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
  list-style-position: inside;
}

/* ===== WAREHOUSE PAGE ===== */
.service-detail {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 2rem 0;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.cta-box {
  text-align: center;
  margin: 2rem 0;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.cta-button:hover,
.cta-button:focus {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* ===== CONTACT PAGE ===== */
.contact-options {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-method {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-left: 3px solid var(--accent-color);
}

.contact-method h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.small-text {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.3rem;
}

.email-link {
  color: var(--accent-color);
  font-weight: bold;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

address {
  font-style: normal;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .service-list {
    columns: 1;
  }
  
  body {
    padding-bottom: 100px; /* Extra space for footer */
  }
}

@media (max-width: 480px) {
  .header-content, 
  main {
    padding: 0 1rem;
  }
  
  .service-detail,
  .contact-options {
    padding: 1rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  nav, footer, .cta-box {
    display: none;
  }
  body {
    background: white;
    padding: 0;
    font-size: 12pt;
  }
  .contact-method {
    break-inside: avoid;
  }
}
