/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --primary-white: #FFFFFF;
  --primary-navy: #0A1F44;
  --accent-grey: #F5F5F5;
  --highlight-gold: #C9A84C;
  --text-dark: #333333;
  --text-light: #777777;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', 'DM Sans', sans-serif;
  
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--primary-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary-navy);
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-bg-grey {
  background-color: var(--accent-grey);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--highlight-gold);
  margin: 15px auto 0;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-navy);
  color: var(--primary-white);
}

.btn-primary:hover {
  background-color: var(--highlight-gold);
  color: var(--primary-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-outline:hover {
  background-color: var(--primary-navy);
  color: var(--primary-white);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInAnimation 0.8s forwards;
}

@keyframes fadeInAnimation {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--primary-white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--highlight-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover {
  color: var(--highlight-gold);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-white);
  box-shadow: var(--box-shadow);
  min-width: 180px;
  padding: 10px 0;
  border-radius: 4px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu a {
  display: block;
}

.nav-btn {
  margin-left: 15px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-navy);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 31, 68, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content h1 {
  color: var(--primary-white);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  color: var(--accent-grey);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* ==========================================================================
   Product Categories
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.category-card {
  background-color: var(--primary-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.category-img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.category-content {
  padding: 30px;
  text-align: center;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--highlight-gold);
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.25rem;
}

/* ==========================================================================
   Product Pages (Bath Linen / Bed Linen)
   ========================================================================== */
.page-header {
  background-color: var(--primary-navy);
  color: var(--primary-white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--primary-white);
  margin-bottom: 10px;
}

.breadcrumb {
  color: var(--highlight-gold);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--accent-grey);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--primary-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
  border: 1px solid #eaeaea;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.product-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.product-info p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  background-color: var(--primary-white);
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  border-bottom: 3px solid var(--highlight-gold);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--primary-navy);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--highlight-gold);
  border: 3px solid var(--primary-white);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background-color: var(--primary-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--highlight-gold);
  margin-top: 5px;
}

.contact-form {
  background-color: var(--primary-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-navy);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-navy);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 100;
  transition: transform var(--transition-speed);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-navy);
  color: var(--accent-grey);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: var(--primary-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: inline-block;
}

.footer h4 {
  color: var(--primary-white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--accent-grey);
}

.footer-links a:hover {
  color: var(--highlight-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
  .categories-grid, .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    align-items: flex-start;
  }
  .nav-links.active {
    display: flex;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  .nav-btn {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .categories-grid, .products-grid, .features-grid, .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
