/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

/* Main styles */
:root {
  --main-dark: #2C2C2C;
  --darker-bg: #1a1a1a;
  --accent-orange: #FF5722;
  --accent-blue: #00BFFF;
  --accent-yellow: #FFD700;
  --success-green: #00A651;
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
  --card-bg: rgba(255, 255, 255, 0.08);
  --hover-transition: all 0.3s ease;
}

body {
  background-color: var(--main-dark);
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-light);
}

/* Header styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.navbar {
  padding: 0.75rem 0;
  transition: padding 0.3s ease;
  display: flex;
  align-items: center;
}

.navbar-nav {
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  position: relative;
  transition: var(--hover-transition);
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-yellow));
  transition: width 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.navbar-brand:hover::after {
  width: 100%;
}

.nav-link {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-light) !important;
  padding: 0.5rem 1rem !important;
  transition: var(--hover-transition);
  position: relative;
  opacity: 0.85;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--hover-transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-blue) !important;
  opacity: 1;
}

/* Header actions layout */
.header-actions {
  margin-left: auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.search-cart-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Search box styling - новые стили */
.search-container {
  position: relative;
  width: 220px;
  height: 38px;
  display: flex;
  align-items: center;
}

.search-form {
  display: flex;
  position: relative;
  height: 100%;
}

.search-input {
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  border-radius: 30px;
  padding: 0 45px 0 15px;
  font-size: 0.9rem;
  transition: var(--hover-transition);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.2);
  color: var(--text-light);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-button {
  position: absolute;
  right: 0;
  top: 0;
  height: 38px;
  width: 40px;
  background-color: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 0 30px 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--hover-transition);
}

.search-button:hover {
  background-color: #0095cc;
}

/* Cart and account buttons */
.cart-account-buttons {
  display: flex;
  align-items: center;
}

.cart-button,
.account-button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--hover-transition);
  position: relative;
  text-decoration: none;
}

.cart-button:hover,
.account-button:hover {
  background: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
  color: white;
}

.badge.bg-accent {
  background-color: var(--accent-yellow);
  color: var(--main-dark);
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.7rem;
}

.cart-total {
  font-weight: 600;
  color: var(--accent-yellow);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

/* Breadcrumb styling */
.breadcrumb-container {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.4rem 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.breadcrumb-item a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--hover-transition);
}

.breadcrumb-item a:hover {
  color: var(--accent-yellow);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--accent-orange);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

/* Footer styles */
.footer {
    background: linear-gradient(to right, #1a1a1a, #2C2C2C);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.footer h5 {
    color: var(--accent-orange);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-blue);
}

.footer a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-yellow);
}

.store-info p {
    margin-bottom: 0.5rem;
}

.store-info i {
    color: var(--accent-orange);
    width: 20px;
    margin-right: 10px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.social-links a:hover {
    color: var(--accent-yellow);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Hero Section */
.hero-section {
    margin-top: 0;
}

.carousel-item {
    height: 550px;
    overflow: hidden;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px);
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 5px !important;
}

/* Category Cards */
.category-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--hover-transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 191, 255, 0.2);
}

.category-card img {
    height: 300px;
    object-fit: cover;
    transition: var(--hover-transition);
}

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

.category-card .card-body {
    padding: 2rem;
}

.category-card .card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.category-card .btn-primary {
    background-color: var(--accent-blue);
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: var(--hover-transition);
}

.category-card .btn-primary:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

/* Product Cards */
.product-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--hover-transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 191, 255, 0.15);
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: var(--hover-transition);
    width: 100%;
}

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

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

.product-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.product-card .card-title a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: var(--hover-transition);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.product-card .card-title a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.product-card .card-text {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.btn-success {
    background-color: var(--success-green);
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    transition: var(--hover-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-success:hover {
    background-color: #008c45;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.3);
}

.btn-success::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--hover-transition);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 191, 255, 0.15);
}

.service-card i {
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
    transition: var(--hover-transition);
}

.service-card:hover i {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.service-card .btn-outline-light {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    margin-top: 1rem;
    transition: var(--hover-transition);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card .btn-outline-light:hover {
    background-color: var(--accent-blue);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

/* Newsletter Section */
.newsletter-container {
    background: linear-gradient(45deg, rgba(0, 191, 255, 0.1), rgba(255, 87, 34, 0.1));
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem !important;
}

.newsletter-container h2 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 30px 0 0 30px;
    height: 50px;
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.newsletter-form .btn-primary {
    border-radius: 0 30px 30px 0;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-blue);
    border: none;
    transition: var(--hover-transition);
}

.newsletter-form .btn-primary:hover {
    background-color: var(--accent-orange);
    transform: translateX(3px);
}

/* Contact Page Styles */
.contact-info-card {
    background: linear-gradient(145deg, rgba(44, 44, 44, 0.9), rgba(26, 26, 26, 0.9));
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-info-card h2 {
    color: var(--accent-orange);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    color: var(--accent-blue);
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 1.5rem;
}

.contact-info-card address {
    margin-bottom: 0;
}

.contact-info-card i {
    color: var(--accent-yellow);
    width: 24px;
    margin-right: 10px;
}

.contact-form-card {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.95), rgba(26, 26, 26, 0.95));
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-form-card h2 {
    color: var(--accent-orange);
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

.contact-info-sidebar .info-card {
    background: linear-gradient(145deg, rgba(44, 44, 44, 0.8), rgba(26, 26, 26, 0.8));
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-info-sidebar .info-card:hover {
    transform: translateY(-5px);
}

.contact-info-sidebar h3 {
    color: var(--accent-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-info-sidebar i {
    color: var(--accent-yellow);
    margin-right: 10px;
}

.accordion-item {
    background: linear-gradient(145deg, rgba(44, 44, 44, 0.7), rgba(26, 26, 26, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.accordion-button {
    background: linear-gradient(145deg, rgba(44, 44, 44, 0.9), rgba(26, 26, 26, 0.9));
    color: var(--text-light);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(145deg, var(--accent-blue), rgba(0, 191, 255, 0.8));
    color: var(--text-light);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background: rgba(26, 26, 26, 0.5);
    color: var(--text-light);
}

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

.product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.2));
    pointer-events: none;
}

.product-card:hover .product-image-container::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.3));
}

/* Improve category section titles */
section h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 3px;
   
    transform: translateX(-50%);
}

.brand-icon {
  font-size: 1.4rem;
  color: var(--accent-blue);
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--hover-transition);
  position: relative;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid var(--accent-blue);
  opacity: 0.5;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

.brand-text {
  background: linear-gradient(to right, var(--accent-orange), #FFAA80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-brand:hover .brand-icon {
  transform: rotate(-15deg);
  background: var(--accent-blue);
  color: white;
}
