@charset "utf-8";
/* CSS Document */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/**************************Color Palette*******************************/
:root {
    --navy: #242c46;
    --gold: #c79842;
    --cream: #efe3db;
    --sky-blue: #69b9ed;
    --ocean-blue: #176fa6;
    --dark-text: #242c46;
    --light-text: #efe3db;
    --gradient: linear-gradient(
        to bottom,
		#242c46,
        #69b9ed);
	--bg: #efe3db;
}

.section-title {
    font-size: 4rem;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 20px;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
/**************************Color Palette End*******************************/

/**************************Fonts*******************************/
body {
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	cursor: url("Images/AnchorMouseIconSmall.png") 0 0, auto;
}
/**************************Font Ends*******************************/


/**************************Navigation*******************************/

nav {
    width: 100%;
    height: 85px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 7%;
    background: var(--light-text);
    border-bottom: 1px solid var(--gold);
}

.logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.logo a {
    display: block;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-left {
    justify-content: flex-end;
    padding-right: 45px;
}

.nav-right {
    justify-content: flex-start;
    padding-left: 45px;
}

.nav-links li a {
    position: relative;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark-text);
    text-decoration: none;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--ocean-blue);
    text-shadow: 0 0 10px var(--sky-blue);
}
/**************************Navigation End*******************************/


/**************************Parallax Intro*******************************/
header {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

header img{
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
}

#one { z-index: 6; }

#two { z-index: 5; }

#three { z-index: 4; }

/*************************SET SAIL OVERLAY*************************/
.set-sail {
	position: absolute;
	z-index: 7;
	bottom: 15%;
	right: 12%;
	left: auto;
	transform: none;
	width: 90%;
	max-width: 900px;

	text-align: right;
}

/* ===== Reel / CV buttons ===== */
.set-sail-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 30px;
}

.sail-btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 1rem;
	letter-spacing: 2px;
	text-decoration: none;
	border: 1px solid var(--gold);
	transition: 0.3s;
}

.sail-btn--primary {
	background: var(--navy);
	color: var(--cream);
}

.sail-btn--primary:hover {
	background: var(--ocean-blue);
	border-color: var(--ocean-blue);
}

.sail-btn--secondary {
	background: rgba(239, 227, 219, 0.9);
	color: var(--dark-text);
}

.sail-btn--secondary:hover {
	background: var(--navy);
	color: var(--cream);
	border-color: var(--navy);
}

/* ===== Social tiles ===== */
.social-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1em;
}

.social-tile {
	position: relative;
	width: 45px;
	height: 45px;

	background-size: cover;
	background-position: center;
	background-color: rgba(36, 44, 70, 0.6);

	border: 2px solid var(--gold);

	display: flex;
	align-items: center;
	justify-content: center;

	text-decoration: none;
	overflow: hidden;
}

.social-tile-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background: rgba(36, 44, 70, 0.75);

	color: var(--cream);
	font-size: 0.85rem;
	font-weight: bold;
	letter-spacing: 1px;

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 5px;

	opacity: 0;
	transition: opacity 0.3s ease;
}

.social-tile:hover .social-tile-overlay {
	opacity: 1;
}

@media (max-width: 700px) {
	.set-sail {
		bottom: 4%;
	}

	.sail-btn {
		padding: 12px 22px;
		font-size: 0.9rem;
	}

	.social-tile {
		width: 60px;
		height: 60px;
	}
}
/*************************SET SAIL OVERLAY Ends*************************/

/**************************Parallax Intro Ends*******************************/


/**************************Main Section*******************************/
main {
	background: var(--bg);
	padding-top: 80px;
	padding-bottom: 80px;
	
}

main {
	widows: 80%;
	max-resolution: auto;
}

main section h2 {
	color: var(--dark-text);
	font-size: 4rem;
	text-align: center;
}

/**************************Main Section Ends*******************************/


/**************************Carousel*******************************/
.horizontal-line {
    width: 90%;
    height: 2px;
    background-color: var(--gold);
    margin: 0 auto;
}

.rope-divider {
     display: block;
    width: 90%;
    height: auto;
    margin: 50px auto;
}

.illustration-carousel {
	margin: 100px auto;
	width: 90%;
	display: flex;
	overflow-x: auto;
	overflow: hidden;
	
}

.illustration-group{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
	animation: spin 15s infinite linear;
	padding-right: 1em;
}

.card {
	flex: 0 0 6em;
	height: 8em;
	padding: 1em;
	background: #5E9BC1;
	font-size: 3rem;
	border-radius: .2rem;
	text-align: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
	text-decoration: none;
	color: inherit;
}

.card-link{
	text-decoration: none;
	color: inherit;
}

.card-overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(36, 44, 70, 0.75);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: var(--cream);
	opacity: 0;
	transition: opacity 0.3s ease;

}

.card:hover .card-overlay{
	opacity: 1;
}

.card-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-overlay p {
    font-size: .8rem;
}

@keyframes spin{
	from{translate: 0;}
	to {translate: -100%;}
}
/**************************Carousel Ends*******************************/


