/* Font Import */
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Libre+Baskerville&family=Roboto&display=swap");

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

/* Root Variables */
:root {
    --primary: #ff0066;
}

/* Body */
body {
    position: relative;
    background-color: whitesmoke;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 100px;
    background: transparent;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: background-color 1s, box-shadow 1s;
    z-index: 1300;
}

header.active {
    background: whitesmoke;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    color: black;
    letter-spacing: 2px;
    font-weight: 400;
    text-decoration: none;
}

.menu {
    color: black;
    font-size: 1.5em;
    transition: 0.5s;
}

/* Navigation */
.nav {
    display: flex;
}

.nav li {
    list-style: none;
    margin: 0 20px;
}

.nav li a {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.5s;
    font-weight: 300;
    padding: 10px;
}

.nav li a:hover,
.nav li a.active {
    color: black;
}

/* Search */
.search {
    position: relative;
    width: 300px;
    height: 40px;
    transition: 0.5s;
}

.search input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: black;
    background: transparent;
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    padding: 0 10px 0 15px;
}

.search input::placeholder {
    color: black;
    text-transform: uppercase;
    font-weight: 350;
}

.search ion-icon {
    font-size: 1.4em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    color: black;
    cursor: pointer;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 0 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.5s;
}

.banner::after {
    position: absolute;
    content: ' ';
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.5);
}

/* Background Slides */
.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg-slide .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: scale(0) translate(-50%, -50%);
    width: 60vw;
    z-index: 1100;
    transition: ease-in-out 3s;
    opacity: 0;
    visibility: hidden;
}

.bg-slide .content h1 {
    font-size: 8em;
    text-transform: uppercase;
}

.bg-slide .content p {
    font-family: "Great Vibes", cursive;
    font-weight: 200;
    font-size: 1.5em;
    letter-spacing: 1px;
}

.bg-slide.active .content {
    transform: scale(1) translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}

/* Circles */
.circle {
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(0, 0) rotateZ(0);
  opacity: 0;
  visibility: hidden;
  transition: 3s;
}

.circle.bg {
    background: transparent;
    width: 120vw;
    height: 120vw;
    border-radius: 0;
}

/* .circle.large {
    width: 30vw;
    height: 30vw;
}

.circle.small {
    width: 10vw;
    height: 10vw;
} */

.circle img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    
}

.circle.bg img {
    border-radius: 0;
    object-fit: cover;
}

.circle.large img {
    transform: scale(2);
}

.circle.small img {
    transform: scale(4);
}

.bg-slide.active .circle.bg {
    transform: translate(0, 0) rotateZ(-360deg);
    opacity: 1;
    visibility: visible;
}

.bg-slide.active .circle.large {
    transform: translate(0, 0) rotateZ(720deg);
    opacity: 1;
    visibility: visible;
}

.bg-slide.active .circle.small {
    transform: translate(0, 0) rotateZ(-720deg);
    opacity: 1;
    visibility: visible;
}

