/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;700;900&family=Dancing+Script:wght@700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a73e8;
    --santorini-blue: #3b5998;
    --santorini-dark-blue: #1e3c72;
    --santorini-light-blue: #6193e8;
    --santorini-accent: #5cc1f8;
    --sunset-color: #ff7e5f;
    --off-white: #f9f9f9;
    --dark-gray: #333;
    --light-gray: #ddd;
    --text-color: #444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-gray);
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--santorini-blue), var(--santorini-accent));
    border-radius: 3px;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: var(--santorini-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--santorini-dark-blue);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iMiIgZmlsbD0iI2YwZjZmZiIgZmlsbC1vcGFjaXR5PSIwLjQiLz48L3N2Zz4=');
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
}

.alternate {
    background-color: var(--off-white);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 12px 5%;
    background-color: rgba(255, 255, 255, 0.98);
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--santorini-blue);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: var(--dark-gray);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--santorini-blue), var(--santorini-light-blue));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--santorini-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--santorini-blue);
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://plus.unsplash.com/premium_photo-1661964149725-fbf14eabd38c?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 60px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 900;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Dancing Script', cursive;
}

.cta-button {
    padding: 16px 35px;
    background: linear-gradient(to right, var(--santorini-blue), var(--santorini-light-blue));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 89, 152, 0.5);
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text, .about-image {
    flex: 1;
}

.about-text p:first-child {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    color: var(--santorini-dark-blue);
    font-weight: 300;
    line-height: 1.8;
}

.about-image .image-placeholder {
    background-image: url('https://th-thumbnailer.cdn-si-edu.com/EoKQKUUiaMt5IBo7On52rG0xuRA=/960x439/filters:focal(1060x707:1061x708)/https://tf-cmsv2-journeys-media.s3.amazonaws.com/filer_public/37/f1/37f19b22-5263-4789-99b8-b88222c708ca/grc_santorini_oia_ist_166699696.jpg');
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    height: 400px;
}

/* Attractions Section */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.attraction-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    transform: translateY(0);
}

.attraction-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.attraction-card .image-placeholder {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.attraction-card h3 {
    padding: 25px 25px 15px;
    font-size: 1.5rem;
    color: var(--santorini-dark-blue);
}

.attraction-card p {
    padding: 0 25px 30px;
    color: #666;
}


/* Culture Section */
.culture-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.culture-text, .culture-image {
    flex: 1;
}

.culture-image .image-placeholder {
    background-image: url('https://www.magnificenttravel.com/public/thumbs/1200x630-thumbnail-Santorini-8.jpg');
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    height: 400px;
}

.culture-text h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--santorini-blue);
    font-size: 1.5rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {

    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;

      
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Travel Tips Section */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.tip-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--santorini-blue), var(--santorini-light-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tip-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tip-card:hover::before {
    transform: scaleX(1);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tip-card h3 {
    margin-bottom: 20px;
    color: var(--santorini-blue);
    font-size: 1.5rem;
}



/* Image Placeholders with improved styling */
.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #eef4ff;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: 'Image: ' attr(data-alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #555;
    font-size: 1rem;
    text-align: center;
    width: 80%;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--santorini-blue), var(--santorini-light-blue));
    color: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Lightbox styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .about-content, .culture-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text, .about-image, .culture-text, .culture-image {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        background-color: white;
        flex-direction: column;
        width: 250px;
        height: 100vh;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.nav-active {
        transform: translateX(0%);
    }
    
    .nav-links li {
        margin: 0;
        opacity: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .image-placeholder {
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .attraction-card, .beach-card, .tip-card {
        transform: none !important;
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* Animation Classes */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Footer Section */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0;
    font-family: 'Arial', sans-serif;
    width: 100%; /* Ensure footer spans full width */
    position: relative; /* Position it at the bottom without gaps */
    left: 0; /* Remove any margin or padding */
}

.footer-container {
    max-width: 1200px; /* Limit the width of the footer content */
    margin: 0 auto; /* Center the content */
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    margin-right: 1rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
}
