@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap');

body{
    font-family: 'Crimson Pro', serif;
    margin: 20px;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

@media screen and (max-width: 480px) {
    body {
        margin: 10px; 
        font-size: 14px; /* Reduce base font size */
    }
}

h1, h2, h3 {
    font-family: 'Crimson Pro', serif;
}


/*
   ------------------
        header
   ------------------
*/

header {
    display: flex;
    overflow: hidden;
    background-color: silver;
    border-radius: 12px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-bottom: 20px;
    max-width: 1600px;  
    align-items: center;
}

header h1,h3 {
    font-size: 2em;
    font-family: 'Crimson Pro', serif;
}

header .menuIcon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: black;
}

header .menuIcon .material-icons {
    font-size: 36px;
    color: black;
}

header .navButtons {
    display: flex;
    gap: 20px;
    align-self: center;
    margin-left: auto;
    flex-wrap: wrap;
    max-width: 100%;
}

header .navButtons .button {
    font-family: 'Overpass', sans-serif;
    text-decoration: none;
    position: relative;
    color: black;
    font-size: 16px;
}

header .navButtons .button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease;
}

header .navButtons .button:hover::after,
header .navButtons .button.active::after {
    width: 100%;
}

/* Responsive header adjustments */
@media screen and (max-width: 830px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    header h1,h3 {
        font-size: 2.3em;
        margin: 10px;
    }

    header .navButtons {
        margin-left: 0;
        gap: 15px;
        justify-content: center;
        width: 100%;
    }
}

@media screen and (max-width: 530px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 25px;
    }

    header .menuIcon {
        display: block;
    }

    header .navButtons {
        display: none;
    }

    header h1,h3 {
        font-size: 2em;
        margin: 0;
    }
}

@media screen and (max-width: 400px) {
    header {
        padding: 15px;
    }

    header h1,h3 {
        font-size: 1.5em;
    }
}

