/* Base Styles */
:root {
  --primary-color: #1c7ed6;
  --primary-dark: #1864ab;
  --primary-light: #74c0fc;
  --secondary-color: #f76707;
  --secondary-dark: #e8590c;
  --accent-color: #ffec99;
  --text-color: #333;
  --text-light: #777;
  --text-white: #fff;
  --bg-color: #fff;
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
  --border-color: #dee2e6;
  --border-radius: 6px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --greece-blue: #0d5eaf;
  --greece-light-blue: #3986d6;
  --mykonos-white: #f7f7f7;
  --mykonos-blue: #1a5fb4;
}

* {
  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: var(--bg-color);
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: var(--text-color);
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.2rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-text {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--greece-blue);
  color: var(--text-white);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-text {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.5rem 0;
  border: none;
  border-bottom: 2px solid transparent;
}

.btn-text:hover {
  border-bottom-color: var(--primary-color);
}

.center-btn {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Header */
header {
  background-color: var(--mykonos-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

.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:hover, nav ul li a.active {
  color: var(--greece-blue);
}

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--greece-blue);
}

/* 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: var(--text-white);
  padding: 8rem 0;
  text-align: center;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  color: var(--text-white);
}

.feature-icon svg {
  width: 35px;
  height: 35px;
}

.feature h3 {
  margin-bottom: 1rem;
}

/* Blog Preview Section */
.blog-preview {
  padding: 5rem 0;
}

.blog-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-bottom: 0.5rem;
}

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

/* Stats Section */
.stats-section {
  padding: 4rem 0;
  background-color: var(--greece-blue);
  color: var(--text-white);
}

.stats-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-white);
}

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

.stat-box {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.stat-box p {
  font-size: 1.1rem;
  margin: 0;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-light);
}

.testimonial-content p::after {
  content: '"';
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-white);
  text-align: center;
}

.cta h2 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
  color: var(--text-white);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-legal ul li a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
  color: var(--text-white);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-white);
  transition: var(--transition);
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

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

.page-header h1 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Page */
.blog-main {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.blog-grid .blog-card {
  margin-bottom: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Blog Post Page */
.blog-post {
  padding: 5rem 0;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.author {
  margin-top: 1rem;
  font-style: italic;
  color: var(--text-light);
}

.post-image {
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.stats-box, .tips-box {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.stats-box h3, .tips-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.stats-box ul, .tips-box ul {
  list-style: none;
  padding-left: 0;
}

.stats-box li, .tips-box li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.stats-box li:before, .tips-box li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.post-conclusion {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin-top: 3rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-navigation {
  margin: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-previous, .nav-next {
  max-width: 45%;
}

.nav-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.post-title {
  font-weight: 600;
}

.related-posts {
  margin-bottom: 4rem;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.related-post {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

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

.related-post h4 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1.1rem;
}

.related-post a {
  display: inline-block;
  padding: 0 1rem 1rem;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.mission-values {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.mission-values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background-color: var(--greece-blue);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  color: var(--text-white);
}

.team-section {
  padding: 5rem 0;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

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

.team-member img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: var(--box-shadow);
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-member p:first-of-type {
  color: var(--greece-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member .social-links {
  justify-content: center;
  margin-top: 1rem;
}

.partners {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.partners h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.partners > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.partner:hover {
  transform: scale(1.05);
}

.partner img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
}

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

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

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

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

.info-icon {
  flex: 0 0 50px;
  height: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--greece-blue);
}

.info-content {
  flex: 1;
}

.info-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.info-content p {
  color: var(--text-light);
}

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

.contact-form-container h2 {
  margin-bottom: 1rem;
}

.contact-form-container > p {
  margin-bottom: 2rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

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

.checkbox-group label {
  font-weight: 400;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
}

.map-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.faq-section {
  padding: 5rem 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--greece-blue);
}

.faq-item p {
  margin-bottom: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
}

.modal-content {
  background-color: var(--bg-color);
  margin: 10% auto;
  padding: 0;
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  animation: modalOpen 0.4s;
}

@keyframes modalOpen {
  from {opacity: 0; transform: scale(0.8);}
  to {opacity: 1; transform: scale(1);}
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.success-icon {
  color: green;
  margin-bottom: 1rem;
}

.modal-body h2 {
  margin-bottom: 1rem;
}

.modal-body p {
  margin-bottom: 2rem;
}

.close-btn {
  padding: 0.8rem 2rem;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

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

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

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

.btn-cookie {
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-cookie.accept {
  background-color: var(--greece-blue);
  color: var(--text-white);
}

.btn-cookie.customize {
  background-color: transparent;
  border: 1px solid var(--text-white);
  color: var(--text-white);
}

.btn-cookie.decline {
  background-color: transparent;
  color: var(--text-light);
}

.cookie-link {
  color: var(--primary-light);
  margin-left: auto;
  flex: 0 0 100%;
  text-align: right;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 1rem 15px;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem;
  }
  
  .hero {
    padding: 5rem 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .post-header h1 {
    font-size: 2.2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    margin: 1rem 0;
  }
  
  .cookie-link {
    text-align: left;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .blog-posts,
  .testimonial-slider,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-member {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .modal-content {
    margin: 20% auto;
    width: 95%;
  }
  
  nav ul {
    flex-wrap: wrap;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
}
