:root {
  --deep-aegean-blue: #0F4C75;
  --turquoise: #2EC4B6;
  --sand-beige: #F4F1EC;
  --dark-gray: #334155;
  --white: #ffffff;
}

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

body { 
  font-family: 'Inter', sans-serif; 
  background: var(--sand-beige); 
  color: var(--dark-gray); 
  overflow-x: hidden; 
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.about-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--deep-aegean-blue);
    margin-bottom: 20px;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 30px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(15, 76, 117, 0.9), rgba(15, 76, 117, 0.3));
}

.logo { 
  font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
    color: var(--white);
}

.logo span { 
    color: var(--turquoise);
  font-weight: 900; 
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    transition: 0.3s;
}

.lang-switch {
    font-weight: 600;
    border: 1px solid var(--white);
    padding: 5px 10px;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

/* Hero Section */
.hero-slideshow {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('../images/sea1.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(120deg, rgba(15, 76, 117, 0.92), rgba(46, 196, 182, 0.72));
    color: var(--white);
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.hero p {
    max-width: 760px;
    margin: 0 auto;
}

.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content h2 {
    margin-bottom: 16px;
    color: var(--deep-aegean-blue);
}

.content p {
    max-width: 780px;
}

.odnt-wrap,
.partner-cta {
    margin: 24px 0;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.data-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 76, 117, 0.12);
}

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

.data-card-content {
    padding: 16px;
}

.data-card-date {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

.card-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--deep-aegean-blue);
    font-weight: 600;
    text-decoration: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15, 76, 117, 0.12);
    padding: 18px;
}

.context-links {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.context-links a {
    text-decoration: none;
    color: var(--deep-aegean-blue);
    font-weight: 600;
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gallery-track img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeZoom 54s infinite;
}

.gallery-track img:nth-child(1) { animation-delay: 0s; }
.gallery-track img:nth-child(2) { animation-delay: 6s; }
.gallery-track img:nth-child(3) { animation-delay: 12s; }
.gallery-track img:nth-child(4) { animation-delay: 18s; }
.gallery-track img:nth-child(5) { animation-delay: 24s; }
.gallery-track img:nth-child(6) { animation-delay: 30s; }
.gallery-track img:nth-child(7) { animation-delay: 36s; }
.gallery-track img:nth-child(8) { animation-delay: 42s; }
.gallery-track img:nth-child(9) { animation-delay: 48s; }

@keyframes fadeZoom {
    0%   { opacity: 0; transform: scale(1); }
    3%   { opacity: 1; }
    15%  { opacity: 1; }
    18%  { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

.hero-slideshow h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 5px; /* Increased letter spacing */
}

.hero-slideshow p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem; /* Increased font size */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px;
    transition: 0.3s;
}

/* About Diakopto Section */
.about-section {
    background-color: var(--sand-beige);
    padding: 100px 20px;
    text-align: center;
}

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

.about-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--turquoise);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--deep-aegean-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-body {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #334155;
    max-width: 620px;
    margin: 0 auto;
}

.about-body p {
    margin-bottom: 15px;
}

.about-divider {
    width: 60px;
    height: 2px;
    background: var(--turquoise);
    margin: 30px auto;
}

/* Experiences Grid */
.experiences-grid {
    padding: 80px 0;
    background: #fff;
}

.experiences-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.experience-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    overflow: hidden;
    text-decoration: none;
    color: var(--dark-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ddd;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

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

.experience-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.4rem;
    color: var(--deep-aegean-blue);
}

.experience-card p {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.gateways {
    margin-top: 0;
    background: #fff;
    padding: 56px 5%;
}

.gateways .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gateway-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15, 76, 117, 0.12);
    box-shadow: 0 6px 20px rgba(15, 76, 117, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gateway-card h3 {
    color: var(--deep-aegean-blue);
    padding: 14px;
}

.gateway-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(15, 76, 117, 0.2);
}

.vertical-banner {
    position: fixed;
    right: -42px;
    top: 56%;
    transform: rotate(-90deg);
    background: var(--deep-aegean-blue);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px 6px 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 900;
}

