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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* CSS gradient solution - no tiling gaps */
    background: linear-gradient(to right, 
        #000000 25.9%, 
        #000000 25.9%, 
        #fdd406 25%,
        #fdd406 26.1%, 
        #fdd406 100%);
    /* Original SVG method (causes gaps on iOS/Safari) */
    /* background-image: url('bgstrip.svg');
    background-repeat: repeat-y;
    background-size: 100% auto; */
}

button {
    background-color: white;
    color: black;
    padding: 12px 30px;
    border: none;
    border-radius: 0;
    width: fit-content;
}

.bghero {
    position: absolute;
    top: -10rem;
    left: 0;
    width: 100%;
    /* height: 100%; */
    object-fit: auto;
    z-index: 0;
}

.header {
    /* background: white; */
    padding: 0;
    position: relative;
    z-index: 10;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.header-content {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 6vh;
    width: auto;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-line {
    width: 30px;
    height: 4px;
    background-color: black;
    margin: 3px 0;
    transition: 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.hero-section {
    text-align: center;
    max-width: 800px;
}

.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.enquire-button {
    position: absolute;
    top: 90%;
    right: 8%;
    transform: translateY(-50%);
    background-color: white;
    color: black;
    padding: 12px 24px;
    border: none;
    box-shadow: -4px 4px 0px rgb(0, 0, 0);
    border-radius: 0;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.3s ease;
}

.enquire-button:hover {
    filter: invert(100%);
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
    .enquire-button {
        font-size: 18px;
        padding: 10px 20px;
        top: 40%;
        right: 20%;
    }

    .hamburger {
        transform: scale(1.2) translate(-10px, 30px);
    }

    .bghero {
        top: -5rem;
    }
}

/* Carousel Styles */
.carousel-section {
    top: 100vh;
    position: relative;
    z-index: 5;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 60vh; */
}

.carousel-container {
    /* max-width: 1200px; */
    /* width: 100%; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carousel-main {
    position: relative;
    overflow: hidden;
    /* width: 300px; */
    /* height: 600px; */
    /* border-radius: 8px; */
    box-shadow: -8px 8px 0px rgb(0, 0, 0);
    border: none;
    background: white;
    cursor: pointer;
}

.carousel-image-container {
    position: relative;
    width: 400px;
    height: 600px;
    min-height: 500px;
    /* min-width: 400px; */
    /* overflow: hidden; */
}

.carousel-image {
    width: 400px;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-image.active {
    opacity: 1;
}



.carousel-indicators {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 0%;
    background: white;
    /* border: 2px solid rgba(0, 0, 0, 0.3); */
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.indicator-dot.active {
    background: black;
    /* border-color: rgba(0, 0, 0, 0.6); */
    transform: scale(1.2);
}

.indicator-dot.active:hover {
    background: black;
    transform: scale(1.2);
}

/* Video Section Styles */
.video-section {
    top: 100vh;
    position: relative;
    z-index: 5;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.loop-media-container {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.loop-video {
    width: 100%;
    height: auto;
    border-radius: 0;
    padding: 0;
    display: block;
}

.loop-gif {
    width: 100%;
    height: auto;
    border-radius: 0;
    padding: 0;
}

.safari-fallback {
    display: none;
}

/* Safari/iOS detection - show GIF instead of video */
.is-safari .loop-video {
    display: none;
}

.is-safari .safari-fallback {
    display: block;
}

@media (max-width: 768px) {
    .carousel-section {
        top: 50vh;
        padding: 2rem 1rem;
        min-height: 50vh;
    }
    
    .carousel-image-container {
        height: 600px;
    }

    
    .carousel-indicators {
        gap: 0.9rem;
    }
    
    .video-section {
        padding: 1.5rem 1rem;
    }
    
    .loop-video {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .enquire-button {
        font-size: 18px;
        padding: 8px 16px;
        right: 20%;
        top: 40%;
    }

    .logo {
        height: 0vh;
    }

    .bghero {
        top: 0rem;
    }
    
    .carousel-section {
        padding: 1rem 0.5rem;
    }

    .carousel-image {
        width: 300px;
    }
    
    .carousel-image-container {
        width: 300px;
        height: 400px;
    }
    
    .carousel-indicators {
        gap: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .indicator-dot {
        width: 10px;
        height: 10px;
    }
    
    .video-section {
        top: 60vh;
        padding: 1rem 0.5rem;
    }
    
    .loop-video {
        max-width: 100%;
    }
}

/* Enquiry Form Section Styles */
.enquiry-section {
    top: 100vh;
    position: relative;
    z-index: 5;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.enquiry-container {
    background: white;
    border-radius: 0;
    box-shadow: -8px 8px 0px rgb(0, 0, 0);
    max-width: 600px;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.form-header {
    /* background: #fdd406; */
    padding: 2rem;
    text-align: center;
}

.form-header h2 {
    color: black;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: black;
    font-size: 1rem;
    opacity: 0.8;
}

.enquiry-form {
    padding: 2rem;
}

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

.form-group label {
    display: flex;
    margin-bottom: 0.5rem;
    color: black;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    box-shadow: -4px 4px 0px rgb(0, 0, 0);
    border-radius: 0;
    font-size: 1rem;
    transition: box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 4px -4px 0px #fdd406;
}

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

/* Awkward Space Toggle */
.awkward-space-toggle {
    padding: 1rem;
    border-radius: 0;
    box-shadow: -4px 4px 0px rgb(0, 0, 0);
}

.toggle-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0;
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    display: flex;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 0;
    margin-right: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.toggle-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #fdd406;
    border-color: #fdd406;
}

.toggle-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-weight: bold;
    font-size: 12px;
}

.toggle-text {
    font-weight: 500;
    color: black;
    line-height: 1.4;
}

.toggle-description {
    margin-top: 0.5rem;
    margin-left: 3rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Awkward Space Section */
.awkward-space-section {

    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 0;
    /* box-shadow: -4px 4px 0px rgb(0, 0, 0); */
}

#space-description {
    margin-bottom: 1rem;
}

/* File Upload */
.file-upload-container {
    position: relative;
}

.file-upload-container input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-display {
    border: 2px dashed #ccc;
    padding: 2rem;
    text-align: center;
    border-radius: 0;
    transition: border-color 0.3s ease;
    background: white;
}

.file-upload-container:hover .file-upload-display {
    border-color: #fdd406;
}

.file-upload-text {
    color: #666;
    font-size: 0.9rem;
}

.file-preview {
    margin-top: 1rem;
}

.file-preview img {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-preview p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

/* Submit Button */
.enquiry-submit-btn {
    width: 100%;
    background: #fdd406;
    color: black;
    border: none;
    box-shadow: -4px 4px 0px rgb(0, 0, 0);
    text-transform: uppercase;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.enquiry-submit-btn:hover {
    background: black;
    color: white;
    box-shadow: 4px -4px 0px #fdd406;
    transform: scale(1.05);
}

.enquiry-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #f0fff4;
    color: #38a169;
    border: 1px solid #9ae6b4;
}

.form-message.error {
    background: #fed7d7;
    color: #e53e3e;
    border: 1px solid #feb2b2;
}

/* Mobile Responsiveness for Enquiry Form */
@media (max-width: 768px) {
    .enquiry-section {
        top: 70vh;
        padding: 2rem 1rem;
    }
    
    .form-header {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .enquiry-form {
        padding: 1.5rem;
    }
    
    .file-upload-display {
        padding: 1.5rem;
    }

    .video-section {
        top: 60vh;
    }
}

@media (max-width: 480px) {
    .enquiry-section {
        padding: 1.5rem 0.5rem 12rem 0.5rem;
    }
    
    .form-header {
        padding: 1rem;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    .enquiry-form {
        padding: 1rem;
    }
    
    .toggle-description {
        margin-left: 2.5rem;
    }
    
    .file-upload-display {
        padding: 1rem;
    }
}