/* Premium Design System for Waipuilani Designs (Figma Land Style) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;700;800&display=swap');

:root {
  /* Elevated Color Palette */
  --primary: #23A6F0;
  /* Vibrant Action Blue */
  --text-main: #252B42;
  /* Dark Navy */
  --text-second: #737373;
  /* Grey */
  --light-text: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-gray: #FAFAFA;

  --glass-nav: rgba(255, 255, 255, 0.95);
  --shadow-card: 0px 13px 19px rgba(0, 0, 0, 0.07);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.5;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
}

p {
  color: var(--text-second);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--glass-nav);
  transition: var(--transition);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

nav .logo {
  color: var(--text-main);
}

footer .logo {
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-second);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.nav-utils {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-utils i {
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10%;
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--light-text);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h5 {
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  color: var(--light-text);
}

.hero-content p {
  color: var(--light-text);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: scale(1.05);
  background: #1a8ad0;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 5rem 10%;
  background: var(--bg-gray);
}

.cat-item {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.cat-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.cat-item:hover img {
  transform: scale(1.1);
}

.cat-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: #fff;
  padding: 0.8rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  z-index: 2;
}

.cat-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.cat-item.tall {
  grid-row: span 2;
}

/* Section Header */
.section-header {
  text-align: center;
  padding-top: 5rem;
  margin-bottom: 3rem;
}

.section-header p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  color: var(--text-main);
}

/* Product Section */
#shop {
  padding: 5rem 10%;
}

/* Shop Section Placeholder styling override */
#shopify-container {
  display: flex;
  justify-content: center;
}

/* Inspiration Gallery Refined */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.gallery-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  border: 1px solid #f0f0f0;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.gallery-img-wrapper {
  height: 380px;
  overflow: hidden;
  position: relative;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.08);
}

.gallery-content {
  padding: 1.5rem;
  text-align: left;
}

.gallery-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.gallery-content p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-second);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}


/* Footer Refined */
footer {
  background: var(--text-main);
  color: #fff;
  padding: 5rem 10%;
  text-align: center;
}

footer h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

#gallery {
  background-color: var(--bg-gray);
  padding: 100px 10%;
  border-top: 1px solid #f0f0f0;
}