.cta-button {
    display: inline-block;
    background: var(--turquoise);
    color: #fff;
    padding: 10px 20px;
    margin: 0 20px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--deep-aegean-blue);
}

/* Tagline Section */
.tagline {
    padding: 80px 20px;
    background: linear-gradient(45deg, var(--turquoise), var(--deep-aegean-blue));
    text-align: center;
}

.tagline h2 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: var(--white);
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    padding: 80px 5%;
    background-color: var(--sand-beige);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--deep-aegean-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 740px;
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.4s;
    filter: grayscale(20%);
}

.gallery-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Featured Spots Section */
.featured-spots {
    padding: 80px 5%;
    background-color: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .experiences-grid .container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1200px;
        gap: 16px;
        padding: 0 16px;
    }

    .featured-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1200px;
        gap: 16px;
    }

    .gateways .container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .experience-card h3 {
        font-size: 1.18rem;
    }

    .featured-card img {
        height: 320px;
    }
}

@media (min-width: 1400px) {
    .experiences-grid .container,
    .featured-grid {
        max-width: 1280px;
        gap: 24px;
    }
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.featured-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}

.featured-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
}

/* Footer */
.main-footer {
    background-color: var(--deep-aegean-blue);
    color: var(--white);
    padding: 60px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-info p {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h4, .footer-social h4, .footer-newsletter h4 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

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

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: 0.3s;
}

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

.social-icons a {
    color: var(--white);
    text-decoration: none;
    margin-right: 15px;
    opacity: 0.7;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    padding: 12px 20px;
    border: 1px solid var(--turquoise);
    background: var(--turquoise);
    color: var(--deep-aegean-blue);
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: transparent;
    color: var(--turquoise);
}

/* 13-inch and desktop fine-tune overrides */
@media (min-width: 1024px) and (max-width: 1440px) {
    .experiences-grid .container,
    .featured-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1160px;
        gap: 14px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .gateways .container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1160px;
        gap: 14px;
    }

    .experience-card h3 {
        font-size: 1.08rem;
        line-height: 1.25;
    }

    .experience-card p {
        font-size: 0.93rem;
    }

    .featured-card img {
        height: 300px;
    }
}

@media (min-width: 1441px) {
    .experiences-grid .container,
    .featured-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1280px;
        gap: 24px;
    }

    .gateways .container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1280px;
        gap: 24px;
    }
}

/* Safari/WebKit laptop fallback (13-inch zoom resilience) */
@supports (-webkit-touch-callout: none) {
    @media (min-width: 1024px) and (max-width: 1440px) {
        .experiences-grid .container,
        .featured-grid,
        .gateways .container {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
        }

        .experiences-grid .container,
        .featured-grid {
            max-width: 1120px;
            padding-left: 12px;
            padding-right: 12px;
        }

        .gateways .container {
            max-width: 1120px;
        }

        .experience-card h3 {
            font-size: 1rem;
        }

        .experience-card p {
            font-size: 0.9rem;
        }
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 16px 5%;
        align-items: center;
    }

    .logo {
        font-size: 0.92rem;
        letter-spacing: 1.5px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: var(--white);
        border-radius: 3px;
    }

    .main-header nav, .main-header .lang-switch {
        display: none;
    }

    nav.nav-open {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--deep-aegean-blue);
        z-index: 1000;
        padding: 80px 24px 24px;
    }

    nav.nav-open ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    nav.nav-open ul li {
        margin-left: 0;
    }

    nav.nav-open ul li a {
        font-size: 1.05rem;
    }

    .hero-slideshow h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-slideshow p {
        font-size: 1.2rem;
        padding: 0 18px;
    }

    .tagline h2 {
        font-size: 1.7rem;
    }

    .featured-card img {
        height: 260px;
    }

    .gateways .container {
        grid-template-columns: 1fr 1fr;
    }

    .vertical-banner {
        display: none;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-title {
        font-size: 30px;
    }

    .about-body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 38vh;
        padding: 58px 16px;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

    .hero p,
    .content p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .experience-card img,
    .gateway-card img,
    .data-card img {
        height: 150px;
    }

    .gateways .container {
        grid-template-columns: 1fr;
    }
}
