* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    padding: 8rem 5rem;
}

:root {
    --main-background : #F5F2EA;
    --second-background : #EFE8DB;
    --accent : #BC7F51;

    --higlight : #A5A085;
}

.svg-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.arrow {
    color: var(--accent);
    font-size: 1.2rem;
}

html {
    scroll-behavior: smooth;
}

/* Target the scrollbar track */
::-webkit-scrollbar {
    width: 20px; /* Adjust width */
}

/* Track (the background) */
::-webkit-scrollbar-track {
    background: var(--second-background); /* Light gray background */
    border-left: solid var(--accent) 1px;
}

/* Scrollbar handle */
::-webkit-scrollbar-thumb {
    background: var(--accent); /* Darker gray */
    border-radius: 10px;
}

/* Scrollbar handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--higlight) /* Even darker */
}


body {
    position: relative;
    background-color: var(--main-background);
}

main {
    position: relative;
    height: 100vh;

    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5), #00000000), 
        url('Assets/Images/large-screen_home.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;

    transition: 1s;

}

main::after {
    position: absolute;
    inset: 0;

    background: linear-gradient(to bottom, black, transparent);

    z-index: 3;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 2rem;

    font-family: 'Main-body';
    letter-spacing: 2px;

    font-size: 1.1rem;

    transition: .5s;
}

header .logo.mobile {
    display: none;
}

header .logo.header img {
    width: 300px;
}

header #navbar {
    list-style-type: none;

    display: flex;
}

header #navbar a {
    text-decoration: none;
    color: white;

    padding: 0 3rem;
}

header #navbar a:hover {
    color: goldenrod;
}

header #navbar a:not(header #navbar a:last-child) {
    border-right: solid rgba(255, 255, 255, 0.541) 1px;
}

#hero-sec {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: column;
}

#hero-sec h1 {
    font-family: "Main-alt";
    color: white;

    letter-spacing: 5px;
    font-weight: normal;

    text-align: center;

    line-height: 2;
}

#hero-sec .hero-link {
    position: relative;
    font-family: "Main-body";
    font-size: 1.1rem;
    padding: 1rem 2rem;
    letter-spacing: 2px;

    color: white;
    backdrop-filter: blur(5px);
    border: solid white 1.5px;
    border-radius: 50px;

    z-index: 1;

    cursor: pointer;

    text-decoration: none;
    transition: .8s;
}

#hero-sec .hero-link:hover {
    color: black;
    background-color: white;
}


/** About Me Section **/ 

#about-me {
    position: relative;
    display: flex;

    gap: 3rem;
}

#about-me .img-container {
    display: flex;
    align-items: center;
    justify-content: center;


    flex: .8;
}

#about-me .img-container img {
    width: 70%;

    box-shadow: -50px -50px var(--higlight);

    border-radius: 50% 50% 0px 0px;
}

#about-me .content .accent-text {
    margin-left: -50px;
    margin-bottom: 30px;
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent);

    font-size: .7rem;
}

#about-me .content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;

    flex: 1;
}

#about-me .content h1 {
    font-family: 'Main-heading';
    font-size: 5rem;

    font-weight: normal;

    line-height: .8;

    margin-bottom: 20px;
}

#about-me .content h1 span {
    font-family: "Main-heading-emp";
}

#about-me .content p {
    font-family: "Main-body";
    color: var(--accent);
    width: 600px;
    font-size: 1rem;
    line-height: 2;
}


/** What I Do section **/

#what-i-do {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    background-image: url(Assets/Images/Background/background_1.png);
    background-size: cover;

    background-position: center;

    border-bottom: solid var(--accent) 1px;

    gap: 3rem;
}

#what-i-do .header-container {
    margin: 0 5rem;
}

#what-i-do h1 {
    font-size: 5rem;
    font-family: 'Main-heading';
    font-weight: normal;
}

#what-i-do h1 span {
    font-family: 'Main-heading-emp';
}

#what-i-do .accent-text {
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent);

    font-size: .7rem;
    margin-top: 1rem;
    margin-left: 2rem;
    line-height: 1.5;
}

