/* The Surgical Sewist - Custom CSS */
/* Color scheme matching your Squarespace site */

:root {
  --bg-color: #e8f4f4;
  --text-dark: #1a4a4a;
  --text-body: #333;
  --accent-red: #b82832;
  --accent-red-hover: #9a2229;
  --white: #ffffff;
  --gray-light: #f6f6f6;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-body);
  line-height: 1.6;
}

a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-red);
}

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

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

/* Navigation */
header {
  background: var(--bg-color);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  font-size: 1.2rem;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  padding: 40px 0;
}

.hero-content {
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 700px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Vision Section */
.vision-section {
  padding: 60px 0;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vision-image img {
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.vision-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-style: italic;
}

.vision-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-red);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--accent-red-hover);
  color: var(--white);
}

/* Philosophy Section */
.philosophy-section {
  padding: 60px 0;
  text-align: center;
}

.philosophy-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 50px;
  font-weight: 700;
}

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

.philosophy-item {
  text-align: center;
}

.philosophy-item img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.philosophy-item h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
}

/* Newsletter Section */
.newsletter-section {
  padding: 60px 0;
  text-align: center;
}

.newsletter-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 30px;
  font-style: italic;
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
  background: var(--gray-light);
  padding: 30px;
  border-radius: 8px;
}

.newsletter-form h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.newsletter-form p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: #666;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 15px;
}

.newsletter-form button {
  width: 100%;
  padding: 12px;
  background: #000;
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #333;
}

/* Follow Section */
.follow-section {
  padding: 60px 0;
  text-align: center;
}

.follow-section h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-btn {
  color: var(--accent-red);
  font-weight: 500;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #666;
}

.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--accent-red);
}

/* About Page */
.about-section {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 30px;
  font-style: italic;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-image img {
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: inherit;
}

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

.contact-form button {
  padding: 15px 40px;
  background: #000;
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #333;
}

/* Shop Page */
.shop-section {
  padding: 60px 0;
}

.shop-section h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.shop-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.shop-item:hover {
  transform: translateY(-5px);
}

.shop-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.shop-item-info {
  padding: 20px;
}

.shop-item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.shop-item .price {
  color: var(--accent-red);
  font-weight: 600;
}

/* Quilts Gallery */
.gallery-section {
  padding: 60px 0;
}

.gallery-section h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
  color: var(--accent-red);
  font-style: italic;
}

.gallery-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 50px;
  color: #666;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 968px) {
  .vision-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .social-links {
    display: none;
  }

  .vision-content h2,
  .about-content h1 {
    font-size: 2rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