header .mobileMenuIcon {
    display: none; 
    font-size: 24px;
    cursor: pointer;
    color: black;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

header .mobileMenuIcon .material-icons {
    font-size: 36px;
    color: black;
}

/* Show the mobile menu icon on smaller devices */
@media screen and (max-width: 1100px) {
    header .mobileMenuIcon {
        display: block;
    }

    .sidebarContainer {
        display: none; 
    }
}

/* Mobile menu styling */
.mobileMenu {
    display: none; 
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    border-left: 2px solid #444;
}

.mobileMenu.active {
    display: flex; 
}

.mobileMenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobileMenu ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.mobileMenu ul li:last-child {
    border-bottom: none;
}

.mobileMenu ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    padding: 10px 15px;
    display: block;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobileMenu ul li a:hover {
    background-color: #444;
    color: #007BFF;
}

.mobileMenu .closeButton {
    align-self: flex-start;
    font-size: 2em;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    transition: color 0.3s ease;
}

.mobileMenu .closeButton:hover {
    color: #007BFF;
}

/* Fullscreen menu styling */
.fullscreenMenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    color: white;
    z-index: 1000;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.fullscreenMenu .menuHeader {
    display: flex;
    justify-content: space-between; /* Align title and close button */
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
    /* Removed background-color */
}

.fullscreenMenu .menuHeader h2 {
    margin: 0;
    font-size: 1.8em;
    color: white;
    background-color: #333;
}

.fullscreenMenu .closeButton {
    font-size: 1.8em; /* Adjusted font size */
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    transition: color 0.3s ease;
    /* No absolute positioning */
}

.fullscreenMenu .sidebarList {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.fullscreenMenu .sidebarList li {
    margin-bottom: 15px;
}

.fullscreenMenu .sidebarList li a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.fullscreenMenu .sidebarList li a:hover {
    background-color: #444;
    color: #007BFF;
}

.fullscreenMenu .sidebarList li a.active {
    background-color: transparent;
    color: #007BFF;
}

/* Adjust font sizes for mobile devices */
@media screen and (max-width: 480px) {
    .fullscreenMenu .menuHeader h2 {
        font-size: 1.5em; /* Smaller title font size */
    }

    .fullscreenMenu .sidebarList li a {
        font-size: 1.2em; /* Smaller menu link font size */
    }
}

/*
        ---------------------
        Photography main page
        ---------------------
*/

/* Motto Section */
.mottoSection {
    max-width: 1520px;  
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    
}

.mottoSection .motto {
    width: 60%;
    text-align: left;
}

.mottoSection .motto h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 3em;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.mottoSection .motto p {
    font-size: 1.4em;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 15px;
    color: #555;
}

.mottoSection .motto div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 20px; /* Adjusted for better spacing */
}

.mottoSection .motto div p {
    font-size: 1.2em;
    color: #777;
    margin: 0;
    text-align: left;
    flex: 1;
}

.mottoSection .motto div .material-icons{
    font-size: 20px;
    color: #777;
    transition: transform 0.3s ease;
}

.mottoSection .motto div .material-icons:hover {
    transform: scale(1.2);
}

.mottoSection .motto div .material-icons {
    font-size: 20px;
    color: #777;
    transition: transform 0.3s ease;
}

.mottoSection .motto div .material-icons:hover {
    transform: scale(1.2);
}

.mottoSection .motto div .custom-icon {
    width: 18px;
    height: 18px;
    color: #777;
    transition: transform 0.3s ease; 
}

.mottoSection .motto div .custom-icon:hover {
    transform: scale(1.2); 
}

.mottoSection .pictureAboutMe {
    width: 25%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Responsive Adjustments for Motto Section */
@media screen and (max-width: 1350px) {
    .mottoSection .motto h2 {
        font-size: 2.7em;
    }

    .mottoSection .motto p{
        font-size: 1.3em;
    }

    .mottoSection .motto div p {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 1100px) {
    .mottoSection .motto h2 {
        font-size: 2.5em;
    }

    .mottoSection .motto p{
        font-size: 1.15em;
    }

    .mottoSection .motto div p {
        font-size: 0.85em;
    }

    .mottoSection .motto div .material-icons {
        font-size: 18px;
    }
}

@media screen and (max-width: 950px) {
    .mottoSection .motto h2 {
        font-size: 2.3em;
    }

    .mottoSection .motto p{
        font-size: 1em;
    }

    .mottoSection .motto div p {
        font-size: 0.8em;
    }

    .mottoSection .motto div .material-icons {
        font-size: 16px;
    }
}

@media screen and (max-width: 770px) {
    .mottoSection {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 30px;
    }

    .mottoSection .motto {
        width: 100%;
    }

    .mottoSection .motto h2 {
        font-size: 2.5em;
    }

    .mottoSection .motto p{
        font-size: 1.2em;
    }

    .mottoSection .pictureAboutMe {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .mottoSection {
        padding: 20px;
        gap: 10px;
    }

    .mottoSection .motto h2 {
        font-size: 2em;
    }

    .mottoSection .motto p{
        font-size: 1em;
    }
}

@media screen and (max-width: 400px) {
    .mottoSection .motto h2 {
        font-size: 1.65em;
    }

    .mottoSection .motto div {
        gap: 10px; 
    }
}

/* About Me Section */
.aboutMeSection {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.aboutMeSection h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5em;
}

.aboutMeSection p {
    font-size: 23px;
    color: #555;
}

.aboutMeSection .aboutMeText {
    width: 50%;
    text-align: start;
}

.aboutMeSection .aboutMePicture {
    width: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutMeSection img {
    width: 70%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Responsive Adjustments for About Me Section */
@media screen and (max-width: 1230px) {
    .aboutMeSection {
        padding: 30px;
    }

    .aboutMeSection h2 {
        font-size: 2.3em;
    }

    .aboutMeSection p {
        font-size: 21px;
    }
}

@media screen and (max-width: 1130px) {
    .aboutMeSection {
        padding: 25px;
    }

    .aboutMeSection h2 {
        font-size: 2.1em;
    }

    .aboutMeSection p {
        font-size: 19px;
    }

    .aboutMeSection img {
        width: 80%;
    }
}

@media screen and (max-width: 980px) {
    .aboutMeSection h2 {
        font-size: 1.9em;
    }

    .aboutMeSection p {
        font-size: 18px;
    }
}

@media screen and (max-width: 850px) {
    .aboutMeSection h2 {
        font-size: 1.7em;
    }

    .aboutMeSection p {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .aboutMeSection {
        flex-direction: column-reverse;
        padding: 20px;
    }

    .aboutMeSection .aboutMeText,
    .aboutMeSection .aboutMePicture {
        width: 100%;
    }

    .aboutMeSection .aboutMePicture {
        width: 100%; 
        justify-content: center; 
        align-items: center; 
        padding: 0; 
        margin-top: 20px;
        box-sizing: border-box; 
    }

    .aboutMeSection .aboutMeText {
        padding: 0 50px;
        box-sizing: border-box;
    }

    .aboutMeSection img {
        width: 40%;
        max-width: 300px;
    }

    .aboutMeSection h2 {
        font-size: 1.9em;
        margin: 10px;
    }

    .aboutMeSection p {
        font-size: 19px;
        margin: 10px;
    }
}

@media screen and (max-width: 620px) {
    .aboutMeSection .aboutMeText {
        padding: 0 25px;
    }

    .aboutMeSection h2{
        font-size: 1.9em;
        margin-bottom: 30px;
    }

    .aboutMeSection p {
        font-size: 21px;
        
    }

    .aboutMeSection img {
        width: 80%;
    }
}

@media screen and (max-width: 530px) {
    .aboutMeSection .aboutMeText {
        padding: 0 15px;
    }

    .aboutMeSection h2 {
        font-size: 1.9em;
    }

    .aboutMeSection p {
        font-size: 20px;
    }

    .aboutMeSection img {
        width: 60%;
    }
}

@media screen and (max-width: 480px) {
    .aboutMeSection {
        padding: 15px;
    }

    .aboutMeSection .aboutMeText {
        padding: 0 10px;
    }

    .aboutMeSection h2 {
        font-size: 1.8em;
    }

    .aboutMeSection p {
        font-size: 19px;
    }
}

@media screen and (max-width: 430px) {
    .aboutMeSection {
        padding: 0;
    }

}

/* Services Section */
.servicesSection {
    padding: 60px 40px;
    max-width: 1600px;
    margin: 40px auto;
    box-sizing: border-box;
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.servicesSection .servicesHeader {
    text-align: center;
    margin-bottom: 40px;
}

.servicesSection .servicesHeader h2 {
    font-size: 2.5em;
    color: #333;
    margin: 0;
    position: relative;
    display: inline-block;
}

.servicesSection .servicesHeader h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #007BFF;
}

.servicesSection .servicesContent {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.servicesContent .serviceItem {
    width: calc(33.333% - 20px);
    padding: 30px 20px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 250px;
}

.servicesContent .serviceItem:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.servicesContent .serviceItem h3 {
    font-size: 1.8em;
    margin: 0 0 15px;
    text-align: center;
    color: #333;
}

.servicesContent .serviceItem p {
    font-size: 1.2em;
    text-align: center;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Adjustments for Services Section */
@media screen and (max-width: 1150px) {
    .servicesContent .serviceItem h3 {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 1070px) {
    .servicesContent .serviceItem p {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 1030px) {
    .servicesSection {
        padding: 30px 20px;
    }

    .servicesContent .serviceItem h3 {
        font-size: 1.4em;
    }

    .servicesContent .serviceItem p {
        font-size: 18px;
    }
}

@media screen and (max-width: 980px) {
    .servicesSection .servicesContent {
        gap: 10px;
    }
}

@media screen and (max-width: 900px) {
    .servicesSection .servicesContent {
        flex-wrap: wrap;
        gap: 20px;
    }

    .servicesContent .serviceItem {
        flex-basis: 100%;
        min-width: 200px;
    }

    .servicesContent .serviceItem h3 {
        font-size: 1.65em;
    }

    .servicesContent .serviceItem p {
        font-size: 22px;
    }
}

@media screen and (max-width: 440px) {
    .servicesSection {
        padding: 30px 10px;
    }

    .servicesSection .servicesHeader h2 {
        font-size: 1.9em;
    }

    .servicesContent .serviceItem p {
        font-size: 20px;
    }
}

/* Why Choose Me Section */
.whyChooseMeSection {
    padding: 60px 40px;
    max-width: 1400px;
    margin: auto;
    box-sizing: border-box;
    border-radius: 12px;
}

.whyChooseMeHeader {
    text-align: center;
    margin-bottom: 40px;
}

.whyChooseMeHeader h2 {
    font-size: 2.5em;
    color: #333;
    margin: 0;
    position: relative;
    display: inline-block;
}

.whyChooseMeHeader h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #007BFF;
}

.whyChooseMeContent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}

.whyChooseMeContent .middle {
    position: relative;
}

.whyChooseMeContent .middle::before,
.whyChooseMeContent .middle::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 70%;
    background-color: #777;
}

.whyChooseMeContent .middle::before {
    left: -9px;
}

.whyChooseMeContent .middle::after {
    right: -9px;
}

.whyChooseMeItem {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background-color: white;
}

.whyChooseMeItem .material-icons {
    font-size: 3em;
    color: #007BFF;
    margin-bottom: 20px;
}

.whyChooseMeItem h3 {
    font-size: 1.8em;
    margin: 0 0 15px;
    text-align: center;
    color: #333;
}

.whyChooseMeItem p {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Responsive Adjustments */
@media screen and (max-width: 1000px) {
    .whyChooseMeSection {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 900px) {
    .whyChooseMeSection {
        padding: 30px 60px;
    }

    .whyChooseMeContent {
        flex-direction: column;
        gap: 0px;
    }

    .whyChooseMeContent .middle::before,
    .whyChooseMeContent .middle::after {
        display: none;
    }

    .whyChooseMeContent .whyChooseMeItem:not(:last-child) {
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
    }

    .whyChooseMeItem {
        padding: 15px;
    }

    .whyChooseMeItem h3 {
        font-size: 2em;
    }

    .whyChooseMeItem p {
        font-size: 22px;
    }
}

@media screen and (max-width: 550px) {
    .whyChooseMeSection {
        padding: 30px 10px;
    }

    .whyChooseMeHeader h2 {
        font-size: 2.2em;
    }

    .whyChooseMeItem h3 {
        font-size: 1.6em;
    }

    .whyChooseMeItem p {
        font-size: 1em;
    }

    .whyChooseMeItem .material-icons {
        font-size: 2.5em;
    }
}

@media screen and (max-width: 430px) {
    .whyChooseMeSection {
        padding: 30px 10px;
    }

    .whyChooseMeHeader h2 {
        font-size: 2.1em;
    }

    .whyChooseMeItem h3 {
        font-size: 1.4em;
    }

    .whyChooseMeItem p {
        font-size: 1.2em;
    }

    .whyChooseMeItem .material-icons {
        font-size: 2.2em;
    }
}

/* Gallery Preview Section */
.galleryPrevSection {
    width: 100%; 
    max-width: 1600px; 
    margin: 20px auto; 
    overflow: hidden; 
    text-align: center;
    padding: 30px 40px;
    background-color: #333;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    position: relative;
}

.galleryPrevSection h2 {
    color: white;
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 2.5em;
    position: relative;
    display: inline-block;
}

.galleryPrevSection h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #007BFF;
}

.galleryButtons {
    margin-top: 30px;
}

.galleryButtons .button {
    display: inline-block;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    background: transparent;
    font-size: 1.1em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.galleryButtons .button:hover {
    background-color: white;
    color: #333;
}

.gallery-wrapper {
    max-width: 1520px;
    overflow: hidden; 
    position: relative;
}

.gallery-wrapper .carousel {
    font-size: 0; 
    margin: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    scroll-behavior: smooth;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

.carousel.dragging {
    cursor: grab;
    scroll-behavior: auto;
}

.carousel img {
    height: 400px;
    width: auto; 
    margin-right: 14px; 
    object-fit: cover; 
}

.carousel img:first-child {
    margin-left: 0;
}

.carousel img:last-child {
    margin-right: 0; 
}

/* Navigation controls */
.gallery-next-btn,
.gallery-prev-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5em; 
    color: white; 
    background: none; 
    border: none; 
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.gallery-next-btn {
    right: 20px; 
}

.gallery-prev-btn {
    left: 20px;
}

.gallery-next-btn:hover,
.gallery-prev-btn:hover {
    color: #007BFF; 
    transform: translateY(-50%) scale(1.3); 
}

/* Responsive adjustments */

@media screen and (max-width: 768px) {
    
    .gallery-next-btn,
    .gallery-prev-btn {
        width: 35px;
        height: 35px;
    }
}   


@media screen and (max-width: 600px) {
    .carousel img {
        width: 100%; 
    }

    /* Hide specific images on small screens */
    .carousel img.hide-mobile {
        display: none;
    }

    .galleryPrevSection {
        padding: 20px 0px;
    }
}

@media screen and (max-width: 480px) {
    
    .galleryPrevSection h2 {
        font-size: 2.1em; /* Adjust the size as needed */
        margin-top: 0;
    }

    .galleryButtons .button {
        font-size: 1em; 
        padding: 10px 20px; 
    }

    .portfolio-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .gallery-next-btn,
    .gallery-prev-btn {
        width: 30px;
        height: 30px;
    }
}

/*
        ---------------------
            Portfolio page
        ---------------------
*/

.gallerySection {
    display: flex;
    gap: 20px; 
    width: 100%; 
    box-sizing: border-box;
}

.galleryWrapper {
    display: flex;
    align-items: flex-start; 
    gap: 20px; 
    max-width: 1600px; /* Limit width to match header */
    margin: 0 auto; /* Center the wrapper */
    width: 100%; /* Ensure it takes full width up to max-width */
}

.sidebarContainer {
    position: sticky;
    border-radius: 12px; 
    top: 0; 
    max-height: 100vh; 
    overflow-y: auto; 
    flex-shrink: 0; 
    background-color: #333; 
    color: white; 
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5); 
    padding: 15px; 
    font-family: 'Overpass', sans-serif; 
    scrollbar-width: thin;
    scrollbar-color: #888 #333;
    box-sizing: border-box;
}

.sidebarContainer::-webkit-scrollbar {
    width: 8px;
}

.sidebarContainer::-webkit-scrollbar-track {
    background: #333;
    border-radius: 12px;
}

.sidebarContainer::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 20px;
    border: 2px solid #333;
}

.sidebarList {
    list-style: none; 
    padding: 0; 
    margin: 0; 
    gap: 15px; 
}

.sidebarList ul {
    list-style: none;
    font-size: 20px; 
    padding-left: 30px; 
}

.sidebarList li {
    margin-bottom: 10px; 
    font-size: 20px; 
    border-radius: 5px; 
    transition: background-color 0.3s ease, color 0.3s ease; 
    background-color: transparent; 
    color: white; 
}

.sidebarList ul li {
    margin-bottom: 5px; 
    font-size: 18px; 
}

.sidebarList li.selected {
    background-color: #007BFF; 
    color: white; 
    font-weight: bold; 
}

.sidebarLink {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebarLink:hover {
    background-color: #444;
    color: #007BFF;
}

.sidebarSubLink {
    display: block;
    padding: 8px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 1em;
    margin-left: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebarSubLink:hover {
    background-color: #555;
    color: #007BFF;
}

.sidebarSubLink.active {
    color: #007BFF;
}

.sidebarLink.active {
    color: #007BFF; 
    font-weight: bold;
    border-bottom: 2px solid #007BFF; 
}

.sidebarList a.activeSection {
  text-decoration: underline;
  color: #007BFF;
  
}

.sidebarList li:hover {
    background-color: #444; 
    color: #007BFF; 
}

.sidebarList li.selected .sidebarLink {
    color: white; 
}

.gallerySection .galleryBox .galleryTiles {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 10px;
    width: 100%;
    position: relative;
    background-color: #f5f5f5;
    
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

.galleryBox {
    flex-grow: 1; 
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
}

.gallerySection .galleryBox .galleryTiles .galleryRow {
    width: 33%;
}

.gallerySection .galleryBox .galleryTiles .galleryRow img {
    width: 100%;
    padding-bottom: 10px;
    transition: transform 1s ease;
}



.galleryBox h2, 
.galleryBox h3 {
    position: sticky;
    top: 0; 
    background-color: #f9f9f9; 
    z-index: 1; 
    padding: 10px; 
    margin-bottom: 10px; 
    margin-top: 0; 
    border-bottom: 1px solid #ddd; 
}

.galleryBox h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5em;
    color: #333;
    position: relative;
}

.galleryBox h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #007BFF;
}

.galleryBox h3 {
    font-family: 'Overpass', sans-serif;
    font-size: 1.5em;
    color: #555;
    font-weight: 400;
}

/* Responsive adjustments for sidebar */
@media screen and (max-width: 1100px) {
    .sidebarContainer{
        display: none; 
    }

    .galleryBox h3::after {
        content: '▼'; 
        position: absolute;
        right: 10px; 
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.8em; 
        color: #555; 
    }
}

@media screen and (max-width: 600px) {
    .gallerySection .galleryBox .galleryTiles {
        flex-wrap: wrap; 
    }

    .gallerySection .galleryBox .galleryTiles .galleryRow {
        width: 100%; 
    }
    .galleryBox h3{
        font-size: 1.28em; 
    }
}

/*
        ---------------------
            Contact page
        ---------------------
*/

.contactsSection .contactsText {
    width: 100%;
    align-items: center;
    text-align: center; 
    justify-content: center; 
    align-items: center; 
}


.contactsSection .contacts{
    width: 50%;
}

.contactsSection {
    width: 100%;
    max-width: 1350px;
    overflow: hidden;
    margin: 0 auto;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.contactsSection .contactsText {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.contactsSection .contactsText h2 {
    font-size: 2.5em;
    color: #333;
    margin: 0 0 20px;
    position: relative;
    display: inline-block;
}

.contactsSection .contactsText h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #007BFF;
}

.contactsSection .contactsText h3 {
    font-size: 1.3em;
    color: #555;
    line-height: 1.6;
    font-weight: normal;
    max-width: 800px;
    margin: 0 auto;
}

.contactsContainer {
    width: 100%;
    display: flex;
    gap: 40px;
}
 
.contactsSection .contacts {
    width: 50%;
    padding: 30px;
    background-color: #333; 
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.contactItem {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contactItem .material-icons {
    font-size: 28px;
    color: #007BFF;
    margin-right: 15px;
    margin-top: 5px;
}

.contactItem div {
    flex: 1;
}

.contactsSection .contacts h2 {
    font-size: 1.5em;
    margin: 0 0 5px;
    color: white;
}

.contactsSection .contacts h3 {
    font-size: 1.1em;
    font-weight: normal;
    margin: 0;
    color: #ccc;
}

.contactsSection .contacts a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contactsSection .contacts a:hover {
    color: #007BFF;
}

.socialContact {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}


.socialContact {
    display: flex;
    gap: 15px;
    margin: 0;
    align-content: baseline;
}

.socialContact a {
    color: #ccc;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.socialContact a:hover {
    transform: scale(1.2);
    color: #007BFF;
}

.socialContact .material-icons {
    font-size: 32px;
}

.socialContact .custom-icon {
    padding-top: 7px;
    margin-right: 18px;
    width: 28px;
    height: 28px;
    color: #007BFF;
}

.mapContainer {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    height: 250px; 
}

.mapContainer iframe {
    display: block;
    width: 100%;
}

.contactsSection .contactsForm {
    width: 50%;
    padding: 10px;
    background-color: white; 
    color: #333;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.contactsForm form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactsForm input,
.contactsForm textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Overpass', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contactsForm textarea {
    min-height: 150px;
    resize: vertical;
}

.contactsForm input:focus,
.contactsForm textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.contactsForm button {
    padding: 15px;
    background-color: transparent;
    color: #007BFF;
    border: 2px solid #007BFF;
    border-radius: 8px;
    font-family: 'Overpass', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center; 
}

.contactsForm button:hover {
    background-color: #007BFF;
    color: white;
}


button.disabled {
    background-color: #ccc;
    color: #666;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
    transition: background-color 0.3s ease, color 0.3s ease;
}


.input-group {
    margin-bottom: 20px;
}

.input-group p {
    margin: 0 0 5px;
    font-size: 1em;
    color: #555;
    font-weight: 600;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
}


.input-wrapper .input-group-message{
    padding: 10px;
    padding-top: 50px;
    background-color: #007BFF; 
    color: white;
    font-size: 24px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}


.input-wrapper i {
    padding: 10px;
    background-color: #007BFF; 
    color: white;
    font-size: 24px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}


.input-wrapper input,
.input-wrapper textarea {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 1em;
    font-family: 'Overpass', sans-serif;
    background-color: transparent;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    background-color: #fff;
}


.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.form-actions .g-recaptcha {
    flex-shrink: 0;
}

.form-actions button {
    margin: 0;
}


.input-wrapper select {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 1em;
    font-family: 'Overpass', sans-serif;
    background-color: transparent;
    cursor: pointer;
}

.input-wrapper select:focus {
    background-color: #fff;
}


.textarea-wrapper i {
    align-self: flex-start;
    padding: 15px;
    height: auto;
    background-color: #007BFF;
    color: white;
    font-size: 24px;
    border-radius: 8px 0 0 8px;
}

.textarea-wrapper textarea {
    border-radius: 0 8px 8px 0;
}

/* Media queries for contacts section */

@media screen and (max-width: 1130px) {
    .form-actions {
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 20px; 
    }

    .form-actions .g-recaptcha {
        width: auto; 
        margin: 0 auto; 
    }

    .mapContainer {
        height: 320px; 
    }

}
@media screen and (max-width: 950px) {
    .contactsContainer{
        flex-direction: column; 
        align-items: center; 
    }

    .contactsContainer .contacts{
        width: 100%;
        max-width: 550px; 
    }

    .contactsContainer .contacts h2{
        font-size: 1.7em;
    }

    .contactsContainer .contacts h3{
        font-size: 1.2em;
    }

    .contactsContainer .contacts a{
        font-size: 1.2em;
    }

    .contactsSection .contactsText h3{
        font-size: 1.4em;
    }

    .contactsSection .contactsText .material-icons{
        font-size: 1.8em;
    }
    .contactItem .material-icons {
        font-size: 31px;
    }

    .contactsContainer .contactsForm{
        width: 100%;
        max-width: 550px; 
    }

    .contactsForm p{
        font-size: 1.3em;
    }
}
@media screen and (max-width: 550px) {
    
    .contactsSection .contactsText h2{
        font-size: 2em;
    }

    .contactsSection .contactsText h3{
        font-size: 1.3em;
    }
    .contactsText{
        padding: 20px;
        box-sizing: border-box;
    }

    .contactsSection {
        padding: 0px;
        box-sizing: border-box;
    }

    .contactsContainer {
        gap: 15px;
    }
    
    .contactsContainer .contacts {
        padding: 20px;
    }

    .contactsContainer .contacts h2{
        font-size: 1.5em;
    }

    .contactsContainer .contacts h3{
        font-size: 1.2em;
    }

    .contactsContainer .contacts a{
        font-size: 1.2em;
    }

    .contactsForm p{
        font-size: 1.2em;
    }

    
    .contactItem .material-icons {
        font-size: 30px;
    }

    .contactsContainer .contactsForm{
        width: 100%;
        max-width: 550px; 
    }

    .mapContainer {
        height: 250px; 
    }
    
}

/* Skeleton loading effect */
.skeleton {
  width: 800px;           /* or a fixed width, e.g., 300px */ 
  background-color: #ccc;
  position: relative;
  overflow: hidden;
}

img.skeleton {
  /* Optionally enforce size on the img element while loading */
  width: 100%;
  display: block;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/*temporary*/

/*
        ---------------------
            Contact page
        ---------------------
*/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: white;
    border-radius: 12px;
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 40px;
    position: relative;
    max-width: 1600px;
}

.footerContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

.footerContent p {
    margin: 0;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.footerContent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #007BFF;
}

.footerSocial {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.footerSocial a {
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footerSocial .material-icons {
    font-size: 28px;
}

.footerSocial a:hover {
    transform: scale(1.2);
    color: #007BFF;
}

.footerInfo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2em;
}

.footerInfo a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footerInfo a:hover {
    color: #007BFF;
}

@media screen and (max-width: 768px) {
    .footerInfo {
        font-size: 1em;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footerContent{
        font-size: 1.1em
    }
}



/* Thank You Page */
.thankYouContainer {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.thankYouHeader {
    position: relative;
    margin-bottom: 20px;
}

.thankYouHeader .shadowedNumber {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4em;
    color: rgba(0, 0, 0, 0.1);
    font-weight: bold;
    z-index: -1;
}

.thankYouHeader h1 {
    font-size: 2.5em;
    color: #333;
    margin: 0;
    position: relative;
    display: inline-block;
}

.thankYouHeader h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #007BFF;
}

.thankYouContainer p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.thankYouButtons .button {
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    border: 2px solid #007BFF;
    border-radius: 5px;
    background-color: #007BFF;
    font-size: 1.1em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thankYouButtons .button:hover {
    background-color: white;
    color: #007BFF;
}

/* Responsive adjustments for Thank You page */
@media screen and (max-width: 480px) {
    .thankYouContainer {
        padding: 20px;
    }

    .thankYouHeader .shadowedNumber {
        font-size: 3em;
        top: -20px;
    }

    .thankYouHeader h1 {
        font-size: 2em;
    }

    .thankYouContainer p {
        font-size: 1em;
    }

    .thankYouButtons .button {
        font-size: 1em;
        padding: 10px 20px;
    }
}






