/* =========================
   STYLE CSS
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Poppins:wght@400;500;600&display=swap');

/* GLOBAL FONT (DEFAULT = MARCELLUS) */
body {
    font-family: 'Marcellus', serif;
}

/* NAVBAR FONT */
.nav,
.nav * {
    font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-image: url(images/OG.jpg);
    background-repeat: no-repeat;
    background-position: 0 -115px;
    background-size: 100% auto;
    font-family: 'Marcellus', sans-serif;
}


.wrapper {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    padding-top: 100px; /* navbar offset */
}

/* =========================
   NAVBAR
   ========================= */

.nav {
    font-family: 'Poppins', sans-serif;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 45px;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

.nav-logo img.logo {
    margin-top: 0;
}

.nav-logo p {
    color: white;
    font-size: 25px;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
}

.nav-menu ul li {
    list-style: none;
}

.nav-menu ul li .link {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    color: white;
    padding-bottom: 15px;
    margin: 0 25px;
    transition: color 0.3s ease;
}

/* animated underline */
.nav-menu ul li .link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-menu ul li .link:hover {
    color: #f4a261;
    transform: translateY(-2px);
}

.nav-menu ul li .link:hover::after,
.nav-menu ul li .link.active::after {
    width: 100%;
}

.nav-button .btn {
    width: 130px;
    height: 40px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-button .btn:hover {
    color: #f4a261;
    transform: translateY(-2px);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

#RegisterBtn {
    margin-left: 15px;
}

.btn.white-btn {
    background: rgba(255, 255, 255, 0.7);
}

.btn.white-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* =========================
   FORMS
   ========================= */

.nav-menu-btn {
    display: none;
}

.form-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 510px;
    height: 450px;
    overflow: hidden;
    z-index: 2;
}

.login-container,
.register-container {
    position: absolute;
    width: 100%;
    max-width: 500px;
    flex-direction: column;
    transition: 0.5s ease-in-out;
    margin-bottom: 5px;
    text-align: center;
}

.login-container {
    left: 1px;
}

.register-container {
    right: -600px;
}

.top span {
    color: white;
    font-size: small;
    padding: 10px 0;
}

.top span a {
    font-weight: 500;
    color: white;
    margin-left: 5px;
}

header {
    color: white;
    font-size: 30px;
    text-align: center;
    padding: 10px 0 30px;
}

.two-forms {
    display: flex;
    gap: 10px;
    width: 100%;
}

.input-box {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.input-field {
    font-size: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    height: 45px;
    width: 100%;
    padding: 0 15px 0 45px;
    border: none;
    border-radius: 30px;
    outline: none;
    transition: 0.2s ease;
}

.input-field:hover,
.input-field:focus {
    background: rgba(255, 255, 255, 0.25);
}

::-webkit-input-placeholder {
    color: white;
}

.input-box i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: white;
}

.submit {
    font-size: 15px;
    font-weight: 500;
    color: black;
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 300px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.submit:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 1px 5px 7px rgba(0, 0, 0, 0.2);
}

.two-col {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: small;
    margin-bottom: 15px;
}

.two-col .one {
    display: flex;
    gap: 5px;
}

.two label a {
    text-decoration: none;
    color: white;
}

.two label a:hover {
    text-decoration: underline;
}

/* =========================
   HOME SECTION
   ========================= */

.home {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #f4a261;
    padding: 40px 60px;
}

.home-content {
    max-width: 900px;
}

.home-content h1 {
    font-family: 'Marcellus', serif;
    font-size: 45px;
    margin-bottom: 20px;
    font-weight: 500;
}

.home-content h1:first-child {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 0;
}

.home-content h1:nth-child(2) {
    color: #ffffff;
    font-size: 60px;
    font-weight: 400;
    margin-top: 0;
    padding-top: 0;
}

.home-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.home-btn {
    padding: 12px 30px;
    background: rgba(255,255,255,0.7);
    color: black;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.home-btn:hover {
    color: #f4a261;              /* same hover color */
    background: rgba(255,255,255,0.5);
    transform: translateY(-2px); /* same lift effect */
}


/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
    padding: 120px 10%;
    background: linear-gradient(135deg, #04122c, #0e031b, #050913);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    position: relative;
    overflow: hidden;
    color: #f1f1f1;
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(images/OG.jpg) center/cover no-repeat;
    opacity: 0.2;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-left,
.contact-right {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.contact-right {
    animation-delay: 0.2s;
}

.contact-label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f4a261;
    margin-bottom: 12px;
}

.contact-title {
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 20px;
    font-family: 'Marcellus', serif;
}

.highlight {
    color: #f4a261;
}

.contact-desc {
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-cards {
    display: grid;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(244, 162, 97, 0.55);
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    border-color: rgba(244, 162, 97, 0.85);
}

.info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(244, 162, 97, 0.15);
    display: grid;
    place-items: center;
    color: #f4a261;
    font-size: 20px;
}

.info-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.info-text {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

/* Form card */

.contact-card {
    background: rgba(8, 14, 32, 0.7);
    border: 1px solid rgba(244, 162, 97, 0.55);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(16px);
}

.contact-card-header h3 {
    margin: 0 0 20px;
    font-size: 22px;
    letter-spacing: 1px;
    color: #fff;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(244, 162, 97, 0.4);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(244, 162, 97, 0.85);
    background: rgba(255,255,255,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid rgba(244, 162, 97, 0.75);
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    width: fit-content;
}

.submit-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    background: rgba(244, 162, 97, 1);
    color: #0b0932;
    transform: translateY(-2px);
}

.submit-btn:hover i {
    transform: translateX(3px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .contact-inner {
        grid-template-columns: 1fr;
    }
    .contact-left, .contact-right {
        animation: fadeInUp 0.7s ease forwards;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 80px 6%;
    }
    .contact-title {
        font-size: 32px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   RESPONSIVE
   ========================= */

@media only screen and (max-width: 786px) {

    .nav-button {
        display: none;
    }

    .nav-menu {
        position: absolute;
        top: -800px;
        display: flex;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        width: 100%;
        height: 90vh;
        backdrop-filter: blur(20px);
        transition: 0.3s;
    }

    /* ✅ PUT IT HERE */
    .nav-menu.responsive {
        top: 100px;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu-btn {
        display: block;
    }

    .nav-menu-btn i {
        color: white;
        font-size: 25px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: 0.3s;
    }
}
    .nav-menu-btn i:hover {
        background: rgba(255, 255, 255, 0.15);
    }

@media only screen and (max-width: 540px) {

    .form-box {
        width: 100%;
        height: 500px;
    }

    .register.container,
    .login-container {
        width: 100%;
        padding: 0 20px;
    }

    .register-container .two-forms {
        flex-direction: column;
        gap: 0;    
    }
}
