@import "./theme.css";

* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Rubik", sans-serif;
    color: var(--white);
	scroll-behavior: smooth;
}

*::-webkit-scrollbar {
	display: none;
}

body, html {
	background: var(--black);
	width: 100%;
	overflow-x: hidden;
}

a:hover {
    cursor: pointer;
}

nav {
	position: relative;
    height: 100px;
    width: 100%;

    padding: 10px 0;
    z-index: 100;
    position: relative;
}

nav .logo {
	position: absolute;
	left: 70px;
}

nav .nav-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 900px;
    width: 80%;
    height: 80px;
    overflow: hidden;
}

nav .nav-container img {
    height: 50px;
	width: 50px;
}

nav .nav-container #collapsing-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

nav .nav-container #collapsing-nav a {
    margin: 0 20px;
    font-size: 18px;
    color: var(--white);
    text-align: center;
    display: inline-block;
    position: relative;
    user-select: none;
    text-decoration: none;
}

nav .nav-container #collapsing-nav a:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: var(--light-blue);
    transform-origin: bottom right;
    transition: transform 0.5s ease-out;
}
  
nav .nav-container #collapsing-nav a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

hr {
	position: absolute;
	left    : calc(50% - (75% /2));
	height  : 1px;
	width   : 75%;  /* or 100px */
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

footer {
    color: white;
    overflow: hidden;
    padding: 50px 0;
}

footer #footer-main-row {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
}

footer .footer-col {
    flex: 0 1 auto;
}

footer .logo-container {
    display: flex;
    align-items: center;
}

footer #footer-logo {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

footer .copyright {
    font-size: 12px;
    font-weight: 100;
}

footer .links-row {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    margin-left: 40px;
}

footer .links-col {
    margin-left: 40px;
}

footer .links-col h4 {
    margin-bottom: 10px;
}

footer .links {
    display: flex;
    flex-direction: column;
}

footer .links a {
    font-size: 13px;
    font-weight: 100;
    margin: 5px 0;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

footer .links a:hover {
    text-decoration: none;
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    footer #footer-main-row {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-col {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    footer .logo-container {
        flex-direction: column;
        align-items: center;
    }

    footer #footer-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    footer .links-row {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    footer .links-col {
        margin: 0 0 20px;
        text-align: center;
    }
}

@media(max-width: 750px) {
    nav .nav-container img {
        height: 35px;
		width: 35px;
    }

	nav .logo {
		left: calc(50% - (35px / 2))
	}

    nav .nav-container #collapsing-nav {
        z-index: 100;
        flex-flow: column;
        position: absolute;
        left: 0;
        top: 100px;
        background: var(--dark);
        height: 0;
        overflow: hidden;
        transition: height 0.5s ease-in-out;
    }

    nav .nav-container #collapsing-nav a {
        text-align: left;
        font-size: 25px;
        margin: 20px 0;
    }

    nav .nav-container #collapsing-nav a:first-of-type {
        margin-top: 10px;
    }

    nav .nav-container #collapsing-nav a:last-of-type {
        margin-bottom: 40px;
    }

    nav .nav-container #collapsing-nav.open {
        height: max-content;
    }
}

#header {
    width: 100%;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

#header .header-content {
    background-image: url("../img/landing-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
}

#header .header-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--white);
}

#header .header-content p {
    font-weight: 100;
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

@media (max-width: 750px) {
    #header .header-content {
        padding: 80px 20px;
    }

    #header .header-content h1 {
        font-size: 2em;
    }

    #header .header-content p {
        font-size: 1em;
    }
}

#main-content {
    background-color: var(--black);
    padding-top: 50px;
}

#faq-container {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

#faq-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--black);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--light-blue);
}

.faq-answer {
    font-size: 16px;
    color: var(--white);
    line-height: 1.6;
}

@media (max-width: 750px) {
    #header .header-content {
        padding: 80px 20px 30px;
    }

    #header .header-content h1 {
        font-size: 2em;
    }

    #header .header-content p {
        font-size: 1em;
    }

    #faq-container {
        margin-bottom: 30px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
}

#brands-container {
	flex-flow: column;
	max-width: 100%;
}

#brands-container h2 {
	margin: 50px 0;
}

.brand {
	flex-flow: column;
	max-width: 500px;
	width: 100%;
	text-align: center;
}

.brand *:not(:first-child) {
	margin-top: 20px;
}

.brand-icon {
	max-width: 100px;
	width: 100%;
	margin-bottom: 10px;
}

