/* Custom CSS for Onur Palet Website */
:root {
  --primary-color: #27ae60; /* Green tone for natural look */
  --secondary-color: #7f8c8d;
  --accent-color: #f39c12; /* Orange accent */
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --success-color: #27ae60;
  --info-color: #3498db;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --text-color: #333333;
  --heading-font: 'Montserrat', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --body-font: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--body-font);
  line-height: 1.7;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar-brand {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(39, 174, 96, 0.05)" stroke-width="1"/></svg>');
  opacity: 0.5;
}

.hero-section h1 {
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: -0.5px;
  animation: fadeInUp 1s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section p {
  font-size: 1.25rem;
  animation: fadeInUp 1s ease 0.2s both;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.display-4 {
  font-weight: 800;
  letter-spacing: -1px;
}

.display-5 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.display-6 {
  font-weight: 700;
}

/* Buttons */
.btn {
  font-family: var(--heading-font);
  border-radius: 4px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(39, 174, 96, 0.25);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 15px 35px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #219653);
  border: none;
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
}

/* Cards */
.card {
  border-radius: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  will-change: transform;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.card-title {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.card-body {
  padding: 1.5rem;
}

.card-text {
  color: #666;
  line-height: 1.6;
}

/* Features */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(243, 156, 18, 0.1)) !important;
  border: 2px solid var(--primary-color);
}

.feature-icon:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.2), rgba(243, 156, 18, 0.2)) !important;
  border: 2px solid var(--accent-color);
}

/* Testimonials */
.testimonial-card {
  position: relative;
  padding: 2rem;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.1;
  font-size: 4rem;
}

/* Contact Form */
.form-control {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid #e1e5e9;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
  background-color: #fff;
}

.form-label {
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.form-select {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid #e1e5e9;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c3e50, #1a2530);
  border-top: 5px solid var(--primary-color);
}

footer ul li a {
  transition: color 0.3s ease;
  position: relative;
  color: #bdc3c7 !important;
}

footer ul li a:hover {
  color: var(--accent-color) !important;
}

footer ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

footer ul li a:hover::after {
  width: 100%;
}

footer h5 {
  position: relative;
  padding-bottom: 15px;
  color: white;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section .btn {
    margin: 10px 0;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 8px 20px;
  }
  
  .card {
    margin-bottom: 20px;
  }
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color), #219653) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Professional Elements */
.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-title.text-start::after {
  left: 0;
  transform: translateX(0);
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
}

.text-muted {
  color: #6c757d !important;
}
