/* Modern CSS with Peutz styling */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&family=Sora:wght@700&display=swap');

:root {
    --primary-color: #2c2c2c;    /* Peutz dark blue */
    --secondary-color: #00a3b4;  /* Peutz light blue */
    --accent-color: #f0fafb;     /* Bright accent */
    --text-light: #ffffff;
    --text-dark: #2c2c2c;
    --background-light: #ffffff;
}

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

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

h1, h2, h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

/* Navigation */
.top-bar {
    padding: 1rem 5% 8rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    /* align-items: center;  */
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%); */
    background: linear-gradient(
        hsla(0, 0%, 0%, 0.85) 0%,
        hsla(0, 0%, 0%, 0.738) 19%,
        hsla(0, 0%, 0%, 0.541) 34%,
        hsla(0, 0%, 0%, 0.382) 47%,
        hsla(0, 0%, 0%, 0.278) 56.5%,
        hsla(0, 0%, 0%, 0.194) 65%,
        hsla(0, 0%, 0%, 0.126) 73%,
        hsla(0, 0%, 0%, 0.075) 80.2%,
        hsla(0, 0%, 0%, 0.042) 86.1%,
        hsla(0, 0%, 0%, 0.021) 91%,
        hsla(0, 0%, 0%, 0.008) 95.2%,
        hsla(0, 0%, 0%, 0.002) 98.2%,
        hsla(0, 0%, 0%, 0) 100%
      );
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
}

.logo-image {
    width: 125px;
    height: 50px;
    object-fit: contain;
}

.logo-3d {
    font-size: 1rem;
    color: white;
    position: relative;
    top: -20px;
    right: -20px;
    font-weight: bold;
    margin-left:-10px;
}

.login-button {
    /* background-color: var(--secondary-color); */
    color: white; 
    padding: 0.4rem 1rem;
    margin-left: 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.login-button:hover {
    background-color: transparent;
    /* border-color: var(--secondary-color); */
    /* color: var(--secondary-color); */
    transform: translateY(-2px);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 200px); /* Accounting for header and footer */
}

.hero-section {
    position: relative;
    height: auto;
    color: var(--text-dark);
    overflow: hidden;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1.0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, #fbffff 0%, var(--accent-color) 100px);
}

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

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: var(--text-dark);
}

.hero-text p {
    color: #0e0e0e;
    font-size: 1.2rem;
    line-height: 1.8;
}

.videos-container {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    background: var(--accent-color);
    align-items: center;
    flex-wrap: wrap;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-item video {
    height: 400px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-description {
    margin-top: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
    text-align: center;
}

.button-text {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-text:hover {
    color: var(--secondary-color);
}

.visit-button .button-text {
    color: var(--text-dark);
}

.visit-button2 .button-text {
    color: var(--text-light);
}

.hero-content2 {
    position: relative;
    z-index: 1;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    background: var(--accent-color);
}

.hero-content2 .video-container {
    flex: 1;
    max-width: 800px;
}

.hero-content2 .video-container video {
    width:100%;
    max-width:648px;
    max-height:486px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-content3 {
    position: relative;
    z-index: 1;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    background: var(--accent-color);
}

.hero-text3 {
    flex: 1;
    padding-top: 2%;
}

.hero-text3 h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: var(--text-dark);
}

.hero-text3 p {
    color: #0e0e0e;
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-content3 .video-container3 {
    flex: 1;
    max-width: 800px;
}

.hero-content3 .video-container3 video {
    width: 100%;
    max-width: 720px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Content section */
.content-section {
    background: linear-gradient(to bottom, #fbffff 0%, var(--accent-color) 100px);
    /* padding: 100px; */
    padding-top: 0%;
    position: relative;
}

.content-wrapper {
    padding-left: 10%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
}

.content-wrapper h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.content-text {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.content-text p {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    padding-right: 50px;
    max-width: 100%;
    margin-right: 20%;
}

.visit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-left: auto;
    padding-right: 10%;
}

/* .visit-button a { */
    /* background-color: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease; */
/* } */

.visit-button a:hover {
    transform: translateY(-2px);
}

.visit-button p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.visit-button2 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    padding-right: 10%;
}



.visit-button2 a:hover {
    transform: translateY(-2px);
}

.visit-button2 p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

/* Video section */
.video-section {
    background-color: var(--accent-color);
    padding: 100px;
    margin: 0;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-container h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.video-container video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: linear-gradient(to right, #00a3b4, #447ebc);
    color: var(--text-light);
    padding: 4rem 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1600px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        max-width: 1400px;
    }
}

@media (max-width: 1024px) {
    .hero-image, .hero-image img {
        width: 100%;
        height: auto;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 1rem 5%;
    }

    .logo {
        font-size: 1.5rem;
    }

    .login-button {
        padding: 0.6rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }
}

/* Login Page Styles */
.login-container {
    position: relative;
    min-height: calc(100vh - 80px); /* Full height minus the top bar */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-right: 50%; /* Push the form to about 75% of the width */
    padding-bottom: 10%;
}

.login-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(100%); /* Darkens the image */
}

.login-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    width: 90%;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    /* margin-right: 5%; Add some spacing from the edge */
}

.login-image {
    height: 100%;
    min-height: 1000px;
    overflow: hidden;
    width: 100%;
    background-color: var(--secondary-color);
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-form {
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    align-self: center;
}

.login-form h2 {
    color: var(--primary-color);
    font-size: 2.4rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-button {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
}

.register-link a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: var(--primary-color);
}

/* Login Page Responsive */
@media (max-width: 1600px) {
    .login-content {
        grid-template-columns: minmax(600px, 1fr) 500px;
    }
}

@media (max-width: 1200px) {
    .login-content {
        grid-template-columns: 1fr;
        max-width: 500px;
        width: 90%;
    }

    .login-image {
        min-height: 400px;
    }

    .videos-container {
        gap: 3rem;
    }

    .video-item video {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 2rem 5%;
    }

    .login-form h2 {
        font-size: 2rem;
    }

    .login-image {
        height: 200px;
    }

    .video-item video {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .login-content {
        max-width: 500px;
    }
}

.scroll-arrow {
    pointer-events: none;
    position: fixed;
    bottom: 20px;
    /* width: 40px;
    height: 40px; */
    cursor: pointer;
    z-index: 1000;
    animation: bounce 2s infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-arrow.left {
    left: 15%;
    transform: translateX(-50%);
}

.scroll-arrow.right {
    right: 15%;
    transform: translateX(-50%);
}

.scroll-arrow.fade-out {
    opacity: 0;
    pointer-events: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Hide scroll arrows on mobile devices */
@media (max-width: 768px) {
    .scroll-arrow {
        display: none;
        pointer-events: none;
    }
}

.video-wrapper {
    position: relative;
    display: inline-block;
}

video::-webkit-media-controls-overlay-play-button {
    opacity: 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper video:playing + .play-button {
    opacity: 0;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00a3b4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.contact-button:hover {
    background-color: #008a99;
}

textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
}

/* Style for required field indicator */
label[for="phone"]::after {
    content: " *";
    color: #00a3b4;
}

.input-group small {
    color: #666;
    font-size: 0.85em;
} 