:root {
    --primary: #027789;
    --primary-dark: #015a63;
    --primary-light: #0394a6;
    --gold: #e9b820;
    --gold-dark: #c99a1a;
    --secondary: #444;
    --accent: #027789;
    --light: #f8f8f8;
    --border: #d9d9d9;
    --text: #202020;
    --white: #ffffff;
    --max-width: 1200px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

.container {
    width: min(92%, var(--max-width));
    margin-inline: auto;
}

.top-bar {
    background: var(--white);
    border-bottom: 4px solid var(--gold);
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand .logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.contact-tags a {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-left: 0.5rem;
    text-decoration: none;
}

.language-switch a {
    text-decoration: none;
    margin-left: 0.5rem;
    color: var(--secondary);
    font-weight: 600;
}

.language-switch .active {
    color: var(--accent);
}

.main-nav {
    background: var(--primary);
    color: var(--white);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
}

.main-nav > .container > ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.main-nav .dropdown {
    list-style: none;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.9rem 0.6rem;
    display: block;
    font-weight: 500;
}

.main-nav li {
    position: relative;
}

.main-nav li.active > a,
.main-nav li:hover > a {
    background: var(--gold);
    color: var(--primary);
}

.dropdown {
    display: none;
    position: absolute;
    background: white;
    color: var(--text);
    min-width: 220px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dropdown a {
    color: var(--text);
}

.has-children:hover .dropdown {
    display: block;
}

.nav-login-btn {
    background: var(--gold);
    color: var(--primary);
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.nav-login-btn:hover {
    background: var(--gold-dark);
    color: var(--primary);
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.slide {
    opacity: 0;
    transform: translateX(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide h1 {
    font-size: clamp(1.8rem, 3vw, 3.1rem);
    margin-bottom: 0.8rem;
}

.cta-group {
    margin-top: 1.6rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

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

.btn.ghost {
    border: 1px solid white;
    color: white;
}

.main-content {
    padding: 2.5rem 0 4rem;
}

.page-content {
    margin-bottom: 2rem;
}

.page-header h2 {
    margin-bottom: 0.3rem;
}

.page-header p {
    color: #555;
}

.page-body {
    margin-top: 1.2rem;
    line-height: 1.8;
}

.page-body p + p {
    margin-top: 1rem;
}

/* Parent Company Page Styles */
.parent-company-content {
    max-width: 900px;
    margin: 0 auto;
}

.parent-company-content h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.parent-company-content h4 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.vision, .mission {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.vision h4, .mission h4 {
    color: var(--primary);
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.core-values {
    margin-top: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--gold);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(2, 119, 137, 0.15);
}

.value-item strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.value-item p {
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

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

.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.project-card {
    position: relative;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--primary);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.timeline article {
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.timeline time {
    display: block;
    color: #777;
    font-size: 0.85rem;
}

.publication-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.publication-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.publication-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.attachment-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: var(--gold);
    color: var(--primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.attachment-link:hover {
    background: var(--gold-dark);
}

@media (max-width: 768px) {
    .publication-images {
        grid-template-columns: 1fr;
    }
    
    .publication-images img {
        height: 250px;
    }
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 1.2rem;
}

.gallery-info p {
    color: #666;
    font-size: 0.95rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 1.2rem;
}

.video-info p {
    color: #666;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer-icon {
    color: var(--white);
    flex-shrink: 0;
}

.footer-column p {
    color: var(--white);
    margin: 0.5rem 0;
    line-height: 1.6;
}

.footer-column strong {
    color: var(--white);
    font-weight: 600;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--gold);
}

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

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    background: transparent;
}

.social-icon:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.copyright {
    text-align: center;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
    .main-nav > .container > ul {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    .main-nav > .container > ul.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
    }

    .has-children:hover .dropdown {
        display: none;
    }

    .has-children .dropdown {
        display: none;
    }

    .has-children.open .dropdown {
        display: block;
    }

    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        align-items: flex-start;
    }

    .main-nav .container {
        flex-wrap: wrap;
    }

    .nav-login-btn {
        display: block;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .main-nav > .container > ul.open ~ .nav-login-btn {
        margin-top: 0;
    }
}

/* Beach Resort Illustrations */
.construction-illustrations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.construction-icon {
    position: absolute;
    opacity: 0.25;
    filter: drop-shadow(0 4px 8px rgba(233, 184, 32, 0.2));
    animation: float 8s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.construction-icon:hover {
    opacity: 0.4;
}

.construction-house-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.construction-house-2 {
    top: 20%;
    left: 8%;
    animation-delay: 1.5s;
    animation-duration: 8s;
}

.construction-house-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.construction-house-4 {
    top: 50%;
    right: 5%;
    animation-delay: 0.8s;
    animation-duration: 9s;
}

.construction-house-5 {
    bottom: 10%;
    right: 25%;
    animation-delay: 1.2s;
    animation-duration: 7.5s;
}

.construction-house-6 {
    top: 10%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
    75% {
        transform: translateY(-18px) rotate(0.5deg);
    }
}

/* Ensure hero content is above illustrations */
.hero-slider {
    position: relative;
    z-index: 3;
}

.slide {
    position: relative;
    z-index: 3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .construction-icon {
        opacity: 0.1;
        transform: scale(0.7);
    }
}

/* Form Styles */
.booking-form,
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--gold);
    color: var(--primary);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    background: var(--gold-dark);
}

.booking-button {
    display: inline-block;
    background: var(--gold);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s ease;
    margin-top: 1.5rem;
}

.booking-button:hover {
    background: var(--gold-dark);
}

/* Button group styling */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button-group .booking-button {
    margin-top: 0;
}

@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .button-group .booking-button {
        width: 100%;
        max-width: 280px;
    }
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Reviews Section */
.reviews-section {
    padding: 3rem 0;
    background: var(--light);
    margin-top: 3rem;
}

.reviews-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.reviews-widget {
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
}

/* Responsive styles for reviews widget */
@media (max-width: 768px) {
    .reviews-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .reviews-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .reviews-widget {
        min-height: 300px;
    }
    
    /* Ensure widget content is responsive */
    .reviews-widget iframe,
    .reviews-widget > div {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 1.5rem 0;
    }
    
    .reviews-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .reviews-widget {
        min-height: 250px;
    }
}


