/* 
Australia Cruise Explorer Stylesheet
Theme: Travel/Cruising
*/

/* Global Styles and Variables */
:root {
  --primary-color: #0072b5;
  --secondary-color: #e9791f;
  --accent-color: #00a4bd;
  --dark-color: #033b59;
  --light-color: #f5f9fc;
  --text-color: #333;
  --light-text: #fff;
  --gray-text: #666;
  --border-color: #e0e0e0;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --container-width: 1200px;
}

* {
  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: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  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;
}

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

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

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-2px);
}

.center {
  text-align: center;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  max-height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 5px 0;
  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(3, 59, 89, 0.7), rgba(3, 59, 89, 0.7)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
  padding: 120px 0;
  margin-bottom: 60px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--light-text);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Welcome Languages Section */
.welcome-languages {
  padding: 50px 0;
  background-color: var(--light-color);
  margin-bottom: 60px;
}

.welcome-languages h2 {
  text-align: center;
  margin-bottom: 30px;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.languages p {
  margin: 0;
  padding: 10px 20px;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.languages .lang {
  font-weight: bold;
  color: var(--primary-color);
}

/* Featured Posts Section */
.featured-posts {
  padding: 60px 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.post {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

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

.post h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.post p {
  padding: 0 20px;
  color: var(--gray-text);
}

.post .read-more {
  display: inline-block;
  padding: 0 20px 20px;
  color: var(--primary-color);
  font-weight: 600;
}

.post .read-more:hover {
  color: var(--secondary-color);
}

/* Info Cards Section */
.info-cards {
  padding: 60px 0;
  background-color: var(--light-color);
}

.info-cards .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.card .icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.card .icon svg {
  width: 48px;
  height: 48px;
  fill: var(--primary-color);
}

.card h3 {
  margin-bottom: 15px;
}

.card p {
  color: var(--gray-text);
  margin-bottom: 0;
}

/* Call to Action Section */
.cta {
  padding: 80px 0;
  background-image: linear-gradient(rgba(0, 114, 181, 0.9), rgba(0, 114, 181, 0.9)), url('images/2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
}

.cta h2 {
  color: var(--light-text);
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--secondary-color);
}

.newsletter-form button:hover {
  background-color: #d36b14;
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 60px 0 20px;
}

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

.footer-logo img {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: #aaa;
}

.footer-links h3,
.footer-legal h3,
.footer-social h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
  color: #aaa;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #fff;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

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

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

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: #fff;
  padding: 15px;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 15px;
  max-width: 800px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-cookie {
  padding: 8px 15px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.accept {
  background-color: var(--primary-color);
  color: #fff;
}

.customize {
  background-color: #555;
  color: #fff;
}

.decline {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.accept:hover {
  background-color: #005d94;
}

.customize:hover {
  background-color: #444;
}

.decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
  color: #aaa;
  font-size: 0.9rem;
  text-decoration: underline;
}

.cookie-link:hover {
  color: #fff;
}

/* Page Banner */
.page-banner {
  background-image: linear-gradient(rgba(3, 59, 89, 0.8), rgba(3, 59, 89, 0.8)), url('images/3.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
  padding: 80px 0;
  margin-bottom: 60px;
}

.page-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--light-text);
}

.page-banner p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Overview */
.blog-overview {
  padding: 0 0 40px;
  background-color: #fff;
}

.blog-overview h2 {
  margin-bottom: 20px;
}

.blog-topics {
  background-color: var(--light-color);
  padding: 25px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.blog-topics li {
  margin-bottom: 10px;
}

.blog-topics li:last-child {
  margin-bottom: 0;
}

/* Blog Posts Section */
.blog-posts {
  padding: 40px 0 60px;
}

.blog-posts .post {
  display: flex;
  flex-direction: column;
}

.blog-posts .post img {
  height: 250px;
}

.post-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  gap: 20px;
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Single Blog Post */
.blog-post {
  padding: 60px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 30px;
}

.post-header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.post-feature-image {
  margin-bottom: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-feature-image img {
  width: 100%;
  height: auto;
}

.post-article-overview {
  background-color: var(--light-color);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
}

.post-article-overview h2 {
  margin-bottom: 15px;
}

.post-article-overview ul {
  margin-bottom: 0;
}

.post-content {
  margin-bottom: 40px;
}

.post-content h2 {
  margin-top: 40px;
  font-size: 1.8rem;
}

.post-content h3 {
  margin-top: 30px;
  font-size: 1.4rem;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content ul, 
.post-content ol {
  margin-bottom: 30px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 60px;
}

.back-to-blog {
  font-weight: 600;
}

.post-nav-links {
  display: flex;
  gap: 20px;
}

.prev-post, .next-post {
  font-weight: 600;
}

/* Related Posts */
.related-posts {
  padding: 60px 0;
  background-color: var(--light-color);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* About Page */
.about-intro {
  padding: 60px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.values {
  padding: 60px 0;
  background-color: var(--light-color);
}

.values h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.value-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.value-card .icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.value-card .icon svg {
  fill: var(--primary-color);
}

.team {
  padding: 60px 0;
}

.team h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.team-member {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

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

.team-member h3 {
  margin: 20px 0 5px;
  padding: 0 15px;
}

.team-member p {
  padding: 0 15px 20px;
  margin-bottom: 0;
}

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

.testimonials {
  padding: 60px 0;
  background-color: var(--light-color);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.testimonial {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.quote {
  position: relative;
  padding-left: 25px;
  margin-bottom: 20px;
}

.quote:before {
  content: """;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-color);
}

.testimonial-author {
  text-align: right;
  font-style: italic;
  color: var(--gray-text);
}

/* Contact Page */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 50px;
}

.contact-info h2 {
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-item .icon {
  margin-right: 20px;
  color: var(--primary-color);
}

.info-item .icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-color);
}

.info-item h3 {
  margin-bottom: 5px;
}

.social-contact h3 {
  margin-bottom: 15px;
}

.contact-form-container {
  background-color: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form-container h2 {
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

.contact-form button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.map-section {
  padding: 60px 0;
  background-color: var(--light-color);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

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

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

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

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  fill: var(--primary-color);
  margin: 0 auto 20px;
}

.thank-you-message h3 {
  margin-bottom: 15px;
}

.thank-you-message p {
  margin-bottom: 25px;
}

.close-thank-you {
  display: inline-block;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .post-header h1 {
    font-size: 2.3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
  
  .languages {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
}
