/*
Theme Name: Normands Travesseiros
Description: Tema WordPress para Normands Travesseiros - Conforto que você merece, todas as noites
Version: 1.0
Author: Normands
*/

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

/* CSS Variables - Design System */
:root {
  --background: hsl(35, 20%, 98%);
  --foreground: hsl(210, 15%, 25%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(210, 15%, 25%);
  --primary: hsl(210, 60%, 65%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(35, 15%, 90%);
  --secondary-foreground: hsl(210, 15%, 30%);
  --muted: hsl(35, 10%, 93%);
  --muted-foreground: hsl(210, 10%, 50%);
  --accent: hsl(200, 50%, 88%);
  --accent-foreground: hsl(210, 15%, 30%);
  --border: hsl(35, 15%, 88%);
  --input: hsl(35, 15%, 88%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(210, 40%, 98%);

  /* Custom design tokens */
  --warm-beige: hsl(35, 25%, 92%);
  --soft-gray: hsl(210, 8%, 95%);
  --gentle-blue: hsl(200, 40%, 85%);
  --cozy-cream: hsl(45, 30%, 96%);
  --comfort-blue: hsl(210, 60%, 65%);
  --warm-text: hsl(210, 15%, 25%);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--warm-beige), var(--gentle-blue));
  --gradient-card: linear-gradient(145deg, var(--cozy-cream), var(--soft-gray));
  --gradient-button: linear-gradient(135deg, var(--comfort-blue), hsl(200, 50%, 60%));
  
  /* Shadows */
  --shadow-soft: 0 4px 20px -4px hsla(210, 60%, 65%, 0.15);
  --shadow-card: 0 8px 32px -8px hsla(210, 15%, 25%, 0.08);
  --shadow-button: 0 4px 16px -4px hsla(210, 60%, 65%, 0.3);

  --radius: 0.5rem;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.font-elegant {
  font-family: 'Playfair Display', serif;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.flex-wrap { flex-wrap: wrap; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.m-4 { margin: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }

.rounded { border-radius: var(--radius); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: calc(var(--radius) + 2px); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }
.rounded-2xl { border-radius: calc(var(--radius) + 8px); }
.rounded-full { border-radius: 9999px; }

.shadow-card { box-shadow: var(--shadow-card); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-button { box-shadow: var(--shadow-button); }

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsla(35, 20%, 98%, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.header .logo img {
  height: 100px;
  width: auto;
  padding: 3px;
	
}

.header .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--warm-text);
  line-height: 1.2;
 
}

.nav-link {
  color: var(--warm-text);
  text-decoration: none;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.nav-link:hover {
  color: var(--comfort-blue);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--gradient-button);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 1px solid var(--comfort-blue);
  color: var(--comfort-blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--comfort-blue);
  color: var(--primary-foreground);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--warm-text);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Products Section */
.products {
  padding: 5rem 0;
  background: var(--soft-gray);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--warm-text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.product-card {
  background: var(--gradient-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
}

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

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: hsla(0, 0%, 100%, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.5rem;
  border-radius: 50%;
}

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

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--warm-text);
  margin-bottom: 0.75rem;
}

.product-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: var(--gentle-blue);
  color: var(--comfort-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--background);
}

.about-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-text {
  space-y: 1.5rem;
}

.about-stats {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--comfort-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--soft-gray);
}

.contact-info {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.contact-icon {
  display: inline-flex;
  padding: 1rem;
  background: var(--gentle-blue);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.contact-title {
  font-weight: 600;
  color: var(--warm-text);
  margin-bottom: 0.5rem;
}

.contact-value {
  color: var(--muted-foreground);
}

.contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  max-width: 32rem;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-weight: 500;
  color: var(--warm-text);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--comfort-blue);
}

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

/* Footer */
.footer {
  background: var(--warm-text);
  color: var(--primary-foreground);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-links button {
  color: var(--primary-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--gentle-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  color: var(--muted-foreground);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 1rem;
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-button:hover {
  background: #128c7e;
  box-shadow: 0 6px 20px hsla(0, 0%, 0%, 0.25);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }  

  .header .logo img {
    height: 3.5rem;
  }
  
  .header .logo-text {
    font-size: 1.9rem;
  }
  
  
  .grid-sm-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .header .logo img {
    height: 3.5rem;
  }
  
  .header .logo-text {
    font-size: 1.9rem;
  }
  
  .grid-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .header .logo img {
    height: 3.5rem;
  }
  
  .header .logo-text {
    font-size: 1.9rem;
  }
  
  .grid-lg-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .mobile-toggle {
    display: block;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  .header .logo-text {
    display: none;
  }
	
	.footer-content {
    grid-template-columns: 1fr; /* stack instead of squeezing */
    text-align: center;
  }
	
	.header {
    justify-content: center;   /* centers children horizontally */
  }

  .header .logo {
    flex: none;                /* prevents it from stretching */
    justify-content: center;   /* centers inside logo wrapper */
    width: 100%;               /* makes sure logo takes full width */
    text-align: center;        /* centers image inside */
  }

  .header .logo img {
    margin: 0 auto;            /* centers the logo image */
    display: block;
  }
	
	
	
	
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--comfort-blue);
  outline-offset: 2px;
}



<!-- I added -->
/* Small screen fixes */
@media (max-width: 500px) {
  /* Hide site title */
  .header .logo-text {
    display: none;
  }

	
	.header {
    justify-content: center;   /* centers children horizontally */
  }

  .header .logo {
    flex: none;                /* prevents it from stretching */
    justify-content: center;   /* centers inside logo wrapper */
    width: 100%;               /* makes sure logo takes full width */
    text-align: center;        /* centers image inside */
  }

  .header .logo img {
    margin: 0 auto;            /* centers the logo image */
    display: block;
  }
	
	
	
	
	
	
	
  /* Logo smaller */
  .header .logo img {
    height: 60px;
  }

  /* Hero text */
  .hero-title {
    font-size: 1.5rem;
    text-align: center;
  }
  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  .hero-buttons {
    align-items: center;
  }

  /* Products */
  .product-card {
    margin-bottom: 1.5rem;
  }

  /* Contact values (email/website) */
  .contact-value {
    display: block;
    max-width: 200px;  /* adjust based on design */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* WhatsApp button */
  .whatsapp-button {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem;
  }
}

<!-- end of my added-->






/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}