:root {
    --header-bg: #2c5282;
    --header-border: #1a365d;
    --text-color: #4a5568;
    --accent-color: #2b6cb0;
    --footer-bg: #f7fafc;
    --footer-border: #e2e8f0;
    --contact-text: #718096;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: var(--header-bg);
    padding: var(--spacing-md) 0 0;
    text-align: center;
    border-bottom: 4px solid var(--header-border);
    position: relative;
}

/* Add a simple wave shape with pseudo-element */
.header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--header-bg);
    border-radius: 0 0 50% 50%;
    z-index: 1;
}

.logo {
    max-width: 300px;
    margin: 0 auto var(--spacing-sm);
    padding: 0 var(--spacing-sm);
}

.logo img {
    width: 100%;
    height: auto;
}

.content {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-sm);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Base styles (mobile first) */
h1 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.message {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

/* Desktop styles */
@media (min-width: 769px) {
    h1 {
        font-size: 2.5rem;
    }

    .message {
        font-size: 1.2rem;
    }
}

.footer {
    background: var(--footer-bg);
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
    border-top: 1px solid var(--footer-border);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    /* Reduced from 0.5rem to half */
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 0.25rem;
    /* Reduced from 0.5rem to half */
}

.footer img {
    margin: 0 1rem;
    /* Restore original margin */
    /* No height restriction to maintain original size */
}

/* On mobile, display logos in a 2-column grid */
@media (max-width: 768px) {
    .footer-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .footer img {
        margin: 0 auto;
        max-width: 100%;
        height: auto;
        /* No minimum height to allow original proportions */
    }
}

.footer p {
    margin: 0.25rem 0;
    /* Reduced from 0.5rem to half */
}

.footer-address {
    margin: 0.25rem 0;
    /* Reduced from 0.5rem to half */
    font-size: 0.95rem;
}

.footer-address a {
    color: var(--contact-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-address a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-address i {
    color: var(--accent-color);
    margin-right: 0.4rem;
}

.contact {
    margin-top: 0.25rem;
    /* Reduced from 0.5rem to half */
    margin-bottom: 0;
    color: var(--contact-text);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

/* Main Navigation */
.main-nav {
    position: relative;
    z-index: 2;
    background: var(--header-border);
    margin-top: var(--spacing-md);
    padding: 0.5rem 0;
    width: 100%;
}

/* Hide mobile elements by default on desktop */
.mobile-menu-header {
    display: none;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin: 0 0.5rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--header-bg);
    text-decoration: none;
}

/* Make active link more prominent but simplified */
.main-nav a.active {
    font-weight: bold;
}

/* Mobile navigation styles */
@media (max-width: 768px) {

    /* Mobile hamburger menu styles */
    .main-nav {
        padding: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        background-color: var(--header-border);
        color: white;
        width: 100%;
        box-sizing: border-box;
    }

    .current-page {
        font-weight: bold;
        font-size: 1.1rem;
    }

    .hamburger-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 2rem;
        height: 2rem;
    }

    .hamburger-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 1.2rem;
        width: 100%;
    }

    .bar {
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Hamburger icon animation when menu is open */
    .hamburger-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Initially hide the navigation menu */
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    /* Show menu when active class is applied */
    .nav-menu.active {
        display: flex;
        height: auto;
        padding: 0.5rem 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 0.25rem 0;
        width: 80%;
    }

    .main-nav a {
        padding: 0.5rem;
        text-align: center;
    }
}

/* Contact Page Styles */
/* Contact page now uses the standardized page-header class */

.contact-form-container {
    margin: var(--spacing-md) auto;
    max-width: 600px;
    background-color: #f8fafc;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-color);
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2);
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--header-border);
}

/* Responsive adjustments for contact form */
@media (max-width: 768px) {
    .contact-form-container {
        padding: var(--spacing-sm);
    }

    .submit-btn {
        width: 100%;
    }
}

/* Social Media Icons */
.social-icons {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.75rem;
    z-index: 5;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--header-border);
    transform: translateY(-3px);
    text-decoration: none;
}

.social-icons i {
    font-size: 1.2rem;
}

/* Responsive adjustments for social icons */
@media (max-width: 768px) {
    .social-icons {
        top: 0.75rem;
        right: 0.75rem;
        gap: 0.5rem;
    }

    .social-icons a {
        width: 2rem;
        height: 2rem;
    }

    .social-icons i {
        font-size: 1rem;
    }
}

/* Home Page Styles */
/* Hero styles are now handled by the standardized page-header class */

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) auto;
    max-width: 1200px;
    padding: 0 var(--spacing-sm);
}

.feature-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: var(--spacing-md);
    text-align: center;
    background-color: #f8fafc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.feature-item h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.cta-section {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-sm);
    background-color: #f0f5fa;
    margin-top: var(--spacing-lg);
    border-radius: 8px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

.cta-section p {
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--header-border);
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Hero styles are now handled by the standardized page-header class */

    .feature-item {
        min-width: 100%;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Accommodation Pages Styles */
.accommodation-header {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
    max-width: 900px;
    margin: 0 auto;
}

.accommodation-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

/* Standardized style for all page headers */
.page-header {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

.page-header h1 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.page-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* For backward compatibility - same as page-header */
.accommodation-header {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
    max-width: 900px;
    margin: 0 auto;
}

/* Legacy hero styles - moved to page-header now */
.hero-text {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.accommodation-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.amenities-section,
.services-section {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    padding: 0 var(--spacing-sm);
}

.amenities-section h2,
.services-section h2 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.amenities-list,
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    list-style-type: none;
    padding: 0;
}

.amenities-list li,
.services-list li {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenities-list li:hover,
.services-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.amenities-list i,
.services-list i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {

    .amenities-list,
    .services-list {
        grid-template-columns: 1fr;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Utility classes */
.nowrap {
    white-space: nowrap;
}

/* Carousel Styles */
.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-item {
    display: none;
    width: 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 2;
}

/* Carousel navigation styles moved to carousel.css */

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* For backwards compatibility */
.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e9eef6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-family: var(--font-heading);
    border: 2px dashed var(--accent-color);
}