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

body {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

h1, h2, h3, h4 {
  font-family: 'Palatino Linotype', serif;
  color: #8a5a3a;
}

a {
  color: #b85c3c;
  text-decoration: none;
}

a:hover {
  color: #8a5a3a;
}

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

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

[class*="col-"] {
  padding: 0 15px;
  min-width: 0;
}

.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-sm-6 { flex: 0 0 50%; max-width: 50%; }

@media (max-width: 900px) {
  .col-md-3, .col-md-4, .col-sm-6 { flex-basis: 50%; max-width: 50%; }
  .col-md-5, .col-md-7, .col-md-8 { flex-basis: 100%; max-width: 100%; }
  .col-md-6 { flex-basis: 100%; max-width: 100%; }
}

@media (max-width: 600px) {
  .col-md-3, .col-md-4, .col-sm-6 { flex-basis: 100%; max-width: 100%; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar-nav {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar-nav a {
  font-weight: bold;
  font-size: 16px;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.navbar-nav a:hover {
  border-color: #b85c3c;
}

.navbar-toggle {
  display: none;
}

/* Hero */
#home {
  padding-top: 80px;
}

.banner {
  background-image: url('../img/photo-1.jpg');
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.banner h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner p {
  font-size: 20px;
  margin-bottom: 30px;
}

.banner .btn {
  background: #b85c3c;
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 18px;
}

.banner .btn:hover {
  background: #8a5a3a;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 10px 20px;
  color: #333;
}

.stat-item strong {
  font-size: 28px;
  color: #b85c3c;
}

/* Sections */
.page-section {
  padding: 80px 0;
}

.heading {
  text-align: center;
  margin-bottom: 40px;
}

.heading h2 {
  font-size: 48px;
  color: #8a5a3a;
}

.heading p {
  font-size: 18px;
  color: #6d7a4f;
}

/* Benefits */
#benefits {
  background: #ddf3dc;
}

.circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  color: #b85c3c;
  margin-bottom: 15px;
}

.circle svg {
  width: 40px;
  height: 40px;
}

/* How */
#how {
  background: #fff;
}

.feature {
  display: flex;
  align-items: center;
}

/* Reviews */
#reviews {
  background: #f4f4f4;
}

.block-text {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.block-text h4 {
  color: #b85c3c;
  margin-bottom: 10px;
}

.person-text {
  font-style: italic;
  color: #6d7a4f;
}

/* Coffee */
#coffee .coffee-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

#coffee .coffee-item img {
  height: 200px;
  object-fit: cover; object-position: center;
  width: 100%;
}

#coffee .coffee-item h3 {
  padding: 15px 15px 5px;
  color: #8a5a3a;
}

#coffee .coffee-item p {
  padding: 0 15px 15px;
  color: #666;
}

.coffee-item.no-photo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  color: #fff;
}

.coffee-item.no-photo h3 {
  color: #fff;
}

/* Prices */
#prices {
  background: #f9f9f9;
}

.price-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.price-card.featured {
  border: 2px solid #b85c3c;
  position: relative;
}

.price-card.featured::before {
  content: "Хит";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #b85c3c;
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 14px;
}

.price-card h3 {
  color: #8a5a3a;
  font-size: 24px;
  margin-bottom: 10px;
}

.price {
  font-size: 28px;
  color: #b85c3c;
  font-weight: bold;
  margin-bottom: 15px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.price-card li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

/* FAQ */
#faq details {
  background: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 10px;
  cursor: pointer;
}

#faq summary {
  font-weight: bold;
  color: #8a5a3a;
}

#faq p {
  margin-top: 10px;
}

/* CTA */
#cta {
  background-image: url('../img/photo-1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

#cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

#cta .container {
  position: relative;
  z-index: 1;
  color: #fff;
}

#cta h2 {
  color: #fff;
  font-size: 48px;
}

#cta p {
  font-size: 20px;
  margin-bottom: 30px;
}

#cta .btn {
  background: #b85c3c;
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 18px;
}

/* Contacts */
#contacts {
  background: #222;
  color: #fff;
}

#contacts .heading h2 {
  color: #fff;
}

#contacts .form-control {
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  width: 100%;
}

#contacts label {
  display: block;
  margin-bottom: 5px;
}

#contacts .btn-primary {
  background: #b85c3c;
  border: none;
}

/* Footer */
.copyright {
  background: #000;
  color: #666;
  padding: 20px 0;
  text-align: center;
}

.copyright p {
  margin: 5px 0;
}

.photo-credit {
  font-size: 12px;
  color: #999;
}

.studio-mark {
  margin-top: 10px;
}

.studio-mark a {
  color: #b85c3c;
}

/* Media Queries */
@media (max-width: 900px) {
  .banner h1 {
    font-size: 40px;
  }
  .banner p {
    font-size: 18px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 10px;
  }
  .navbar-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .banner {
    min-height: 50vh;
  }
  .banner h1 {
    font-size: 32px;
  }
  .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .navbar-nav a {
    font-size: 14px;
  }
}