/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-family: "Inter", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e88e5, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: 4rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #1e88e5;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1e88e5, #00bcd4);
  border-radius: 1px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 120px 0 2rem;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
  display: flex;
  align-items: center;
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.hero-content {
  flex: 1.5; /* Increased from 1 to give more space to text content */
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1e88e5;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1; /* Kept at 1 to make image smaller relative to content */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 450px; /* Added max-width constraint */
  height: 500px; /* Fixed height for consistent appearance */
  object-fit: cover; /* Ensures image fills the space nicely */
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #1e88e5, #00bcd4);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #1e88e5;
  border: 2px solid #1e88e5;
}

.btn-secondary:hover {
  background: #1e88e5;
  color: white;
  transform: translateY(-2px);
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e88e5;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
}

/* Services Preview */
.services-preview {
  padding: 5rem 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #1e88e5;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

.cta-section {
  text-align: center;
  margin-top: 1rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Changed from 1fr 1fr to give more space to text */
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.about-description p {
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.7;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 400px; /* Added max-width constraint */
  height: 500px; /* Fixed height for consistent appearance */
  object-fit: cover; /* Ensures image fills the space nicely */
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gallery Preview */
.gallery-preview {
  padding: 5rem 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Page Hero */
.page-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #1e88e5, #00bcd4);
  color: white;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Services Detailed */
.services-detailed {
  padding: 5rem 0;
  background: #f8f9fa;
}

.services-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-detailed-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detailed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-size: 1.5rem;
  color: #1e88e5;
  margin-bottom: 1rem;
}

.service-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.spec {
  background: #e8f8f5;
  color: #4caf50;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.service-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e88e5;
  margin-bottom: 1.5rem;
}

/* Services Gallery */
.services-gallery {
  padding: 5rem 0;
  background: white;
}

.gallery-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-grid-large .gallery-item img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.contact-info h2 {
  color: #1e88e5;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  background: linear-gradient(135deg, #1e88e5, #00bcd4);
  color: white;
  padding: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-item h3 {
  color: #1e88e5;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Contact Form */
.contact-form-container {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  color: #1e88e5;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e88e5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  color: #f44336;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.visible {
  display: block;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #f44336;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e88e5, #00bcd4);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00bcd4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
}

/* About Page Styles */
.about-detailed {
  padding: 2rem 0; /* намалено от 5rem 0 */
  background: white;
}

.values-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.value-card h3 {
  font-size: 1.5rem;
  color: #1e88e5;
  margin-bottom: 1rem;
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

.why-choose-us {
  padding: 5rem 0;
  background: white;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.reason-item {
  text-align: center;
  padding: 2rem;
}

.reason-number {
  font-size: 3rem;
  font-weight: 700;
  color: #1e88e5;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.reason-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1rem;
}

.reason-item p {
  color: #666;
  line-height: 1.6;
}

/* Improved Services Styles */
.services-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
  border-radius: 20px;
}

.services-intro-text {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid-improved {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card-improved {
  background: white;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 2px solid transparent;
}

.service-card-improved:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #1e88e5;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
}

.service-image-small {
  flex-shrink: 0;
}

.service-image-small img {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
}

.service-title-section h3 {
  font-size: 1.3rem;
  color: #1e88e5;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.service-tier {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.service-tier.premium {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
}

.service-tier.standard {
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  color: white;
}

.service-specs-improved {
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #555;
}

.spec-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-description {
  padding: 1rem 2rem;
}

.service-description p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.service-footer {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  margin-top: 1rem;
}

.price-section {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e88e5;
  margin-bottom: 1.5rem;
}

.price-currency {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Clean Services Styles */
.services-intro-clean {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.services-intro-clean p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.services-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.service-card-clean {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.service-description-clean {
  margin-bottom: auto;
  flex-grow: 1;
}

.service-price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.service-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-badge.premium {
  background: linear-gradient(135deg, #1e88e5, #00bcd4);
  color: white;
}

.service-badge.standard {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: white;
}

.service-title {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.service-title h3 {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
  font-weight: 600;
}

.service-specs-clean {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* Променено от flex-start на baseline */
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
  /* Премахнато: flex-wrap: wrap; */
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 500;
  color: #666;
  font-size: 0.9rem;
  flex-shrink: 0; /* Added to prevent shrinking */
}

.spec-value {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  flex-grow: 1; /* Added to take available space */
  text-align: right; /* Added to align content to the right */
}

.service-description-clean {
  margin-bottom: 2rem;
}

.service-description-clean p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.service-price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.price-clean {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.bgn-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.bgn-value {
  font-size: 2.2rem; /* Main BGN number size */
  font-weight: 700;
  color: #1e88e5;
  line-height: 1;
}

.bgn-label {
  font-size: 0.9rem; /* Smaller font size for "лв. с ДДС" */
  font-weight: 500;
  color: #1e88e5;
  white-space: nowrap; /* Ensure it stays on one line */
}

.price-clean .currency {
  font-size: 0.9rem; /* Smaller font size for EUR and VAT */
  color: #666; /* Grey color for EUR and VAT */
  font-weight: 500;
  line-height: 1.2;
}

.btn-clean {
  background: #1e88e5;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-clean:hover {
  background: #1976d2;
  transform: translateY(-1px);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Form help text */
.form-help-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
}

/* Developer Credit Styles */
.footer-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.developer-credit {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  color: white;
}

.developer-name {
  color: white;
  font-size: 1rem; /* Същият размер като copyright текста */
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-grid-improved {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .service-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .service-btn {
    text-align: center;
    width: 100%;
  }

  .services-intro {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    margin-left: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .logo-img {
    height: 70px; /* увеличено от 60px */
    width: auto;
  }

  .logo-text {
    font-size: 1.6rem; /* увеличено от 1.4rem */
  }

  .hero-content-wrapper {
    flex-direction: column; /* Променено от column-reverse */
    text-align: center;
    gap: 1.5rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    flex: 1;
    min-width: 140px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 180px 0 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-detailed {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .gallery-grid-large {
    grid-template-columns: 1fr;
  }

  .services-preview {
    padding: 3rem 0;
  }

  .cta-section {
    margin-top: 0.5rem;
  }

  .gallery-preview {
    padding: 3rem 0 2rem;
  }

  .page-hero {
    padding: 120px 0 50px; /* намалено от 150px 0 80px */
    background: linear-gradient(135deg, #1e88e5, #00bcd4);
    color: white;
    text-align: center;
  }

  .contact-info {
    position: static; /* премахва sticky позиционирането на мобилни */
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: auto;
    margin-bottom: 2rem;
  }

  .about-image img {
    max-width: 100%; /* Full width on mobile */
    height: 350px; /* Smaller height on mobile */
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .hero {
    padding: 160px 0 2rem;
  }

  .logo-text {
    font-size: 1.4rem; /* увеличено от 1.2rem */
  }

  .logo-img {
    height: 65px; /* добавено за малки екрани */
    width: auto;
  }
}

@media (max-width: 768px) {
  .footer-credits {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }

  .developer-credit {
    font-size: 0.9rem;
  }

  .developer-name {
    font-size: 0.9rem;
  }
}

/* Mobile responsiveness for clean design */
@media (max-width: 768px) {
  .services-grid-clean {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card-clean {
    padding: 1.5rem;
  }

  .service-price-section {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .btn-clean {
    text-align: center;
    width: 100%;
  }

  .services-intro-clean {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
}

/* CTA Consultation specific styles */
.cta-consultation {
  background: linear-gradient(135deg, #e8f8f5, #f8fffe); /* По-светъл фон за CTA */
  border: 1px solid #d0e0f0;
  padding: 1.5rem;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-consultation .contact-icon {
  background: linear-gradient(135deg, #00bcd4, #1e88e5); /* По-ярък цвят за иконата */
  padding: 1.2rem;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-consultation h3 {
  color: #1e88e5;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.cta-consultation p {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.btn-small {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 30px;
}

/* Adjustments for contact-item layout when it's a column */
.contact-item.cta-consultation > div {
  text-align: center;
}
