/* 
Baykar Garden Blog CSS
Theme: Turkish Garden Blog
*/

/* Reset and Base Styles */
:root {
  --primary-color: #3a7d44;
  --secondary-color: #d4a373;
  --accent-color: #e9b44c;
  --dark-color: #35495e;
  --light-color: #f5f5f5;
  --text-color: #333333;
  --text-light: #666666;
  --border-color: #dddddd;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --border-radius-lg: 8px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fafafa;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
}

.btn:hover {
  background-color: #2d6336;
  color: white;
  transform: translateY(-2px);
}

.center {
  text-align: center;
  margin: 2rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  padding: 0.5rem;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 8rem 0;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Quote of the Day */
.quote-of-the-day {
  background-color: var(--light-color);
  padding: 4rem 0;
  text-align: center;
}

.quote-of-the-day h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

blockquote {
  font-size: 1.5rem;
  font-style: italic;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

blockquote:before,
blockquote:after {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.3;
  position: absolute;
}

blockquote:before {
  top: -2rem;
  left: 0;
}

blockquote:after {
  bottom: -4rem;
  right: 0;
  content: '"';
}

blockquote cite {
  display: block;
  font-size: 1rem;
  font-style: normal;
  margin-top: 1rem;
  color: var(--text-light);
}

/* Featured Posts */
.featured-posts {
  padding: 5rem 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.read-more:after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 10px;
}

/* Welcome Letter */
.welcome-letter {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.letter-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.letter-content h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.letter {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: left;
  position: relative;
}

.letter:before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  width: 30px;
  height: 30px;
  background-color: white;
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}

.letter p {
  margin-bottom: 1rem;
}

/* Blog Page Styles */
.page-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/5.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 0;
}

.page-banner h1 {
  color: white;
  font-size: 3rem;
}

.blog-content {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-text {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  margin-bottom: 1rem;
}

.blog-meta span {
  margin-right: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-meta .category {
  color: var(--primary-color);
  font-weight: 600;
}

.blog-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* About Page Styles */
.about-content {
  padding: 5rem 0;
}

.about-story, .about-mission {
  margin-bottom: 5rem;
}

.story-content, .mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-image img, .mission-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.mission-content {
  grid-template-columns: 1.5fr 1fr;
}

.mission-text ul {
  margin-left: 1.5rem;
  list-style-type: disc;
}

.mission-text ul li {
  margin-bottom: 0.5rem;
}

.team-section {
  text-align: center;
}

.team-section h2 {
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding-bottom: 1.5rem;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.team-member h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.2rem;
}

.team-member p {
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
}

/* Gallery Page Styles */
.gallery-filters {
  padding: 3rem 0;
  text-align: center;
}

.gallery-filters h2 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background-color: var(--light-color);
  border: 2px solid var(--border-color);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.gallery-grid {
  padding-bottom: 5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay h3 {
  color: white;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
}

/* Contact Page Styles */
.contact-content {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2, .contact-form-container h2 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.info-item {
  display: flex;
  margin-bottom: 2rem;
}

.info-icon {
  margin-right: 1.5rem;
  color: var(--primary-color);
}

.info-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-social {
  margin-top: 3rem;
}

.contact-social h3 {
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 125, 68, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

.form-checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-color);
}

.map-section {
  padding-bottom: 5rem;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.thank-you-content {
  padding: 1rem;
}

.thank-you-content svg {
  margin: 0 auto 1rem;
}

.thank-you-content h2 {
  color: var(--success-color);
}

.close-btn {
  margin-top: 1rem;
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: #b3b3b3;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 10px;
}

.footer-social .social-icons {
  margin-top: 1rem;
}

.footer-social .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-social .social-icons a:hover {
  background-color: white;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright p {
  margin-bottom: 0;
  opacity: 0.8;
}

.legal-links a {
  color: #b3b3b3;
  margin-left: 1.5rem;
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: white;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-accept {
  background-color: var(--success-color);
}

.btn-customize {
  background-color: var(--warning-color);
  color: var(--dark-color);
}

.btn-decline {
  background-color: var(--danger-color);
}

.cookie-more {
  margin-left: 1rem;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .blog-card {
    grid-template-columns: 1fr;
  }
  
  .blog-image {
    height: 300px;
  }
  
  .story-content, .mission-content, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mission-content {
    display: flex;
    flex-direction: column-reverse;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav ul li {
    margin-left: 0;
  }
  
  blockquote {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
  
  .blog-meta {
    flex-direction: column;
  }
  
  .blog-meta span {
    margin-bottom: 0.5rem;
  }
  
  .filters {
    flex-direction: column;
    align-items: center;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    margin-top: 1rem;
  }
  
  .legal-links a {
    margin: 0 0.75rem;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .page-banner h1 {
    font-size: 2rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}
