:root {
    --main-bg: #f7efe9;
    --sec-bg: #F5F5F7;
    --accent-color: #b97536;
    --accent-hover: #8F5927;

    --color-text-white: #ffffff;
    --color-text-black: #000000;
    --text-color-second: #888888;

    --font-main: 'Inter', sans-serif;
    --font-display: 'Manrope', sans-serif;

    --font-weight: 500;
    --font-weight2: 900;
    --font-weight3: 700;

    --fs-h1: clamp(2.8rem, 5vw + 1rem, 4.2rem);
    --fs-h2: clamp(2rem, 3.5vw + 1rem, 2.8rem);
    --fs-h3: clamp(1.2rem, 1.5vw + 0.8rem, 1.6rem);
    --fs-body: clamp(1rem, 1vw + 0.8rem, 1.125rem);
    --space-section: clamp(60px, 8vw, 100px);
}

@font-face {
    font-family: 'Inter';
    src: url(font/inter-v20-latin-regular.woff2);
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url(font/manrope-v20-latin-regular.woff2);
    font-display: swap;
}

/* main styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--main-bg);
    font-family: var(--font-main);
    color: var(--color-text-black);
    font-size: var(--fs-body);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: var(--font-weight2);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

h1,
.big-number {
    font-size: var(--fs-h1);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 10px;
    font-weight: var(--font-weight3);
}

h2,
.style-h2 {
    font-size: var(--fs-h2);
    margin-bottom: 20px;
}

.style-h2 {
    line-height: 1.2;
}

h3 {
    font-size: var(--fs-h3);
}

h4,
.service-price,
blockquote {
    font-size: 1.3rem;
}

.btn,
.ui,
.navlink {
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--color-text-black);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container,
header .nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

section {
    padding: var(--space-section) 0;
}

.btn,
.ui {
    padding: 16px 32px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-display);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover,
.ui:hover {
    scale: 1.05;
    transform: translateY(5px);
}

.btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--color-text-black);
}

.ui {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--color-text-black);
    transition: all 0.3s ease;
}

.ui:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--color-text-white);
}

.btn:hover {
    background-color: var(--sec-bg);
}

/* Accessibility*/
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--accent-color);
    color: var(--color-text-white);
    padding: 10px 20px;
    font-weight: bold;
    z-index: 9999;
    transition: top 0.3s ease;
    border-radius: 4px;
}

.skip-link:focus {
    top: 20px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*nav - menu - mobile*/

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
    gap: 6px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 30px;
    background-color: var(--color-text-black);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {


    .hamburger {
        display: flex;
    }

    header nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--sec-bg);
        border-bottom: 2px solid var(--accent-color);
        padding: 20px 0;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    header nav ul.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
    }

    nav ul li .ui {
        display: inline-block;
        margin-top: 10px;
        width: 80%;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li .ui {
        width: 90%;
        margin: 20px auto;
        box-shadow: 0 5px 15px rgba(199, 128, 62, 0.3);
    }
}

.hamburger span {
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*nav*/

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    padding: 10px 0;
    transition: all 0.5s ease;
    border-bottom: 1px solid var(--color-text-black);
    background-color: var(--sec-bg);
}

header .nav-container {
    width: 100%;
    justify-content: space-between;
}

#logo {
    width: 110px;
}

header ul {
    display: flex;
    gap: 10px;
    align-items: center;
}

.navlink {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    padding: 15px 20px;
}

.navlink:hover {
    opacity: 1;
}

.navlink::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-text-black);
    transition: width 0.3s ease;
}

.navlink:hover::after {
    width: 100%;
}

header .ui {
    padding: 16px 32px;
    text-align: center;
}

/*hero*/

#hero {
    padding-top: 120px;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    background-color: var(--main-bg);
}

#hero .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.hero-text {
    width: 100%;
    text-align: center;
    z-index: 2;
}

#hero p {
    opacity: 0.8;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--color-text-black);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.grid-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.img-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-box:hover img {
    transform: scale(1.1);
}

/*why us*/

#features .container {
    text-align: center;
    flex-direction: column;
}

#features h2 {
    margin-bottom: 10px;
}

#features>.container>p {
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: rgba(0, 0, 0, 0.8);
}

#features .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
    margin-top: 10px;
}

.feature-item {
    background-color: var(--sec-bg);
    padding: 40px 30px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    top: 0;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-hover);
}

.big-number {
    display: block;
    font-family: var(--font-display);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover .big-number {
    opacity: 1;
    color: var(--accent-color);
    transform: scale(1.1);
    transform-origin: left bottom;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--color-text-black);
}

