/* Base Styles */
:root {
    --primary-color: #e30613; /* Canadian red */
    --secondary-color: #003f87; /* Deep blue */
    --accent-color: #00a651; /* Forest green */
    --light-color: #ffffff;
    --dark-color: #333333;
    --gray-color: #f8f9fa;
    --text-color: #4a4a4a;
    --border-color: #e1e1e1;
    
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

h2 {
    font-size: 2rem;
    font-weight: 600;
}

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

p {
    margin-bottom: 1rem;
}

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

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

.section-title {
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

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

section {
    padding: 5rem 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #c0050f;
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: #002d6b;
    color: var(--light-color);
}

.btn-text {
    background: none;
    border: none;
    color: var(--secondary-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

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

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%234b7bec"/><path d="M0,400 Q300,300 600,400 T1200,400 L1200,600 L0,600 Z" fill="%233867d6"/><path d="M0,450 Q300,350 600,450 T1200,450 L1200,600 L0,600 Z" fill="%232d3436"/><rect x="100" y="200" width="200" height="150" fill="%23a5b1c2"/><rect x="120" y="220" width="30" height="30" fill="%23dfe4ea"/><rect x="170" y="220" width="30" height="30" fill="%23dfe4ea"/><rect x="220" y="220" width="30" height="30" fill="%23dfe4ea"/><rect x="120" y="270" width="30" height="30" fill="%23dfe4ea"/><rect x="170" y="270" width="30" height="30" fill="%23dfe4ea"/><rect x="220" y="270" width="30" height="30" fill="%23dfe4ea"/><path d="M100,200 L200,150 L300,200" fill="%23a5b1c2"/><rect x="500" y="250" width="300" height="200" fill="%23a5b1c2"/><rect x="530" y="280" width="40" height="40" fill="%23dfe4ea"/><rect x="600" y="280" width="40" height="40" fill="%23dfe4ea"/><rect x="670" y="280" width="40" height="40" fill="%23dfe4ea"/><rect x="730" y="280" width="40" height="40" fill="%23dfe4ea"/><rect x="530" y="340" width="40" height="40" fill="%23dfe4ea"/><rect x="600" y="340" width="40" height="40" fill="%23dfe4ea"/><rect x="670" y="340" width="40" height="40" fill="%23dfe4ea"/><rect x="730" y="340" width="40" height="40" fill="%23dfe4ea"/><rect x="900" y="300" width="150" height="100" fill="%23a5b1c2"/><rect x="920" y="320" width="30" height="30" fill="%23dfe4ea"/><rect x="970" y="320" width="30" height="30" fill="%23dfe4ea"/><rect x="900" y="300" width="150" height="20" fill="%232d3436"/><circle cx="950" cy="100" r="30" fill="%23fed330"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 8rem 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero h1 {
    color: var(--light-color);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

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

/* Featured Destinations */
.featured-destinations {
    background-color: var(--gray-color);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.destination-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.destination-img {
    height: 200px;
    overflow: hidden;
}

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

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

.destination-info {
    padding: 1.5rem;
}

.destination-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.destination-info p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.view-all-link {
    text-align: center;
    margin-top: 2rem;
}

.view-all-link a {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.view-all-link a:hover {
    color: var(--primary-color);
}

.view-all-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.view-all-link a:hover i {
    transform: translateX(5px);
}

/* About Canada Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    text-align: left;
}

.about-content h2::after {
    left: 0;
    transform: none;
}

.about-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

/* Latest Blogs Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

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

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

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

.blog-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.blog-info p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-color);
    align-self: flex-start;
}

.read-more i {
    margin-left: 0.3rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--gray-color);
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 0 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    margin-bottom: 0;
    color: #777;
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.prev-testimonial,
.next-testimonial {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--light-color);
}

.newsletter-form {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    margin-bottom: 1rem;
}

.form-group input {
    flex-grow: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.form-group button {
    border-radius: 0 4px 4px 0;
}

.form-check {
    text-align: left;
    font-size: 0.9rem;
}

.form-check input {
    margin-right: 0.5rem;
}

.form-check a {
    color: var(--light-color);
    text-decoration: underline;
}

.form-check a:hover {
    color: #ccc;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
}

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

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.footer-links ul {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: var(--light-color);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-contact a {
    color: #aaa;
}

.footer-contact a:hover {
    color: var(--light-color);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.cookie-options {
    margin: 1.5rem 0;
}

.cookie-option {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.cookie-option label {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.cookie-option label span {
    font-weight: normal;
    font-size: 0.8rem;
    color: #aaa;
    margin-left: 0.5rem;
}

.cookie-option p {
    margin-left: 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

/* Blog Detail Page */
.blog-detail {
    padding: 3rem 0;
}

.blog-header {
    margin-bottom: 2rem;
    text-align: center;
}

.blog-meta {
    color: #777;
    margin-bottom: 1rem;
}

.blog-meta span {
    margin-right: 1rem;
}

.blog-meta i {
    margin-right: 0.3rem;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content h2, 
.blog-content h3 {
    margin: 2rem 0 1rem;
}

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

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

.blog-img-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.blog-img-container img {
    width: 100%;
    height: auto;
}

/* Destinations Page */
.destinations-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-form {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

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

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

.form-row textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

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

.contact-info-item i {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.contact-info-item a {
    color: var(--light-color);
}

.map {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.legal-content h2 {
    margin: 2rem 0 1rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 2rem;
}

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

/* Subscribe Thanks Page */
.thanks-container {
    text-align: center;
    padding: 5rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.thanks-container h1 {
    margin-bottom: 1.5rem;
}

.thanks-container p {
    margin-bottom: 2rem;
}
