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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header */
.header {
  background-color: #1a202c;
  color: white;
  padding: 16px 0;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
}

.main-nav {
  display: none;
}

.nav-link {
  transition: color 0.3s;
}

.nav-link:hover {
  color: #cbd5e0;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-number {
  display: none;
}

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

.social-icon {
  color: white;
  transition: color 0.3s;
}

.social-icon:hover {
  color: #60a5fa;
}

.icon {
  color: currentColor;
}

.icon-blue {
  color: #2563eb;
}

/* Hero Section */
.hero {
  padding: 64px 0;
  background-color: #f7fafc;
  text-align: center;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 24px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image-container {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.cta-button {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  transition: background-color 0.3s;
  margin: 0 auto;
}

.cta-button:hover {
  background-color: #1d4ed8;
}

/* Section Styles */
.section {
  padding: 64px 0;
}

.section-gray {
  background-color: #f7fafc;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

/* Gallery Section */
.gallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  transition: transform 0.3s ease-out;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.gallery-image:hover {
  transform: scale(1.05);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e0;
  margin: 0 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-dot.active {
  background-color: #2563eb;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.review-card {
  background-color: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background-color: #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.avatar-letter {
  font-size: 20px;
  font-weight: 700;
  color: #4b5563;
}

.author-name {
  font-weight: 600;
}

.rating {
  display: flex;
}

.star-filled {
  color: #facc15;
}

.star-empty {
  color: #d1d5db;
}

.review-text {
  color: #666;
}

/* Delivery Section */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.delivery-card {
  background-color: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
}

.delivery-icon {
  margin-right: 24px;
}

.delivery-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.delivery-text {
  color: #666;
}

/* About Section */
.about-content {
  max-width: 896px;
  margin: 0 auto;
}

.about-text {
  font-size: 18px;
  margin-bottom: 24px;
}

.about-subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-list {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 24px;
}

.about-list li {
  margin-bottom: 8px;
}

/* Contacts Section */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 896px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-item svg {
  margin-right: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-link {
  color: #2563eb;
  transition: text-decoration 0.3s;
}

.contact-link:hover {
  text-decoration: underline;
}

.details-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.details-list li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background-color: #1a202c;
  color: white;
  padding: 32px 0;
}

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

.footer-logo {
  margin-bottom: 16px;
  text-align: center;
}

.footer-tagline {
  color: #a0aec0;
}

.footer-info {
  text-align: center;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.footer-phone {
  color: #60a5fa;
  margin-bottom: 12px;
  transition: text-decoration 0.3s;
}

.footer-phone:hover {
  text-decoration: underline;
}

.copyright {
  margin-bottom: 8px;
}

/* Media Queries */
@media (min-width: 640px) {
  .phone-number {
    display: inline;
  }
  
  .footer-contacts {
    flex-direction: row;
    gap: 24px;
  }
  
  .footer-phone {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    gap: 24px;
  }
  
  .gallery-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .gallery-item {
    width: auto;
    padding: 0;
  }
  
  .gallery-dots {
    display: none;
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-logo {
    margin-bottom: 0;
    text-align: left;
  }
  
  .footer-info {
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .gallery-track {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 26px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-image-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
  }
  
  .hero-image {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .hero {
    padding: 40px 0;
  }
}