.feature-item p {
    color: var(--color-text-black);
    opacity: 0.7;
    max-width: 100%;
    font-size: 1rem;
}

/*studio*/

#studio {
    position: relative;
    padding: 180px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.studio-content {
    position: relative;
    z-index: 2;
    color: var(--color-text-white);
    max-width: 800px;
}

.studio-content h2 {
    color: var(--color-text-white);
    margin-bottom: 30px;
}

.studio-content p {
    opacity: 0.9;
    color: var(--color-text-white);
}


/*menu*/

#services {
    background-color: var(--main-bg);
}

.services-layout {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.services-header {
    width: 35%;
    height: fit-content;
}

.services-header h2 {
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--color-text-black);
}

.services-header p {
    margin-bottom: 40px;
    opacity: 0.7;
}

.services-list {
    width: 60%;
}

.services-list ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.services-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.services-list li:hover {
    padding-left: 10px;
    border-bottom-color: var(--accent-color);
}

.service-info h4 {
    margin-bottom: 5px;
    color: var(--color-text-black);
}

.service-info span {
    color: var(--text-color-second);
    display: block;
    font-size: 1rem;
}

.service-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
}


/*reviews*/
#reviews .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#reviews h2 {
    margin-bottom: 60px;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    position: relative;
    padding-top: 20px;
}

.review-card,
.quote-icon,
.author-block {
    transition: all 0.3s ease;
}

.review-card:hover .quote-icon {
    color: var(--accent-hover);
    opacity: 0.7;
}

.review-card:hover .author-block {
    border-color: var(--accent-hover);
}

.review-card:hover {
    transform: scale(1.02);
}

/*""*/
.quote-icon {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 0;
    color: var(--accent-color);
    opacity: 0.5;
    margin-bottom: 20px;
    margin-left: -5px;
}

.review-card blockquote {
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text-black);
    margin-bottom: 30px;
}

.author-block {
    margin-top: auto;
    border-top: 1px solid var(--accent-color);
    padding-top: 20px;
}

.author-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-black);
}

.client-since {
    display: block;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 5px;
    font-size: 15px;
}

/*contact*/
#contact {
    background-color: var(--sec-bg);
}

.contact-layout {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 60px;
}

.contact-info {
    width: 45%;
    padding: 20px 0;
}

.contact-desc {
    margin-bottom: 40px;
    opacity: 0.7;
    max-width: 400px;
}

.info-block {
    margin-bottom: 50px;
}

.info-block address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-text-black);
}

.contact-link {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-link:hover {
    color: var(--accent-color);
}

.hours-block h3,
.info-block h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding-bottom: 10px;
}

.hours-list li:hover {
    border-bottom-color: var(--accent-color);
    padding-left: 10px;
}

.hours-list span {
    font-weight: 600;
}

.hours-list .time {
    font-family: var(--font-display);
    opacity: 0.8;
}

.hours-list .closed {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
}

/*filter map*/
.map-wrapper {
    width: 55%;
    min-height: 500px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
    filter: grayscale(100%) invert(0%) contrast(1.1);
    transition: filter 0.5s ease;
    width: 100%;
    height: 100%;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%);
}

/*footer*/

footer {
    background-color: var(--sec-bg);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    align-items: flex-start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.brand-col {
    flex: 2;
    max-width: 400px;
}

.links-col,
.contact-col {
    flex: 1;
    min-width: 200px;
}

footer h4 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-family: var(--font-display);
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.footer-logo {
    width: 140px;
    margin-bottom: 20px;
    display: block;
}

.brand-col p {
    opacity: 0.7;
    line-height: 1.6;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col a {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.links-col a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.contact-row,
.address-row {
    opacity: 0.7;
    font-style: normal;
}

.contact-row:hover,
.address-row:hover {
    opacity: 1;
    color: var(--accent-color);
}

/*ACCESSIBILITY*/
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/*SOCIAL MEDIA ICONS*/
.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 15px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--color-text-black);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    border-radius: 50%;
}

.social-link svg {
    width: 28px;
    height: 28px;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--color-text-white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 5px 15px rgba(185, 117, 54, 0.35);
}

/*bottom*/
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    opacity: 0.5;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@keyframes Entrance {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes SlideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes SlideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*anim - hero*/

#hero h1,
#hero p,
#hero .ui,
#hero .btn {
    opacity: 0;
    animation: Entrance 0.8s ease-out forwards;
}

#hero h1,
.img-box:nth-child(1) {
    animation-delay: 0.2s;
}

#hero p,
.img-box:nth-child(2) {
    animation-delay: 0.4s;
}

#hero .ui,
#hero .btn,
.img-box:nth-child(3) {
    animation-delay: 0.6s;
}

.img-box {
    opacity: 0;
    animation: Entrance 0.8s ease-out forwards;
}

.img-box:nth-child(4) {
    animation-delay: 0.8s;
}

/*animation - class*/

.delay-02 {
    animation-delay: 0.2s !important;
    opacity: 0;
}

.delay-04 {
    animation-delay: 0.4s !important;
    opacity: 0;
}

.delay-06 {
    animation-delay: 0.6s !important;
    opacity: 0;
}


.entrance.visible {
    animation: Entrance 0.6s ease forwards;
}

.slide-left.visible {
    animation: SlideLeft 0.6s ease forwards;
}

.slide-right.visible {
    animation: SlideRight 0.6s ease forwards;
}

/*DODATKOWE KLASY JS (STICKY HEADER & ACTIVE NAV)*/

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background-color: rgba(245, 245, 247, 0.95);
    backdrop-filter: blur(10px);
}

