/* Custom Fonts */
@font-face {
    font-family: 'Marjorie';
    src: url('../fonts/Marjorie-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Marjorie';
    src: url('../fonts/Marjorie-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Marjorie';
    src: url('../fonts/Marjorie-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'JUST Sans';
    src: url('../fonts/JUST Sans Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'JUST Sans';
    src: url('../fonts/JUST Sans Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'JUST Sans';
    src: url('../fonts/JUST Sans Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'JUST Sans';
    src: url('../fonts/JUST Sans SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'JUST Sans';
    src: url('../fonts/JUST Sans Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Fade-in Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Parallax Effect */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Float animation for centered elements */
@keyframes floatCentered {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

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

body {
    font-family: 'JUST Sans', sans-serif;
    overflow-x: hidden;
    color: #333;
}

.marjorie-font {
    font-family: 'Marjorie', serif;
}

/* Section Styles */
section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

/* Ensure picture elements holding backgrounds display properly */
section > picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    overflow: hidden;
}

/* Ensure all sections with background images are properly contained */
section {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
}

/* Removed transition for static background images */

/* Removed hover zoom effect on background images for stability */

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.hero-logo {
    margin-top: 2rem;
    animation: fadeIn 1s ease-out;
}

.hero-logo img {
    height: 50%;
    width: auto;
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

.hero-text-wrapper {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-title {
    font-family: 'JUST Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-title .global {
    font-weight: 400;
}

.hero-title .malaysian {
    font-family: 'Marjorie', serif;
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 3rem;
    background: white;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'JUST Sans', sans-serif;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 122, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: #d4af7a;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 2px 6px 20px rgba(212, 175, 122, 0.5);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Content Sections */
.content-section {
    padding: 100px 2rem;
}

/* Pool Section - Page 3 */
.pool-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pool-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 2rem;
}

.pool-title {
    font-family: 'Marjorie', serif;
    font-size: 2.5rem;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.pool-subtitle {
    font-family: 'Marjorie', serif;
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Langkawi Section */
.langkawi-section {
    background-color: #d4af7a;
    padding: 80px 2rem;
    min-height: auto;
}

.langkawi-container {
    max-width: 1400px;
    margin: 0 auto;
}

.langkawi-header {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.langkawi-title {
    font-family: 'JUST Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #333;
}

.langkawi-italic {
    font-family: 'Marjorie', serif;
    font-style: italic;
    font-weight: 400;
}

.langkawi-subtitle {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.0;
    color: #333;
    margin: 0.2rem 0;
}

.langkawi-image-wrapper {
    margin: 0 auto 3rem;
}

.langkawi-image {
    width: 100%;
    height: auto;
    display: block;
}

.langkawi-footer {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.langkawi-footer p {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.0;
    margin: 0.3rem 0;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.text-content {
    padding: 2rem;
}

.text-content h2 {
    font-family: 'Marjorie', serif;
    font-size: 3rem;
    color: #2c4a6e;
    margin-bottom: 1.5rem;
}

.text-content h3 {
    font-family: 'Marjorie', serif;
    font-size: 2rem;
    color: #d4af7a;
    margin-bottom: 1rem;
}

.text-content p {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Living Section - Page 4 */
.living-section {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #1e3a5f;
}

.living-left {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    margin: 0;
}

.living-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.living-title {
    font-family: 'Marjorie', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #d4af7a;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.living-subtitle {
    font-family: 'Marjorie', serif;
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    color: #d4af7a;
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

.living-description {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.0;
    color: white;
    margin: 0;
}

.living-right {
    flex: 0 0 50%;
    width: 50%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.living-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* Facilities Section - Page 5 */
.facilities-section {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #d4af7a;
}

.facilities-left {
    flex: 0 0 50%;
    width: 50%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    order: 1;
}

.facilities-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.facilities-right {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    margin: 0;
    order: 2;
}

.facilities-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.facilities-title {
    font-family: 'Marjorie', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.facilities-subtitle {
    font-family: 'Marjorie', serif;
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    color: #333;
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

.facilities-description {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.0;
    color: white;
    margin: 0;
}

/* Beach Section - Page 6 */
.beach-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.beach-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.beach-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 4rem 2rem;
}

/* Hide mobile layout on desktop */
.beach-mobile-layout {
    display: none;
    text-align: center;
    max-width: 900px;
}

.beach-title {
    font-family: 'Marjorie', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.beach-italic {
    font-family: 'Marjorie', serif;
    font-style: italic;
    font-weight: 400;
}

.beach-description {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Privilege Section - Page 7 */
.privilege-section {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #d4af7a;
}

.privilege-left {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    margin: 0;
    order: 1;
}

.privilege-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.privilege-title {
    font-family: 'Marjorie', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

.privilege-italic {
    font-family: 'Marjorie', serif;
    font-style: italic;
    font-weight: 400;
}

.privilege-description {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.0;
    color: white;
    margin: 0;
}

.privilege-right {
    flex: 0 0 50%;
    width: 50%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    order: 2;
}

.privilege-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* M Collection Section - Page 8 */
.m-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Override picture element positioning for m-section to allow natural height */
.m-section > picture {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.m-bg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

/* Collection Section - Page 9 */
.collection-section {
    width: 100%;
    padding: 10px 0;
    background-color: #d2b48c;
}

.collection-container {
    position: relative;
    width: 100%;
    display: inline-block;
}

.collection-image {
    width: 100%;
    height: auto;
    display: block;
}

.collection-overlay {
    position: absolute;
    bottom: 25%;
    right: 21%;
    transform: translate(50%, 50%);
    text-align: center;
    z-index: 10;
}

/* Inner content that floats */
.collection-overlay-content {
    animation: float 3s ease-in-out infinite;
}

.collection-subtitle {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.collection-title {
    font-family: 'Marjorie', serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.collection-text {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: white;
    margin: 0.5rem 0 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Beige Background Sections */
.beige-section {
    background-color: #d4af7a;
    color: white;
}

.beige-section h2,
.beige-section h3 {
    color: white;
}

.beige-section p {
    color: rgba(255, 255, 255, 0.95);
}

/* Navy Background Sections */
.navy-section {
    background-color: #1e3a5f;
    color: white;
}

.navy-section h2,
.navy-section h3 {
    color: #d4af7a;
}

.navy-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* Grid Layout Sections */
.grid-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 100vh;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 60vh;
}

.feature-item {
    position: relative;
    overflow: hidden;
}

.feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem 1rem;
    color: white;
    text-align: center;
}

.feature-title {
    font-family: 'Marjorie', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Registration Form Section - Page 10 */
.registration-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

.registration-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.registration-overlay {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.registration-title {
    font-family: 'JUST Sans', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #d4af7a;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-family: 'JUST Sans', sans-serif;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
    border: 1px solid rgba(76, 175, 80, 1);
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.9);
    color: white;
    border: 1px solid rgba(244, 67, 54, 1);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
    gap: 20px;
}

.form-row > label {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    padding-top: 10px;
    text-align: left;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-family: 'JUST Sans', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="tel"]:focus {
    border-color: #d4af7a;
    background: rgba(212, 175, 122, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 122, 0.2);
}

.form-row input[type="text"]::placeholder,
.form-row input[type="email"]::placeholder,
.form-row input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.form-row input:focus::placeholder {
    color: rgba(212, 175, 122, 0.7);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JUST Sans', sans-serif;
    font-size: 1rem;
    color: white;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 1px solid white;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

.consent-row {
    grid-template-columns: 1fr;
    gap: 0;
}

.consent-label {
    display: flex;
    align-items: start;
    gap: 15px;
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.consent-label span {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.register-button {
    padding: 15px 60px;
    background: #d2b48c;
    color: #333;
    border: none;
    font-family: 'JUST Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 20px auto 0;
    display: block;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.register-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.register-button:hover::after {
    width: 400px;
    height: 400px;
}

.register-button:hover {
    background: #1e3a5f;
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.3);
}

.register-button:active {
    transform: translateY(-1px) scale(1);
}

/* Footer */
.footer {
    background-color: #c4a57b;
    width: 100%;
    padding: 60px 0 0 0;
}

.footer-container {
    width: 80%;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    color: #333;
}

.footer-heading {
    font-family: 'JUST Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.0;
}

.footer-phone {
    font-family: 'JUST Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 5px 0;
    line-height: 1.0;
}

.footer-text {
    font-family: 'JUST Sans', sans-serif;
    font-size: 0.8rem;
    line-height: 1.0;
    color: #333;
    margin: 10px 0;
}

.footer-text strong {
    font-weight: 600;
}

.footer-developer {
    font-family: 'JUST Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
    line-height: 1.0;
    margin: 0;
}

.footer-logo {
    margin-top: 10px;
}



.logo-placeholder {
    font-family: 'JUST Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    padding: 15px;
    border: 2px solid #333;
    text-align: center;
    line-height: 1.0;
    /* When you add the real logo image, replace this div with: */
    /* <img src="{{ asset('path/to/tropicana-marketplace-logo.png') }}" alt="Tropicana Marketplace"> */
}

.footer-bottom {
    border-top: 1px solid rgba(51, 51, 51, 0.2);
    padding: 25px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: 'JUST Sans', sans-serif;
    font-size: 0.75rem;
    color: #333;
    margin: 0;
    line-height: 1.0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    font-family: 'JUST Sans', sans-serif;
    font-size: 0.75rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.0;
}

.footer-links a:hover {
    color: #1e3a5f;
}

.footer-links span {
    color: #333;
}
.footer-logo img{
    width: 88%; 
}
/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .text-content h2 {
        font-size: 2.5rem;
    }

    .grid-section,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .langkawi-title {
        font-size: 2.5rem;
    }

    .pool-title,
    .pool-subtitle {
        font-size: 2.5rem;
    }

    .living-section {
        flex-direction: column;
    }

    .living-title,
    .living-subtitle {
        font-size: 2.5rem;
    }

    .facilities-section {
        flex-direction: column;
    }

    .facilities-title,
    .facilities-subtitle {
        font-size: 2.5rem;
    }

    .beach-title {
        font-size: 2.5rem;
    }

    .beach-description {
        font-size: 1.1rem;
    }

    .privilege-section {
        flex-direction: column;
    }

    .privilege-title,
    .privilege-subtitle {
        font-size: 2.5rem;
    }

    .collection-overlay {
        bottom: 25%;
        right: 21%;
    }

    .collection-title {
        font-size: 3rem;
    }

    .collection-subtitle {
        font-size: 1.2rem;
    }

    .collection-text {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 150px 1fr;
        gap: 15px;
    }

    .registration-title {
        font-size: 1.5rem;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Page 1 - Hero Section Mobile */
    .hero-section {
        min-height: 100vh;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100vh;
    }

    .hero-logo {
        margin-bottom: 0;
        padding-top: 1rem;
    }

    .hero-logo img {
        max-width: 100px;
        height: auto;
    }

    .hero-text-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.9rem 2.5rem;
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    nav {
        gap: 1rem;
    }

    /* Page 2 - Langkawi Section Mobile */
    .langkawi-section {
        padding: 60px 1.5rem;
    }

    .langkawi-title {
        font-size: 1.8rem;
    }

    .langkawi-subtitle {
        font-size: 0.95rem;
    }

    .langkawi-footer p {
        font-size: 0.95rem;
    }

    .pool-title,
    .pool-subtitle {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .pool-overlay {
        padding: 2rem 1.5rem;
    }

    /* Page 4 - Living Section Mobile */
    .living-section {
        flex-direction: column;
    }

    .living-left,
    .living-right {
        flex: 1;
        width: 100%;
    }

    .living-left {
        padding: 3rem 1.5rem;
        min-height: 50vh;
    }

    .living-right {
        min-height: 50vh;
    }

    .living-right img {
        min-height: 50vh;
    }

    .living-title,
    .living-subtitle {
        font-size: 1.6rem;
    }

    .living-description {
        font-size: 1rem;
    }

    /* Page 5 - Facilities Section Mobile */
    .facilities-section {
        flex-direction: column;
    }

    .facilities-left,
    .facilities-right {
        flex: 1;
        width: 100%;
        order: 0;
    }

    .facilities-right {
        padding: 3rem 1.5rem;
        min-height: 50vh;
    }

    .facilities-left {
        min-height: 50vh;
    }

    .facilities-left img {
        min-height: 50vh;
    }

    .facilities-title,
    .facilities-subtitle {
        font-size: 1.6rem;
    }

    .facilities-description {
        font-size: 1rem;
    }

    /* Page 6 - Beach Section Mobile */
    .beach-section {
        min-height: auto;
    }

    .beach-bg,
    .beach-overlay {
        display: none;
    }

    .beach-mobile-layout {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .beach-top-text,
    .beach-bottom-text {
        background-color: #1e3a5f;
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .beach-title-mobile {
        font-family: 'Marjorie', serif;
        font-size: 1.5rem;
        font-weight: 400;
        color: #d4af7a;
        margin: 0;
        line-height: 1.3;
    }

    .beach-description-mobile {
        font-family: 'JUST Sans', sans-serif;
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.8;
        color: white;
        margin: 0;
    }

    .beach-middle-image {
        width: 100%;
        line-height: 0;
    }

    .beach-middle-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Page 7 - Privilege Section Mobile */
    .privilege-section {
        flex-direction: column;
    }

    .privilege-left,
    .privilege-right {
        flex: 1;
        width: 100%;
        order: 0;
    }

    .privilege-left {
        padding: 3rem 1.5rem;
        min-height: 50vh;
    }

    .privilege-right {
        min-height: 50vh;
    }

    .privilege-right img {
        min-height: 50vh;
    }

    .privilege-title,
    .privilege-subtitle {
        font-size: 1.6rem;
    }

    .privilege-description {
        font-size: 1rem;
    }

    /* Page 8 - M Collection Mobile */
    .m-section {
        min-height: auto;
    }

    .m-bg {
        min-height: auto;
        height: auto;
    }

    /* Page 9 - Collection Banner Mobile */
    .collection-section {
        padding: 20px 0;
        min-height: auto;
        height: auto;
    }

    .collection-container {
        min-height: auto;
        height: auto;
    }

    .collection-image {
        min-height: auto;
        height: auto;
    }

    .collection-overlay {
        bottom: 32%;
        right: 27%;
        transform: translate(50%, 50%);
    }

    .collection-title {
        font-size: 1.8rem;
    }

    .collection-subtitle {
        font-size: 0.9rem;
    }

    .collection-text {
        font-size: 0.9rem;
    }

    /* Page 10 - Registration Form Mobile */
    .registration-overlay {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .registration-title {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-row > label {
        padding-top: 0;
    }

    .registration-title {
        font-size: 1.3rem;
    }

    .checkbox-group {
        gap: 12px 20px;
    }

    .register-button {
        padding: 12px 40px;
        font-size: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .footer-phone {
        font-size: 1.2rem;
    }

    .footer-developer {
        font-size: 1.5rem;
    }
}

/* ========== UX Enhancements ========== */

/* General Image Hover Effects */
img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

/* Hover zoom for all images EXCEPT background images */
img:not(.section-bg):not(.beach-bg):not(.m-bg):not(.registration-bg):not(.hero-logo img):hover {
    transform: scale(1.05);
}

/* Hover zoom effect for specific sections (Living, Facilities, Privilege) */
.living-section:hover .living-image-container img,
.facilities-section:hover .facilities-image-container img,
.privilege-section:hover .privilege-image-container img {
    transform: scale(1.05);
}

.living-image-container img,
.facilities-image-container img,
.privilege-image-container img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Section Transitions */
section {
    transition: opacity 0.6s ease;
}

/* Text Hover Effects */
.langkawi-title,
.pool-title,
.living-title,
.facilities-title,
.privilege-title,
.collection-title {
    transition: color 0.3s ease, transform 0.3s ease;
}

.langkawi-title:hover,
.pool-title:hover,
.living-title:hover,
.facilities-title:hover,
.privilege-title:hover {
    transform: translateY(-2px);
}

/* Footer Link Hover */
.footer-links a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #1e3a5f;
    transform: translateY(-2px);
}

/* Checkbox Hover Effects */
.checkbox-label {
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    transform: translateX(5px);
}

.checkbox-label input[type="checkbox"] {
    transition: transform 0.2s ease;
}

.checkbox-label:hover input[type="checkbox"] {
    transform: scale(1.1);
}

/* Loading Animation for Images */
picture {
    position: relative;
}

picture img {
    animation: fadeIn 0.6s ease-out;
}

/* Subtle Parallax Effect on Scroll */
@media (prefers-reduced-motion: no-preference) {
    .section-bg {
        will-change: transform;
    }
}

/* Focus Visible for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #d4af7a;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