/* Slide Loader */
.slide-loader {
    position: absolute;
    z-index: 1100;
    bottom: 50px;
    right: 100px;
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.slide-loader li {
    list-style: none;
}

.slide-loader li a {
    text-decoration: none;
    color: black;
    font-size: 2em;
    font-weight: 800;
    transition: 0.5s;
    line-height: 1em;
    cursor: pointer;
}

.slide-loader li a.active,
.slide-loader li a:hover {
    font-size: 4em;
}

.slide-loader::before {
    position: absolute;
    content: '';
    top: 50%;
    left: -70px;
    width: 100px;
    height: 2px;
    background: black;
}

/* Share */
.share {
    position: absolute;
    bottom: 50px;
    left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1200;
}

.share::before {
    position: absolute;
    content: '';
    left: 50%;
    transform: translateX(-50%);
    top: -120%;
    height: 100px;
    width: 2px;
    background: black;
}

.share p {
    writing-mode: vertical-lr;
    text-emphasis: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    color: black;
}

.share a {
    text-decoration: none;
    color: black;
}

.share a ion-icon {
    font-size: 1.4em;
}

/* Lead */
.lead {
    position: absolute;
    bottom: 0;
    z-index: 1000;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.move-down {
    position: absolute;
    z-index: 1100;
    color: black;
    animation: flink 1s linear infinite;
}

.move-down ion-icon {
    font-size: 3.5em;
}

@keyframes flink {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.lead svg {
    font-family: "Great Vibes", cursive;
    position: absolute;
    z-index: 1100;
    fill: currentColor;
    height: auto;
    max-width: 20vmin;
    transform-origin: center;
    width: 60%;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from {
        transform: rotateZ(0);
    }
    to {
        transform: rotateZ(360deg);
    }
}

/*----------------------------------------
# Sections General
-----------------------------------------*/
section {
    overflow: hidden;
    position: absolute;
    width: 100%;
    top: 100vh;
    bottom: 0;
    background: whitesmoke;
    transition: ease-in-out 1s;
    transform-origin: bottom;
    z-index: 1100;
    opacity: 0;
    
}

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

section.section-show {
    padding: 150px 100px 100px;
    top: 0;
    height: auto;
    min-height: 100vh;
    overflow-y: visible;
    opacity: 1;
}

section h1 {
    font-family: "Great Vibes", cursive;
    font-weight: 400; 
    font-size: 4em;
    letter-spacing: 1px;
    margin-bottom: 150px;
    text-align: center;
}

section h4 {
    font-family: "Great Vibes", cursive;
    font-weight: 300;
    font-size: 2.5em;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

section p {
    font-weight: 300;
    color: black;
    letter-spacing: 1px;
    margin-bottom: 40px;
}
/*----------------------------------------
# About Section
-----------------------------------------*/
.about h4::first-letter {
    color: var(--primary);
    font-size: 2em;
}

.about::before {
    position: absolute;
    content: '';
    left: 50%;
    transform: translateX(-50%);
    top: 250px;
    height: 100px;
    width: 2px;
    background: black;
}

.about .img-box {
    position: relative;
}

.about .img-box img {
    max-width: 450px;
}

.about .img-box .corner-img {
    position: absolute;
    width: 15vw;
    right: 10px;
    bottom: -50px;
}

.section-bg-img {
    position: absolute;
    bottom: 50px;
    right: 200px;
    opacity: 0.1;
    z-index: 100;
    pointer-events: none;
}

.section-btn {
    position: relative;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    transition: 0.3s;
}

.section-btn:hover {
    color: var(--primary);
}

.section-btn::before {
    position: absolute;
    content: ' ';
    left: 0;
    bottom: -10px;
    width: 85%;
    height: 1px;
    background: black;
    transition: 0.3s;
}

.section-btn:hover::before {
    left: 20%;
    background-color: var(--primary);
}


/*----------------------------------------
# Services Section
-----------------------------------------*/
.section::before {
    position: absolute;
    content: '';
    left: 50%;
    transform: translateX(-50%);
    top: 250px;
    height: 100px;
    width: 2px;
    background: black;
}

.card {
  position: relative;
  margin: 20px 0;
  width: 350px;
  height: 500px;
  background: whitesmoke;
  border: none;
  transform-style: preserve-3d;
  transform: perspective(2000px);
  transition: ease-in-out 1s;
  border-radius: 0;
  box-shadow: inset 300px 0 50px rgba(0, 0, 0, 0.25);
}

.card:hover {
    transform: perspective(2000px) rotate(-10deg);
    box-shadow: inset 20px 0 50px rgba(0, 0, 0, 0.25);
    z-index: 1000;
}

.card .img-box {
    position: relative;
    border-style: none;
    width: 100%;
    height: 100%;
    transform-origin: left;
    z-index: 1;
    transition: 1s;
}

.card:hover .img-box {
    transform: rotateY(-130deg);
}

.card .img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .details {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 50px 20px 20px;
}

.card .details::before {
    position: absolute;
    content: ' ';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: url('../images/FullSizeRender.JPG') no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.1;
}

.card .details h4::first-letter {
    color: var(--primary);
    font-size: 1.5em;
}
/*----------------------------------------
# Portfolio Section
-----------------------------------------*/
.portfolio {
    display: flex; /* Use flexbox for horizontal layout */
    flex-wrap: wrap; /* Allow items to wrap onto the next line */
    justify-content: center; /* Center items horizontally */
    gap: 30px; /* Increased gap between portfolio items */
    padding: 20px; /* Decrease padding around the section */
    background-color: whitesmoke;
}

.portfolio-item {
    position: relative;
    width: calc(33.33% - 30px); /* Set width for three items per row, accounting for gaps */
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Keep uniform aspect ratio */
    transition: 0.5s ease-in-out;
    margin: 10px; /* Add margin around each item for extra spacing */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container without distortion */
    transition: transform 0.5s ease-in-out;
}

.portfolio-item:hover img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    color: whitesmoke;
    text-align: center;
    padding: 10px; /* Adjusted padding for overlay content */
    box-sizing: border-box;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay h4 {
    font-size: 1.5em; /* Reduced font size */
    font-family: 'Great Vibes', cursive;
    color: var(--primary);
    margin-bottom: 5px; /* Reduced margin */
}

.portfolio-item .overlay p {
    font-size: 1em; /* Reduced font size */
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.portfolio-item .overlay .view-btn {
    margin-top: 10px; /* Reduced margin */
    padding: 5px 20px; /* Adjusted padding for button */
    text-decoration: none;
    background-color: var(--primary);
    color: whitesmoke;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
}

.portfolio-item .overlay .view-btn:hover {
    background-color: black;
    color: whitesmoke;
}

@media (max-width: 768px) {
    .portfolio-item {
        width: calc(50% - 20px); /* Two items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .portfolio-item {
        width: calc(100% - 20px); /* One item per row on very small screens */
    }
}
.text-center {
    text-align: center; /* Center the heading */
    margin-bottom: 10px; /* Decrease this value to reduce space below the heading */
}


/*----------------------------------------
# Contact
-----------------------------------------*/
.contact {
    padding: 5px 0;
    background-color: #f9f9f9;
}

.contact h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #333;
}

.contact p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: #666;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: bold;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h4, .contact-info h5 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.social-links a {
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}