.navlink.active {
    color: var(--accent-color);
}

.navlink.active::after {
    width: 100%;
    background-color: var(--accent-color);
}

/*MEDIA QUERIES*/

@media (max-width: 1250px) {
    :root {
        --fs-small-ui: 1rem;
    }

    h4,
    .service-price,
    blockquote,
    .service-info span {
        font-size: var(--fs-small-ui);
    }

    .btn,
    .ui,
    .navlink {
        font-size: var(--fs-small-ui);
    }

    #logo {
        width: 90px;
    }

    .footer-logo {
        width: 120px;
        margin-bottom: 10px;
    }
}

@media (max-width: 1024px) {
    #hero {
        padding-top: 50px;
    }

    .hero-text {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .grid-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .grid-image .img-box {
        height: 220px;
    }

    .grid-image img {
        height: 100%;
        width: 100%;
    }

    #features .features-grid,
    .reviews-grid {
        gap: 20px;
    }

    .feature-item {
        padding: 30px 20px;
        text-align: left;
    }

    .services-layout {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }

    .services-header {
        width: 40%;
        text-align: left;
        position: sticky;
        top: 100px;
    }

    .services-list {
        width: 60%;
    }

    .contact-layout {
        flex-direction: row;
        gap: 30px;
    }

    .map-wrapper {
        width: 48%;
    }

    header {
        padding: 0;
    }
}

@media (max-width: 820px) {
    :root {
        --fs-small-ui: 0.9rem;
    }
}

@media (max-width: 768px) {

    #features .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        gap: 80px;
    }

    .review-card blockquote {
        margin-bottom: 10px;
    }

    .services-layout,
    .contact-layout {
        flex-direction: column;
    }

    .contact-info,
    .footer-content {
        text-align: center;
        flex-direction: column;
    }

    .contact-desc,
    .hours-list,
    .info-block address {
        max-width: 100%;
    }

    .services-header,
    .services-list,
    .contact-info,
    .map-wrapper,
    #contact a {
        width: 100%;
        display: inline-block;
    }

    .feature-item {
        text-align: center;
    }

    .footer-content {
        gap: 20px;
    }

    .brand-col,
    .links-col,
    .contact-col {
        align-items: center;
        max-width: 100%;
        width: 100%;
        flex: auto;
    }

    .footer-logo {
        margin: 0 auto 20px auto;
    }

    .services-header {
        position: static;
        margin-bottom: 40px;
        align-items: center;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .map-wrapper {
        min-height: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-section: 50px;
    }

    .grid-image .img-box {
        height: 180px;
    }

    .studio-content {
        flex-direction: column;
    }

    .map-wrapper {
        min-height: 300px;
        height: 300px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .btn,
    .hero-buttons .ui {
        width: 100%;
    }

    .services-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* DESKTOP HERO */
@media (min-width: 1025px) {
    #hero {
        padding-top: 0;
        height: 85vh;
        overflow: hidden;
    }

    #hero .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 80px;
    }

    .hero-text {
        width: 45%;
        text-align: left;
    }

    #hero p {
        margin: 0 0 30px 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .grid-image {
        width: 50%;
        max-width: none;
        gap: 25px;
        align-items: center;
    }

    .grid-image img {
        height: 300px;
    }

    .img-box:nth-child(even) {
        top: 60px;
    }

    .img-box:nth-child(odd) {
        top: -20px;
    }
}