/* ==========================================
   UK TOUCH LAUNDRY - STYLESHEET (style.css)
   ========================================== */

/* --- CSS Variables & Reset --- */
:root {
  --primary-blue: #0284c7;
  --light-blue: #e0f2fe;
  --accent-blue: #38bdf8;
  --dark-text: #1e293b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Hero Section (Video Container) --- */
.hero-container {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.4) 0%, rgba(224, 242, 254, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* --- Owner Profile Section --- */
.owner-section {
  padding: 60px 20px 40px;
  text-align: center;
  background-color: var(--white);
}

.owner-card {
  display: inline-block;
  /* Floating Up and Down Animation */
  animation: floatAnimation 3.5s ease-in-out infinite;
}

.owner-image-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 15px;
  border-radius: 50%;
  border: 5px solid var(--accent-blue);
  box-shadow: var(--shadow);
  overflow: hidden;
  background-color: var(--light-blue);
}

.owner-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.owner-title {
  font-size: 0.9rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Owner Image Animation Keyframes */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* --- Services Section (Populated via JS) --- */
.services-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: var(--accent-blue);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--light-blue);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-info {
  padding: 20px;
  text-align: center;
}

.service-info h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-info p {
  color: #475569;
  font-size: 0.95rem;
}

/* --- Brand Summary (About Section) --- */
.about-section {
  background-color: var(--light-blue);
  padding: 60px 20px;
  text-align: center;
}

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

.about-container p {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--white);
  padding: 25px 15px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-blue);
}

.contact-card h4 {
  color: var(--primary-blue);
  margin-bottom: 8px;
}

/* --- Shiny / Interactive Buttons --- */
.btn {
  position: relative;
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--primary-blue);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  transition: var(--transition);
}

.btn-whatsapp {
  background-color: #25d366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Metallic Shine Sweep Effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.75s ease;
}

.btn:hover::before,
.btn:active::before {
  left: 125%;
}

.btn:active {
  transform: scale(0.96);
}

/* --- Footer --- */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer strong {
  color: var(--accent-blue);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
}