/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

:root {
  --primary-color: #8b4513;
  --secondary-color: #d2b48c;
  --accent-color: #f4e4bc;
  --text-dark: #5d4e37;
  --text-light: #6b5b47;
  --text-white: #ffffff;
  --bg-light: #faf8f5;
  --bg-white: #ffffff;
  --shadow-light: 0 2px 20px rgba(93, 78, 55, 0.1);
  --shadow-medium: 0 4px 30px rgba(93, 78, 55, 0.15);
}

/* Dark Mode Variables */
body.dark-mode {
  --primary-color: #d2b48c;
  --secondary-color: #f4e4bc;
  --accent-color: #3a3a3a;
  --text-dark: #e0e0e0;
  --text-light: #b0b0b0;
  --text-white: #ffffff;
  --bg-light: #1a1a1a;
  --bg-white: #2a2a2a;
  --shadow-light: 0 2px 20px rgba(0, 0, 0, 0.4);
  --shadow-medium: 0 4px 30px rgba(0, 0, 0, 0.6);
}

body {
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--bg-light);
}

/* Dark Mode Background */
body.dark-mode {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 25%, #4a5568 50%, #2d3748 75%, #1a1a1a 100%);
}

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

body.dark-mode .navbar {
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid rgba(210, 180, 140, 0.2);
}

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

.nav-logo a {
  text-decoration: none;
}

.logo-text {
  font-family: "Comfortaa", cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.dark-mode-toggle {
  background: var(--bg-white);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-color);
  font-size: 1rem;
}

.dark-mode-toggle:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: var(--shadow-light);
}

.home-btn-nav {
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.home-btn-nav:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
  box-shadow: var(--shadow-light);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--accent-color) 0%, #e8d5b7 50%, #dcc9aa 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 70px;
}

body.dark-mode .hero-section {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-white) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.05"/></svg>')
    repeat;
  pointer-events: none;
}

.hero-images {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 1;
}

.hero-left,
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-img-1,
.hero-img-2 {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0.3;
  filter: sepia(20%) saturate(70%);
}

/* Hero images without rotate effects */

.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 25px;
  padding: 60px 50px;
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(93, 78, 55, 0.15);
  border: 3px solid rgba(93, 78, 55, 0.1);
}

.brand-name {
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #8b4513;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.main-title {
  font-family: "Nunito", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #5d4e37;
  margin-bottom: 30px;
  line-height: 1.3;
}

.hero-description {
  margin-top: 30px;
}

.hero-description p {
  font-size: 1.1rem;
  color: #6b5b47;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.7;
  font-family: "Comfortaa", cursive;
}

