/* Base Styles & CSS Variables */
:root {
    /* Colors derived from the logo and cycladic aesthetics */
    --primary-blue: #0b3c80; /* Deep blue from logo */
    --primary-light: #e6f0fa;
    --accent-blue: #1a5ea8;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #fafafa;
    --white: #ffffff;
    --border-color: #e1e8ed;
    --shadow-sm: 0 4px 6px rgba(11, 60, 128, 0.05);
    --shadow-md: 0 10px 20px rgba(11, 60, 128, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary-blue);
    line-height: 1.2;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.subtitle {
    display: block;
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    display: inline-block;
}

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

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar.scrolled .nav-content {
    padding: 0.5rem 2rem;
}

.logo {
    height: 140px; /* Big logo at top */
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar.scrolled .logo {
    height: 70px; /* Shrink logo on scroll */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 600px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin: 20px;
    border-radius: 10px;
    pointer-events: none;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    color: var(--primary-blue);
}

.feature-icon svg {
    width: 42px;
    height: 42px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Rooms Section */
.rooms {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.room-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.room-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
    object-fit: cover;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.room-card:hover .room-image-container img.slide.active {
    transform: scale(1.05);
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-blue);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
}

.room-image-container:hover .slide-btn {
    opacity: 1;
}

.slide-btn:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-50%) scale(1.1);
}

.slide-btn.prev {
    left: 10px;
}

.slide-btn.next {
    right: 10px;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.price-badge .price-amount {
    font-size: 1.2rem;
    font-weight: 600;
}

.price-badge .period {
    color: var(--text-light);
    font-size: 0.8rem;
}

.room-info {
    padding: 2rem;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.amenities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.amenities li {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.global-amenities {
    justify-content: center;
    border-top: none;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--primary-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--primary-blue);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3c80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2em;
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Fix for intl-tel-input to match our styling */
.iti {
    width: 100%;
}

.iti input {
    width: 100% !important;
    padding: 1rem !important;
    padding-left: 90px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    transition: var(--transition) !important;
}

.iti input:focus {
    outline: none !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
}

.iti__selected-flag {
    border-radius: 12px 0 0 12px;
}

.form-row.dates-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Footer */
footer {
    position: relative;
    z-index: 2000;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 8rem 0 4rem;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    transform: rotate(180deg);
}

.footer-wave .shape-fill {
    fill: var(--text-dark);
}

footer .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 4rem;
    align-items: center;
}

footer .footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer .footer-info p {
    font-size: 1.3rem;
    max-width: 600px;
}

footer .footer-logo {
    height: 200px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}
/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInLeft 0.8s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

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

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        height: 400px;
    }
    
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .form-row.dates-row {
        grid-template-columns: 1fr;
    }
    
    footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    footer .contact-item {
        justify-content: center;
    }
}

/* Language Switcher */
.lang-switcher {
    margin-left: 1rem;
}

.lang-switcher select {
    appearance: none;
    background-color: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.4rem 2rem 0.4rem 1rem;
    border-radius: 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3c80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
    transition: var(--transition);
}

.lang-switcher select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.lang-switcher select:hover {
    background-color: var(--primary-light);
}

@media (max-width: 768px) {
    .lang-switcher {
        margin: 1rem 0;
        text-align: center;
        list-style: none;
    }
}
