/*
  Fonts: Google Fonts
  - Josefin Sans (Thin) for headlines
  - Cormorant Garamond (Light) for body text
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #002FA7;
  --background-warm: #fdf0bc;
  --background-white: #ffffff;
  --text: #002FA7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--primary);
  background: var(--background-white);
}

/* Headlines - Josefin Sans Thin styling */
h1, h2, h3, .nav-logo, .navbar nav a, .btn {
  font-family: 'Josefin Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: -2px;
  transform: scaleX(1.1);
  display: inline-block;
}

h1 {
  transform-origin: left center;
  display: block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 91%;
}

h1 .brand-name {
  font-weight: 300;
}
h2, h3 { transform-origin: center center; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Navbar - Hidden by default, appears after scrolling */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background-warm);
  z-index: 1000;
  padding: 15px 0;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.navbar.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.nav-logo {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0px;
  transform-origin: left center;
}

.navbar nav {
  display: flex;
  gap: 40px;
}

.navbar nav a {
  text-decoration: none;
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0px;
  transition: opacity 0.3s ease;
}

.navbar nav a:hover {
  opacity: 0.6;
}

/* Logo Section - Fixed for parallax effect */
.logo-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-warm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

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

.main-logo {
  width: 70vw;
  max-width: 800px;
  max-height: 70vh;
  object-fit: contain;
}

/* Spacer to push content below fixed logo */
.logo-spacer {
  height: 100vh;
}

/* Hero Section - Scrolls over logo */
.hero {
  min-height: 75vh;
  background: var(--background-white);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 100%;
  padding: 80px 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 40px;
  max-width: 900px;
}

.hero-body {
  font-size: 1.25rem;
  max-width: 600px;
  line-height: 1.9;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--background-warm);
  position: relative;
  z-index: 2;
}

.services h2 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 80px;
  transform-origin: left center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}

.service-card {
  text-align: left;
  padding-right: 40px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: -2px;
  transform-origin: left center;
}

.service-card p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Clients Section */
.clients {
  padding: 80px 0;
  background: var(--background-warm);
  text-align: left;
  position: relative;
  z-index: 2;
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 1px;
  background: var(--primary);
}

.clients h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  transform-origin: left center;
}

.clients-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.client-category h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0px;
  transform-origin: left center;
}

.client-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-category li {
  font-size: 1.1rem;
  line-height: 1.8;
}

.client-category a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.client-category a:hover {
  opacity: 0.6;
}

/* Footer / Contact */
.footer {
  background: #002FA7;
  color: var(--background-warm);
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
}

.footer h3 {
  color: var(--background-warm);
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0px;
  transform-origin: left center;
}

.footer p {
  line-height: 1.8;
}

.footer a {
  color: var(--background-warm);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.7;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
  margin-bottom: 80px;
}

.footer-info,
.newsletter {
  text-align: left;
  padding-right: 40px;
}

.footer-info p {
  margin-bottom: 10px;
}

.footer-flower {
  width: 100px;
  height: auto;
  margin-top: 20px;
}

.contact-info {
  margin-top: 20px;
}

.newsletter p {
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid var(--background-warm);
  background: transparent;
  color: var(--background-warm);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: var(--background-warm);
  opacity: 0.6;
}

.btn {
  background: var(--background-warm);
  color: var(--primary);
  padding: 15px 30px;
  border: none;
  font-size: 0.85rem;
  letter-spacing: 3px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(253, 240, 188, 0.2);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }

}

@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }

  .navbar .container {
    flex-direction: column;
    gap: 20px;
  }

  .navbar nav {
    gap: 25px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-body {
    font-size: 1.1rem;
  }

  .services,
  .clients {
    padding: 100px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .clients-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