.card-container {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 3rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    border: solid var(--accent) 1px;

    border-radius: 200px 200px 0px 0px;

    width: 400px;

    cursor: pointer;

    transition: .3s;

    padding: 2.5rem;
}

.card:hover {
    background-color: var(--higlight);
    color: white;

    transform: scale(1.05);

    box-shadow: 15px 15px var(--accent);
}

.card:hover  p {
    color: white;
}

.card .img-container {
    width: 100%;
    height: 300px;
}

.card > .img-container img {
    width: 100%;
    height: 100%;

    border-radius: 200px 200px 0px 0px;

    object-fit: cover;

    transition: .3s;
    object-fit: cover;

    border:solid var(--accent) 1px;
}

.card .content {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;
}

.card h2 {
    position: relative;
    font-family: 'Main-alt';
    padding: 1rem;

    font-size: 1.2rem;
    letter-spacing: 2px;
}

.card h2::after {
    content: '';

    position: absolute;

    left: 50%;
    transform: translateX(-50%);
    bottom: 0;

    height: 2px;
    width: 100px;
    background-color: var(--accent);
}


.card p {
    text-align: center;
    font-family: 'Main-body';
    line-height: 3;
    color: var(--accent);
}



/** My Gallery **/

#my-gallery {
    background-image: url(Assets/Images/Background/background_2.png);
    background-size: cover;
    background-position: center;

    display: flex;

    gap: 3rem;

    padding: 10rem;
}

#my-gallery .content {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 2rem;
}

#my-gallery .content h1 {
    font-size: 5rem;
    font-family: 'Main-heading';
    font-weight: normal;
}

#my-gallery .content h1 span {
    font-family: 'Main-heading-emp';
}

#my-gallery .content p {
    width: 600px;
    line-height: 2;
    font-family: 'Main-body';
    color: var(--accent);
}

#my-gallery .gallery-container {
    position: relative;
    flex: .8;

    background-color: var(--main-background);
}

.gallery-container .carousel-container {
    position: relative;

    height: 600px;

    border-top: solid var(--accent) 1px;
    border-right: solid var(--accent) 1px;
    border-left: solid var(--accent) 1px;

    overflow: hidden;

    padding: 2rem;
}

.gallery-container #carousel {
    position: relative;

    transition: transform .3s ease-in-out;

    border: solid var(--accent) 1px;

    height: 100%;

}

.gallery-container #carousel > div {
    position: absolute;

    width: 100%;
    height: 100%;
}

.gallery-container #carousel > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-container .see-more {
    text-decoration: none;
    border: solid var(--accent) 1px;

    display: flex;

    transition: .3s;
}

.gallery-container .see-more:hover {
    background-color: var(--higlight);
    color: white;
}

.gallery-container .see-more:hover p {
    color: white;
}

.gallery-container .see-more:hover .arrow {
    border-left: solid white 1px;
    color: white;
}

.gallery-container .see-more p {
    flex: 9;
    font-family: 'Main-body';
    padding: 1rem;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 500;
    font-size: .9rem;
}

.gallery-container .see-more .arrow {
    flex: 1;

    border-left: solid var(--accent) 1px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.carousel-button {
    font-size:1rem;

    height: 40px;
    width: 40px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--main-background);
    border: solid var(--accent) 1px;
    color: var(--accent);


    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    transition: .1s;

    z-index: 3;
}

.carousel-button.left {
    left: -60px;
}

.carousel-button.right {
    right: -60px;
}

.carousel-button:hover {
    background-color: var(--higlight);
    border: solid white 1px;
    color: white;
}

/** Location **/

#location {
    display: flex;
    gap: 2rem;
}

#location .content {
    display: flex;
    flex-direction: column;

    flex: 1;

}

#location .content h1 {
    font-family: 'Main-heading';
    font-weight: normal;

    font-size:5rem;

    border-bottom: solid var(--accent) 2px;
    width: fit-content;

    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

#location .content h1 span {
    font-family: "Main-heading-emp";
}

#location .content p {
    font-family: 'Main-body';
    width: 450px;
    color: var(--accent);
    line-height: 2;
}

#location .location-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;

    flex: 1.2;
}

