/*
  Custom styles for the Reel ’Em In Success website
  --------------------------------------------------
  This stylesheet defines the colour palette, typography
  and responsive layout for the site. Colours are drawn
  from the provided logo: deep navy, gold and light blue.
*/

/* CSS variables for colours and fonts */
:root {
  --color-primary: #042a47; /* deep navy background */
  --color-secondary: #d4aa46; /* gold accent */
  --color-accent: #5fa7c8; /* light blue accent */
  --color-light: #f5f7fa; /* light background */
  --color-dark: #031f34; /* darker navy */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition-fast: 0.3s ease-in-out;
}

/* Global reset and typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-light);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding-left: 0;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

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

.primary-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.secondary-btn {
  background: var(--color-accent);
  color: #fff;
}

.secondary-btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Navigation */
.navbar {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.navbar .logo img {
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links li a:hover {
  color: var(--color-secondary);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero section */
.hero {
  background: linear-gradient(
    180deg,
    var(--color-primary) 0%,
    var(--color-dark) 100%
  );
  color: #fff;
  padding: 6rem 0 8rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-secondary);
}

.hero p {
  max-width: 600px;
  margin: 1rem auto 2rem;
  color: #e8f0f5;
  font-size: 1.125rem;
}

.hero .btn {
  margin-top: 0.5rem;
}

/* Section styles */
.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  position: relative;
}

.section h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  display: block;
  margin: 0.75rem auto 0;
  border-radius: 3px;
}

.tagline {
  font-style: italic;
  color: var(--color-accent);
  margin-top: 1rem;
}

/* Differentiators cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card .icon {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.service-category h3 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.service-category ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-category ul li i {
  color: var(--color-secondary);
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.package-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.package-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.package-card .price {
  font-size: 1.5rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-card .price .note {
  display: block;
  font-size: 0.8rem;
  color: #777;
  font-weight: 400;
}

.package-card .description {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #555;
}

.package-card ul li {
  margin-left: 1rem;
  padding-left: 0.5rem;
  position: relative;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.package-card ul li::before {
  content: '•';
  position: absolute;
  left: -0.75rem;
  color: var(--color-secondary);
}

.package-card .turnaround {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #777;
}

.addons {
  margin-top: 3rem;
}

.addons h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.addons ul li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Order form styles */
.order .intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1rem;
  color: #555;
}

.order-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-form .form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.order-form label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

.order-form select,
.order-form input[type='file'] {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.order-form .form-note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 3rem 0;
}

.footer h2 {
  color: var(--color-secondary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer .socials a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}

/* Social icons alignment */
.footer .socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1rem;
  font-size: 1.4rem;
}

.footer .socials a:hover {
  color: var(--color-secondary);
}

.footer .btn {
  margin-top: 1rem;
}

.copyright {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #ccc;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-fast);
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-toggle {
    display: flex;
  }

  .service-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }
}