/*************************INTRODUCTION SECTION*************************/
.introduction-section {
    width: 90%;
    max-width: 1500px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

.introduction-text {
    color: var(--dark-text);
}

.introduction-kicker {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.introduction-text h2 {
    font-size: 2.2rem;
    line-height: 1.35;
    text-align: left;
    margin-bottom: 10px;
}

.introduction-description {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 40px;
}

.about-button {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid var(--gold);
    color: var(--dark-text);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.about-button:hover {
    background: var(--navy);
    color: var(--cream);
    border-color: var(--navy);
}

.introduction-image-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.introduction-image-area img {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
}
/*************************INTRODUCTION SECTION Ends*************************/

/**************************Portfolio*******************************/
/* ==============================
   PORTFOLIO CARDS
   ============================== */

.portfolio {
    width: 90%;
    margin: 100px auto;

    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 1.5em;
}


.portfolio-item {
    position: relative;

    width: 250px;
    height: 200px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--cream);

    border: 2px solid var(--gold);

    text-decoration: none;
    color: var(--dark-text);

    overflow: hidden;

    cursor: pointer;
}


/* ==============================
   CARD TITLE
   ============================== */

.portfolio-title {
    font-size: 1.7rem;
    font-weight: bold;

    text-align: center;

    padding: 20px;
}


/* ==============================
   HOVER OVERLAY
   ============================== */

.portfolio-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(36, 44, 70, 0.85);

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    color: var(--cream);

    opacity: 0;

    transition: opacity 0.3s ease;
}


/* Show overlay */

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}


/* Overlay title */

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* Overlay description */

.portfolio-overlay p {
    font-size: 1rem;
}
/**************************Portfolio*******************************/

/**************************Gallery*******************************/

/* =========================================
   PORTFOLIO GALLERY
   ========================================= */

.gallery {
    width: 90%;
    max-width: 1400px;
    margin: 150px auto 100px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


/* Individual gallery cards */

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background-color: var(--cream);
    border: 2px solid var(--gold);

    cursor: pointer;
}


/* Images inside gallery cards */

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}


/* Slight zoom when hovering */

.gallery-item:hover img {
    transform: scale(1.05);
}


/* =========================================
   HOVER OVERLAY
   ========================================= */

.gallery-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(36, 44, 70, 0.80);

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    opacity: 0;

    transition: opacity 0.3s ease;

    color: var(--cream);
}


/* Show overlay */

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


/* Project title */

.gallery-overlay h3 {
    font-size: 1.8rem;
    letter-spacing: 1px;
}


/* =========================================
   VIDEO MODAL
   ========================================= */

.image-modal {
    display: none;

    position: fixed;

    z-index: 100;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(36, 44, 70, 0.92);

    align-items: center;
    justify-content: center;

    padding: 40px;

    box-sizing: border-box;
}


/* =========================================
   MODAL IMAGE
   ========================================= */

.expanded-image {
    max-width: 90%;
    max-height: 85vh;

    object-fit: contain;
}


/* =========================================
   MODAL VIDEO
   ========================================= */

.expanded-video {
    display: none;

    width: 90%;
    max-width: 1200px;

    max-height: 85vh;

    object-fit: contain;
}


/* =========================================
   CLOSE BUTTON
   ========================================= */

.modal-close {
    position: absolute;

    top: 25px;
    right: 40px;

    color: var(--cream);

    font-size: 50px;
    font-weight: 300;

    cursor: pointer;

    line-height: 1;

    transition: color 0.3s ease;
}


.modal-close:hover {
    color: var(--gold);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {

    .gallery {
        grid-template-columns: 1fr;
    }

    .image-modal {
        padding: 20px;
    }

    .expanded-video {
        width: 100%;
    }

    .modal-close {
        top: 15px;
        right: 20px;
    }

}

/*************************CONTACT PAGE*************************/
.contact-page {
    min-height: 100vh;

    background: var(--cream);

    padding: 140px 8% 100px;
}

.contact-section {
    width: 90%;
    max-width: 1450px;

    margin: 0 auto;
}

.contact-heading {
    margin-bottom: 70px;

    color: var(--dark-text);
}

.contact-heading p {
    font-size: 1.1rem;

    line-height: 1.7;

    margin-bottom: 5px;
}

.contact-email {
    display: inline-block;

    color: var(--dark-text);

    font-weight: bold;

    text-decoration: none;

    margin-bottom: 40px;
}

.contact-email:hover {
    color: var(--ocean-blue);
}

.contact-tagline {
    margin-top: 10px;
}

.contact-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 30px;
    row-gap: 35px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.form-group label {
    color: var(--dark-text);

    font-size: 1rem;

    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid var(--gold);

    background: transparent;

    color: var(--dark-text);

    font-family: inherit;

    font-size: 1rem;

    outline: none;

    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ocean-blue);

    box-shadow: 0 0 0 2px rgba(23, 111, 166, 0.12);
}

.form-message {
    grid-column: 1 / -1;
}

.form-message textarea {
    min-height: 180px;

    resize: vertical;
}

.form-submit {
    grid-column: 1 / -1;
}

.form-submit button {
    padding: 15px 35px;

    background: transparent;

    border: 1px solid var(--gold);

    color: var(--dark-text);

    font-family: inherit;

    font-size: 1.1rem;

    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.3s;
}

.form-submit button:hover {
    background: var(--navy);

    color: var(--cream);

    border-color: var(--navy);
}
/*************************CONTACT PAGE Ends*************************/