#location .location-container .location {
    display: flex;

    border: solid var(--accent) 1px;

    transition: .2s;

    border-radius: 400px 0px 0px 400px;
}

#location .location-container .location:hover {
    transform: translateX(-30px);
}

#location .location-container .location img {
    height: 100%;
    width: 300px;

    border-radius: 50%;
    border: solid var(--accent) 1px;
    object-fit: cover;
}

#location .location-container .location > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    padding: 2rem;
}

#location .location-container .location div h2 {
    font-family: 'Main-alt';
}

#location .location-container .location div p {
    font-family: 'Main-body';
    line-height: 2;
    color: var(--accent);
}

#location .location-container .location .direction {
    font-family: 'Main-body';
    
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 2rem;
    
    text-decoration: none;
    color: var(--accent);
    letter-spacing: 1px;
}

#location .location-container .location .direction:hover {
    color: var(--higlight);
}

/** Contact Me **/

#contact-me {
    display: flex;
    gap: 3rem;


    background-image: url(Assets/Images/Background/background_1.png);
    background-size: cover;
    background-position: center;
}

#contact-me .social-container {
    display: flex;
    flex-direction: column;

    height: 300px;

    flex: 1;

    background-color: var(--main-background);
}

#contact-me .social-container > a {
    text-decoration: none;
    color: var(--accent);
    border: solid var(--accent) 1px;

    display: flex;
    gap: 2rem;

    height: 100%;
    transition: .2s;
}

#contact-me .social-container > a div {
    display: flex;
    align-items: center;
    flex: 9;
}

#contact-me .social-container > a div:first-child {
    padding: 0 2rem;
    gap: 1rem;
}

#contact-me .social-container > a div:last-child {
    border-left: solid var(--accent) 1px;
    flex: 1;
    justify-content: center;
}

#contact-me .social-container > a:hover {
    background-color: var(--higlight);
    color: white;
}

#contact-me .social-container > a:hover .arrow {
    color: white;
}

#contact-me .social-container > a:hover div:last-child {
    border-left: solid white 1px;
}

#contact-me .social-container a:not(#contact-me .social-container a:last-child) {
    border-bottom: none;
}

#contact-me .social-container p {
    font-family: 'Main-body';
}

#contact-me .content {
    border: solid var(--accent) 1px;
    background-color: var(--main-background);

    height: 300px;
    flex: 1;
}

#contact-me h1 {
    font-size: 4rem;

    display: flex;
    align-items: center;

    font-family: 'Main-heading';
    font-weight: normal;

    border-bottom: solid var(--accent) 1px;

    height: 100px;
    width: 100%;

    padding: 0 2rem;
}

#contact-me h1 span {
    font-family: 'Main-heading-emp';
}

#contact-me .content p {
    font-family: 'Main-body';
    color: var(--accent);

    padding: 2rem;
    line-height: 3;
}


/** Footer **/ 

footer {
    background-color: var(--second-background);
    display: flex;
    flex-direction: column;
    font-family: 'Main-body';

    border-top: solid var(--accent) 1px;
}

footer .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 4rem 4rem 6.5rem 4rem;
}

footer img {
    width: 500px;
}

footer h3 {
    letter-spacing: 2px;
    font-weight: normal
}

footer ul {
    display: flex;
    justify-content: center;
    gap: 5rem;
    list-style-type: none;

}

footer ul a {
    position: relative;
    text-decoration: none;
    color: var(--accent);
}

footer ul a::after {
    position: absolute;
    content: '';

    bottom: 0;
    left: 0;

    height: 1px;
    width: 0%;

    background-color: var(--accent);

    transition: .2s;
}

footer ul a:hover::after {
    width: 100%;
}

footer .social-container {
    background-color: var(--higlight);
    display: flex;
    justify-content: center;
    padding: 3rem;

    gap: 3rem;
}

footer .social-container a {

    display: flex;
    justify-content: center;
    align-items: center;

    padding: .5rem;


    transition: .2s;

    cursor: pointer;
}

footer .social-container a:hover {
    transform: scale(1.2);
}

footer .social-container svg {
    fill: white;
    transition: .2s;
}