/* Products Section */
.products-section {
  padding: 100px 0 60px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(45deg, #8b4513, #d2b48c);
  border-radius: 2px;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px dashed #8b4513;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

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

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

.product-info {
  padding: 30px;
  text-align: center;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #8b4513;
  margin-bottom: 20px;
}

.product-description p {
  color: #666;
  margin-bottom: 15px;
  font-weight: 500;
}

.product-description ul {
  text-align: left;
  margin-left: 20px;
  color: #555;
  list-style: none;
  padding-left: 0;
}

.product-description li {
  margin-bottom: 8px;
  position: relative;
}

.product-description li::before {
  content: "✓";
  color: #8b4513;
  font-weight: bold;
  position: absolute;
  left: -20px;
}

/* Gallery Section */
.gallery-section {
  padding: 60px 0 80px 0;
  background: linear-gradient(135deg, #f0e6d2 0%, #e8dcc6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  position: relative;
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23d2b48c" opacity="0.3"/></svg>') repeat;
  background-size: 50px 50px;
  pointer-events: none;
}

.gallery-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(93, 78, 55, 0.15);
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  border: 3px solid rgba(139, 69, 19, 0.1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.gallery-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: sepia(5%) saturate(105%);
}

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

.craft-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(139, 69, 19, 0.9);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
}

.gallery-info {
  padding: 20px;
  text-align: center;
}

.gallery-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b4513;
  margin-bottom: 8px;
}

.gallery-price {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #d2691e;
  font-weight: 600;
  margin: 0;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: #faf8f5;
  text-align: center;
  position: relative;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(93, 78, 55, 0.1);
  border: 3px solid rgba(139, 69, 19, 0.1);
  /* Remove rotate effect */
}

.about-content .brand-name {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  color: #8b4513;
  margin-bottom: 20px;
  /* Remove rotate effect */
}

.about-title {
  font-family: "Nunito", sans-serif;
  font-size: 2rem;
  color: #5d4e37;
  margin-bottom: 30px;
  font-weight: 600;
  /* Remove rotate effect */
}

.about-text {
  margin-bottom: 40px;
}

.about-text p {
  font-size: 1.1rem;
  color: #6b5b47;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.7;
}

.craft-icon {
  font-size: 3rem;
  color: #d2691e;
  /* Remove rotate effect */
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
  color: white;
  padding: 80px 0;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20h60v60h-60z" fill="none" stroke="%23deb887" stroke-width="0.5" opacity="0.3"/></svg>')
    repeat;
  background-size: 80px 80px;
  pointer-events: none;
}

.contact-overlay {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #deb887;
  font-weight: 600;
  /* Remove rotate effect */
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(222, 184, 135, 0.2);
  color: #deb887;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  border: 2px solid rgba(222, 184, 135, 0.3);
  /* Remove rotate effect */
}

.social-icon:hover {
  background: #deb887;
  color: #8b4513;
  transform: scale(1.1);
}

.address-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.address-item i {
  margin-right: 12px;
  color: #deb887;
  width: 20px;
  font-size: 1.1rem;
}

/* Override address-item link colors */
.address-item a, .address-item a:visited { 
  color: inherit !important; 
  text-decoration: none !important; 
} 

.address-item a:hover { 
  opacity: 0.8 !important; 
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #8b4513, #d2691e);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 5px 20px rgba(139, 69, 19, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
  border: 3px solid rgba(222, 184, 135, 0.3);
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background: linear-gradient(135deg, #a0522d, #8b4513);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.5);
}

.scroll-to-top-btn:active {
  transform: translateY(-1px);
}

/* Home Button Styles for Handmade */
.home-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  background: linear-gradient(135deg, #8b6914, #a67c00);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(139, 105, 20, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 35px rgba(139, 105, 20, 0.4);
  background: linear-gradient(135deg, #704f0f, #8b6914);
  text-decoration: none;
  color: white;
}

.home-btn:active {
  transform: translateY(0) scale(1.02);
}

.home-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.home-btn:hover i {
  transform: rotate(-10deg) scale(1.1);
}

.home-btn span {
  transition: all 0.3s ease;
}

.home-btn:hover span {
  letter-spacing: 1px;
}

/* Responsive home button */
@media (max-width: 768px) {
  .home-btn {
    top: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .home-btn span {
    display: none;
  }
  
  .home-btn {
    width: 48px;
    height: 48px;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
  }
  
  .home-btn i {
    font-size: 18px;
  }
}

/* ===== DARK MODE COMPREHENSIVE STYLES FOR HANDMADE ===== */

/* Hero Section Dark Mode Enhancement */
body.dark-mode .hero-content {
  background: rgba(42, 42, 42, 0.9);
  border: 3px solid rgba(210, 180, 140, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

body.dark-mode .brand-name {
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body.dark-mode .main-title {
  color: var(--text-dark);
}

body.dark-mode .hero-description p {
  color: var(--text-light);
}

/* Products Section Dark Mode */
body.dark-mode .products-section {
  background: var(--bg-light);
}

body.dark-mode .section-title {
  color: var(--text-dark);
}

body.dark-mode .section-title::after {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

body.dark-mode .product-card {
  background: var(--bg-white);
  border: 2px dashed var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .product-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .product-title {
  color: var(--text-dark);
}

body.dark-mode .product-price {
  color: var(--primary-color);
}

body.dark-mode .product-description p {
  color: var(--text-light);
}

body.dark-mode .product-description ul {
  color: var(--text-light);
}

body.dark-mode .product-description li::before {
  color: var(--primary-color);
}

/* Gallery Section Dark Mode */
body.dark-mode .gallery-section {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--bg-white) 100%);
}

body.dark-mode .gallery-item {
  background: var(--bg-white);
  border: 3px solid rgba(210, 180, 140, 0.2);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .gallery-item:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
}

body.dark-mode .craft-label {
  background: rgba(210, 180, 140, 0.9);
  color: var(--text-dark);
}

body.dark-mode .gallery-title {
  color: var(--primary-color);
}

body.dark-mode .gallery-price {
  color: var(--primary-color);
}

body.dark-mode .gallery-item img {
  filter: brightness(0.9) contrast(1.1);
}

body.dark-mode .gallery-item:hover img {
  filter: brightness(1) contrast(1.2);
}

/* About Section Dark Mode */
body.dark-mode .about-section {
  background: var(--bg-light);
}

body.dark-mode .about-content {
  background: rgba(42, 42, 42, 0.8);
  border: 3px solid rgba(210, 180, 140, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .about-content .brand-name {
  color: var(--primary-color);
}

body.dark-mode .about-title {
  color: var(--text-dark);
}

body.dark-mode .about-text p {
  color: var(--text-light);
}

body.dark-mode .craft-icon {
  color: var(--primary-color);
}

/* Contact Section Dark Mode */
body.dark-mode .contact-section {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--accent-color) 100%);
}

body.dark-mode .contact-content h3 {
  color: var(--primary-color);
}

body.dark-mode .address-item {
  color: var(--text-light);
}

body.dark-mode .address-item i {
  color: var(--primary-color);
}

body.dark-mode .social-icon {
  background: rgba(42, 42, 42, 0.8);
  color: var(--primary-color);
  border: 2px solid rgba(210, 180, 140, 0.3);
}

body.dark-mode .social-icon:hover {
  background: var(--primary-color);
  color: var(--text-dark);
}

/* Scroll to Top Button Dark Mode */
body.dark-mode .scroll-to-top-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-dark);
  border: 3px solid rgba(244, 228, 188, 0.3);
}

body.dark-mode .scroll-to-top-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  box-shadow: 0 8px 25px rgba(210, 180, 140, 0.5);
}

/* Home Button Dark Mode */
body.dark-mode .home-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-dark);
  border: 1px solid rgba(244, 228, 188, 0.3);
}

body.dark-mode .home-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  box-shadow: 0 12px 35px rgba(210, 180, 140, 0.4);
  color: var(--text-dark);
}

body.dark-mode .home-btn-nav {
  background: var(--primary-color);
  color: var(--text-dark);
}

body.dark-mode .home-btn-nav:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
}