.brand-link-mysub {
	background: var(--mysub-primary);
	padding: 10px 15px;
	color: var(--black);
	font-size: 15px;
	border-radius: 10px;
	text-decoration: none;
}

.brand-link-photojar {
	background: var(--photojar-primary);
	padding: 10px 15px;
	color: var(--black);
	font-size: 15px;
	border-radius: 10px;
	text-decoration: none;
}

footer .links-row {
	width: 100%;
	display: flex;
	justify-content: center;
}


/* Contact Us Section Styling */
#contact-container {
    flex-flow: column;
    max-width: 100%;
    padding: 50px 20px;
    border-radius: 10px;
    margin: 50px 0;
    color: var(--white);
}

#contact-container h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: var(--white);
}

#contact-container form {
    width: 100%;
    max-width: 600px;
}

#contact-container form label {
    font-size: 1em;
    color: var(--white);
    display: block;
    margin-bottom: 10px;
}

#contact-container form input[type="text"],
#contact-container form select,
#contact-container form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--light-blue);
    border-radius: 5px;
    background: var(--black);
    color: var(--white);
}

#contact-container form input[type="text"]::placeholder,
#contact-container form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#contact-container form input[type="submit"] {
    background: var(--white);
    color: var(--black);
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

#contact-container form input[type="submit"]:hover {
    background: var(--light-blue);
}

@media (max-width: 750px) {
    #contact-container {
        padding: 30px 10px;
    }
}

#contact-container h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

#contact-container p {
    margin-bottom: 5px;
}

/* Existing styles... */

/* About page styles */
.about-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.gradient-title {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 30px;
    text-align: center;
}

.about-content {
    line-height: 1.6;
    color: #333;
}

.about-content p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .gradient-title {
        font-size: 2.5em;
    }
}

.jobs-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.gradient-title {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.vacancies-title {
    font-size: 2em;
    margin-bottom: 20px;
}

.vacancies {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.vacancy-box {
    border-radius: 8px;
    overflow: hidden;
    width: calc(33.333% - 20px);
    text-align: left;
    background-color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--white);
    margin-bottom: 20px;
}

.vacancy-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.vacancy-info {
    padding: 15px;
}

.vacancy-info h2 {
    font-size: 1.5em;
    margin-top: 0;
}

.vacancy-info p {
    font-size: 1em;
    margin: 10px 0;
}

.vacancy-info button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: var(--black); /* Dark text color to contrast with light button background */
    background-color: var(--light-blue); /* Use a color from the theme for the button */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.vacancy-info button:hover {
    background-color: #0056b3; /* Slightly darker shade on hover */
}


/* Hamburger menu styles */
.hamburger-checkbox {
    display: none;
}

.hamburger-label {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

@media (max-width: 750px) {
    .hamburger-label {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    nav .nav-container #collapsing-nav {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: var(--black);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: flex-start;
        padding-top: 20px;
    }

    .hamburger-checkbox:checked ~ #collapsing-nav {
        left: 0;
    }

    .hamburger-checkbox:checked + .hamburger-label .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-checkbox:checked + .hamburger-label .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-checkbox:checked + .hamburger-label .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav .nav-container #collapsing-nav a {
        margin: 16px 0;
        font-size: 1.2em;
        display: block;
    }
}

/* For larger screens, ensure the menu is always visible */
@media (min-width: 751px) {
    nav .nav-container #collapsing-nav {
        display: flex;
    }
}

/* Rest of the existing styles ... */

@media (max-width: 768px) {
    .vacancy-box {
        width: 100%; /* Full width on smaller screens */
    }

    .vacancy-image {
        height: 250px; /* Optionally increase height for mobile */
    }
}


.application-form form {
    display: flex;
    flex-direction: column;
}

.application-form label, 
.application-form input, 
.application-form select, 
.application-form textarea {
    margin-bottom: 1rem;
}

.other-source {
    display: none;
}

#hearAboutUs:has(option[value="other"]:checked) + .other-source {
    display: block;
}


.job-details {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.job-title {
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.job-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.job-section {
    margin-bottom: 2rem;
}

.job-section h3 {
    margin-bottom: 1rem;
}

.job-section ul {
    padding-left: 1.5rem;
}

.job-section li {
    margin-bottom: 0.5rem;
}

.job-details-footer {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.job-details-footer p {
    margin-bottom: 0.5rem;
}

.no-bullets {
    list-style-type: none;
    padding-left: 0;
}

.no-bullets li {
    margin-bottom: 0.75rem;
}
