@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette (Earthy Australian Coastal - No Blue) */
  --color-bg-primary: #FAF8F5; /* Off-white Sand */
  --color-bg-secondary: #EBE5D9; /* Deeper Sand */
  --color-text-main: #2C2C2A; /* Charcoal */
  --color-text-muted: #5C5C58; /* Muted stone */
  --color-accent-1: #D96C4A; /* Terracotta */
  --color-accent-1-hover: #BF5A3C;
  --color-accent-2: #7A8262; /* Olive Green */
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Shadows & Transitions */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition-fast: 0.2s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-sm);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: var(--spacing-md); color: var(--color-text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent-1);
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn:hover {
  background-color: var(--color-accent-1-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-text-main);
}

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

/* --- Header (Slim, Non-sticky) --- */
.site-header {
  background-color: var(--color-bg-primary);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-bg-secondary);
  position: relative; /* strictly non-sticky */
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-2);
  letter-spacing: -0.5px;
}

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

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

.nav-menu a:hover {
  color: var(--color-accent-1);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-main);
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  padding: var(--spacing-xl) 0;
  text-align: center;
  background-color: var(--color-bg-secondary);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  margin-bottom: var(--spacing-xl);
}

.hero p {
  max-width: 600px;
  margin: 0 auto var(--spacing-lg) auto;
  font-size: 1.125rem;
}

.hero-img-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  transform: translateY(3rem);
}

.hero-img-wrap img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* --- Cards / Grids --- */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: var(--spacing-xl);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: var(--spacing-xl);
}

.card {
  background: #fff;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  display: flex;
  flex-direction: column;
}

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

.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.card-content p {
  flex: 1;
  font-size: 0.95rem;
}

.card-actions {
  margin-top: 1rem;
}

/* --- Detail Pages (Articles / Designs) --- */
.detail-header {
  padding: var(--spacing-xl) 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.detail-meta {
  color: var(--color-accent-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

.detail-featured-img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.detail-content {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl) auto;
}

.detail-content h2 {
  margin-top: 2rem;
  font-size: 1.75rem;
}

.detail-content ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.detail-content li {
  margin-bottom: 0.5rem;
}

/* --- Forms --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl) auto;
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-bg-primary);
}

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

/* --- Footer (Mandatory) --- */
.site-footer {
  background-color: var(--color-text-main);
  color: #fff;
  padding: var(--spacing-xl) 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--color-accent-1);
  margin-bottom: 1rem;
}

.footer-col p, .footer-col a {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
  font-size: 0.85rem;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.9rem;
  max-width: 60%;
}

.cookie-text a {
  color: var(--color-accent-1);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-actions button {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  cursor: pointer;
  border: none;
}

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

.btn-pref {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-main);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    z-index: 999;
  }
  
  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
  
  .hero-img-wrap {
    transform: translateY(1.5rem);
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }
  
  .cookie-text {
    max-width: 100%;
  }
}