/* Image Brightness Adjustments for Dark Mode */
body.dark-mode .hero-img-1,
body.dark-mode .hero-img-2 {
  filter: brightness(0.7) contrast(1.2) sepia(20%) saturate(70%);
}

body.dark-mode .product-image img {
  filter: brightness(0.9) contrast(1.1);
}

body.dark-mode .product-card:hover .product-image img {
  filter: brightness(1) contrast(1.2);
}

/* Mobile Responsive Dark Mode Adjustments */
@media (max-width: 768px) {
  body.dark-mode .dark-mode-toggle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  body.dark-mode .hero-content {
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
  }

  body.dark-mode .navbar {
    background: rgba(26, 26, 26, 0.98);
  }
}

/* Tablet Dark Mode Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  body.dark-mode .hero-content {
    background: rgba(42, 42, 42, 0.9);
    backdrop-filter: blur(15px);
  }
}

/* Enhanced Animation for Dark Mode */
body.dark-mode .product-card {
  transition: all 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .gallery-item {
  transition: all 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .social-icon {
  transition: all 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Text Selection */
body.dark-mode ::selection {
  background: rgba(210, 180, 140, 0.3);
  color: var(--text-dark);
}

body.dark-mode ::-moz-selection {
  background: rgba(210, 180, 140, 0.3);
  color: var(--text-dark);
}

/* Responsive Design */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }

  .hero-content {
    max-width: 1000px;
    padding: 80px 60px;
  }

  .brand-name {
    font-size: 5rem;
  }

  .main-title {
    font-size: 3.2rem;
  }

  .product-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    max-width: 1400px;
  }

  .gallery-item {
    max-width: 220px;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-content {
    padding: 70px 50px;
    max-width: 900px;
  }

  .brand-name {
    font-size: 4.5rem;
  }

  .main-title {
    font-size: 2.8rem;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1100px;
  }

  .gallery-item {
    max-width: 350px;
  }

  .gallery-image {
    height: 220px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-content {
    padding: 50px 40px;
    max-width: 800px;
  }

  .brand-name {
    font-size: 4rem;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .product-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 950px;
  }

  .gallery-item {
    max-width: 300px;
  }

  .gallery-image {
    height: 200px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content {
    margin: 30px auto;
    padding: 40px 30px;
    max-width: 90%;
  }

  .brand-name {
    font-size: 3.5rem;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .hero-description p {
    font-size: 1rem;
    text-align: center;
    font-family: "Comfortaa", cursive;
  }

  .section-title {
    font-size: 2.3rem;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 650px;
  }

  .gallery-item {
    max-width: 200px;
  }

  .gallery-image {
    height: 160px;
  }

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

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

  .hero-content {
    margin: 20px auto;
    padding: 30px 20px;
    max-width: 90%;
  }

  .brand-name {
    font-size: 3rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .hero-description p {
    font-size: 1rem;
    text-align: center;
    font-family: "Comfortaa", cursive;
  }

  .section-title {
    font-size: 2rem;
  }

  .product-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-section {
    padding: 60px 20px;
    min-height: 70vh;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 300px;
  }

  .gallery-item {
    max-width: 280px;
  }

  .gallery-image {
    height: 180px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content .brand-name {
    font-size: 3rem;
  }

  .about-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 25px 15px;
    margin: 15px auto;
  }

  .brand-name {
    font-size: 2.5rem;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .product-card {
    margin: 0 10px;
  }

  .gallery-item {
    max-width: 250px;
  }

  .gallery-image {
    height: 160px;
  }

  .scroll-to-top-btn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.1rem;
  }
}

@media (max-width: 320px) {
  .hero-content {
    padding: 20px 10px;
  }

  .brand-name {
    font-size: 2.2rem;
  }

  .main-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .gallery-item {
    max-width: 220px;
  }

  .gallery-image {
    height: 140px;
  }

  .scroll-to-top-btn {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 1rem;
  }
}

/* Ultra-wide screens 2048x1080 for Handmade */
@media screen and (min-width: 2048px) and (max-width: 2560px) and (max-height: 1440px) {
  .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* Hero Section */
  .hero-content {
    max-width: 1600px;
    padding: 120px 100px;
    margin: 80px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
  }

  .hero-text {
    width: 100%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
  }

  .brand-name {
    font-size: 5.5rem;
    margin-bottom: 30px;
  }

  .main-title {
    font-size: 4rem;
    margin-bottom: 50px;
    line-height: 1.2;
  }

  .hero-description {
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-description p {
    font-size: 1.3rem;
    line-height: 2;
    margin-bottom: 35px;
    font-family: "Comfortaa", cursive;
  }

  /* Products Section */
  .products-section {
    padding: 150px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .section-title {
    font-size: 3.5rem;
    margin-bottom: 80px;
  }

  .product-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    max-width: 1600px;
    margin: 0 auto 100px auto;
    justify-items: center;
  }

  .product-card {
    max-width: 480px;
    margin: 0 auto;
    justify-self: center;
  }

  .product-image {
    height: 280px;
  }

  .product-info {
    padding: 45px;
  }

  .product-title {
    font-size: 1.7rem;
    margin-bottom: 22px;
  }

  .product-price {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .product-description p {
    font-size: 1.2rem;
    margin-bottom: 22px;
  }

  .product-description li {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  /* Gallery Section */
  .gallery-section {
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
  }

  .gallery-section .container {
    max-width: 1900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1700px;
    margin: 0 auto 60px auto;
    justify-content: center;
    justify-items: center;
  }

  .gallery-item {
    max-width: 500px;
    border-radius: 25px;
    border: 4px solid rgba(139, 69, 19, 0.15);
    justify-self: center;
  }

  .gallery-image {
    height: 280px;
  }

  .gallery-info {
    padding: 30px;
  }

  .gallery-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .gallery-price {
    font-size: 1.3rem;
  }

  .craft-label {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
  }

  /* About Section */
  .about-section {
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .about-content .brand-name {
    font-size: 4.5rem;
    margin-bottom: 30px;
  }

  .about-title {
    font-size: 2.8rem;
    margin-bottom: 50px;
  }

  .about-text p {
    font-size: 1.3rem;
    line-height: 2;
    margin-bottom: 30px;
  }

  .craft-icon {
    margin-top: 60px;
  }

  .craft-icon i {
    font-size: 4rem;
  }

  /* Contact Section */
  .contact-section {
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    max-width: 1600px;
    margin: 0 auto;
    justify-items: center;
  }

  .contact-content h3 {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }

  .social-icons {
    justify-content: center;
    gap: 20px;
  }

  .social-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .address-item {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

  .address-item i {
    font-size: 1.3rem;
    margin-right: 18px;
  }

  /* Scroll Button */
  .scroll-to-top-btn {
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    font-size: 1.4rem;
  }
}

/* Ultra-wide screen optimizations (2048x1080) */
@media screen and (min-width: 2048px) and (max-width: 2560px) and (max-height: 1200px) {
  .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 60px;
  }

  /* Products Section */
  .products-section {
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
  }

  .products-section .container {
    max-width: 1900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .product-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1700px;
    margin: 0 auto 80px auto;
    justify-content: center;
    justify-items: center;
  }

  .product-card {
    width: 100%;
    max-width: 480px;
    min-height: 620px;
  }

  .product-image {
    height: 300px;
  }

  .product-info {
    padding: 50px;
  }

  .product-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
  }

  .product-price {
    font-size: 2.4rem;
    margin-bottom: 35px;
  }

  .product-description p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    line-height: 1.7;
  }

  .product-description li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .section-title {
    font-size: 3.5rem;
    margin-bottom: 80px;
    text-align: center;
  }

  /* Gallery Section */
  .gallery-section {
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
  }

  .gallery-section .container {
    max-width: 1900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1700px;
    margin: 0 auto 60px auto;
    justify-content: center;
    justify-items: center;
  }

  .gallery-item {
    width: 100%;
    max-width: 450px;
  }

  .gallery-image {
    height: 280px;
  }

  .gallery-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .gallery-price {
    font-size: 1.3rem;
  }

  .craft-label {
    font-size: 1rem;
    padding: 8px 16px;
  }

  /* Hero Section */
  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
  }

  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .brand-name {
    font-size: 4.5rem;
    margin-bottom: 30px;
  }

  .main-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
    line-height: 1.4;
  }

  .hero-description p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  /* About Section */
  .about-section {
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
  }

  .about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .about-content .brand-name {
    font-size: 4rem;
    margin-bottom: 30px;
  }

  .about-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .about-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  .craft-icon {
    font-size: 4rem;
    margin-top: 50px;
  }

  /* Contact Section */
  .contact-content {
    max-width: 1600px;
    margin: 0 auto;
    gap: 60px;
  }

  .contact-content h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .address-item {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }

  .social-icons {
    gap: 25px;
  }

  .social-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .product-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-description li {
    padding-left: 25px;
    margin-bottom: 8px;
  }

  .product-description li::before {
    left: -22px;
    top: 2px;
    font-size: 12px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content {
    margin: 30px auto;
    padding: 40px 30px;
    max-width: 90%;
  }

  .brand-name {
    font-size: 3.5rem;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .hero-description p {
    font-size: 1rem;
    text-align: center;
    font-family: "Comfortaa", cursive;
  }

  .section-title {
    font-size: 2.3rem;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 650px;
  }

  .gallery-item {
    max-width: 200px;
  }

  .gallery-image {
    height: 160px;
  }

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

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

  .hero-content {
    margin: 20px auto;
    padding: 30px 20px;
    max-width: 90%;
  }

  .brand-name {
    font-size: 3rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .hero-description p {
    font-size: 1rem;
    text-align: center;
    font-family: "Comfortaa", cursive;
  }

  .section-title {
    font-size: 2rem;
  }

  .product-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-section {
    padding: 60px 20px;
    min-height: 70vh;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 300px;
  }

  .gallery-item {
    max-width: 280px;
  }

  .gallery-image {
    height: 180px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content .brand-name {
    font-size: 3rem;
  }

  .about-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 25px 15px;
    margin: 15px auto;
  }

  .brand-name {
    font-size: 2.5rem;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .product-card {
    margin: 0 10px;
  }

  .gallery-item {
    max-width: 250px;
  }

  .gallery-image {
    height: 160px;
  }

  .scroll-to-top-btn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.1rem;
  }
}

@media (max-width: 320px) {
  .hero-content {
    padding: 20px 10px;
  }

  .brand-name {
    font-size: 2.2rem;
  }

  .main-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .gallery-item {
    max-width: 220px;
  }

  .gallery-image {
    height: 140px;
  }

  .scroll-to-top-btn {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 1rem;
  }
}

/* Ultra-wide screens 2048x1080 for Handmade */
@media screen and (min-width: 2048px) and (max-width: 2560px) and (max-height: 1440px) {
  .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* Hero Section */
  .hero-content {
    max-width: 1600px;
    padding: 120px 100px;
    margin: 80px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
  }

  .hero-text {
    width: 100%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
  }

  .brand-name {
    font-size: 5.5rem;
    margin-bottom: 30px;
  }

  .main-title {
    font-size: 4rem;
    margin-bottom: 50px;
    line-height: 1.2;
  }

  .hero-description {
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-description p {
    font-size: 1.3rem;
    line-height: 2;
    margin-bottom: 35px;
    font-family: "Comfortaa", cursive;
  }

  /* Products Section */
  .products-section {
    padding: 150px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .section-title {
    font-size: 3.5rem;
    margin-bottom: 80px;
  }

  .product-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    max-width: 1600px;
    margin: 0 auto 100px auto;
    justify-items: center;
  }

  .product-card {
    max-width: 480px;
    margin: 0 auto;
    justify-self: center;
  }

  .product-image {
    height: 280px;
  }

  .product-info {
    padding: 45px;
  }

  .product-title {
    font-size: 1.7rem;
    margin-bottom: 22px;
  }

  .product-price {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .product-description p {
    font-size: 1.2rem;
    margin-bottom: 22px;
  }

  .product-description li {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  /* Gallery Section */
  .gallery-section {
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
  }

  .gallery-section .container {
    max-width: 1900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1700px;
    margin: 0 auto 60px auto;
    justify-content: center;
    justify-items: center;
  }

  .gallery-item {
    max-width: 500px;
    border-radius: 25px;
    border: 4px solid rgba(139, 69, 19, 0.15);
    justify-self: center;
  }

  .gallery-image {
    height: 280px;
  }

  .gallery-info {
    padding: 30px;
  }

  .gallery-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .gallery-price {
    font-size: 1.3rem;
  }

  .craft-label {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
  }

  /* About Section */
  .about-section {
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .about-content .brand-name {
    font-size: 4.5rem;
    margin-bottom: 30px;
  }

  .about-title {
    font-size: 2.8rem;
    margin-bottom: 50px;
  }

  .about-text p {
    font-size: 1.3rem;
    line-height: 2;
    margin-bottom: 30px;
  }

  .craft-icon {
    margin-top: 60px;
  }

  .craft-icon i {
    font-size: 4rem;
  }

  /* Contact Section */
  .contact-section {
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    max-width: 1600px;
    margin: 0 auto;
    justify-items: center;
  }

  .contact-content h3 {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }

  .social-icons {
    justify-content: center;
    gap: 20px;
  }

  .social-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .address-item {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

  .address-item i {
    font-size: 1.3rem;
    margin-right: 18px;
  }

  /* Scroll Button */
  .scroll-to-top-btn {
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    font-size: 1.4rem;
  }
}

/* Home Button Styles for Handmade */
.home-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  background: linear-gradient(135deg, #8b6914, #a67c00);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(139, 105, 20, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 35px rgba(139, 105, 20, 0.4);
  background: linear-gradient(135deg, #704f0f, #8b6914);
  text-decoration: none;
  color: white;
}

.home-btn:active {
  transform: translateY(0) scale(1.02);
}

.home-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.home-btn:hover i {
  transform: rotate(-10deg) scale(1.1);
}

.home-btn span {
  transition: all 0.3s ease;
}

.home-btn:hover span {
  letter-spacing: 1px;
}

/* Responsive home button */
@media (max-width: 768px) {
  .home-btn {
    top: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .home-btn span {
    display: none;
  }
  
  .home-btn {
    width: 48px;
    height: 48px;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
  }
  
  .home-btn i {
    font-size: 18px;
  }
}
