
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;700&display=swap');

/* Global Styles */
body {
    margin: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-family: 'Open Sans', sans-serif;
}


h1, h2, h3, h4 {
    color: #372130;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
}

.line {
    display: block;
    opacity: 0;
    transform: rotateX(90deg);
    transform-origin: top;
    animation: foldIn 0.8s ease-out forwards;
}


h2 {
    font-size: 40px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 18px;
}


h3 {
    font-size: 22px;
    line-height: 36px;
    font-weight: 200;
    text-align: center;
}

p{
    font-size: 24px;
    font-weight: 200;
    text-align: center;
    color: #372130;
}

.hero-section h3 {
    max-width: 600px;
    text-align: left;
}

/* Layout */
.container {
    max-width: 1104px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Navbar */
.navbar {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #83366A;
    height: 24px;
    padding: 24px 128px;
}

.navbar img {
    width: 50px;
    height: 50px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 0;
    letter-spacing: 0.8px;
}

.nav-links a {
    font-size: 16px;
    color: #f1f1f1;
    text-decoration: none;

}

.nav-links a:hover {
    color: #3d1932;
}

.navbar .btn{
    background-color: #f1f1f1;
    color: #83366A;
}

/* Animates the main heading lines */
.line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-in-out forwards;
}

.line:nth-child(1) { animation-delay: 0.3s; }
.line:nth-child(2) { animation-delay: 0.6s; }

/* Animates subtext */
.hero-text h3 {
    opacity: 0;
    margin-top: 16px;
    font-size: 24px;
    line-height: 39px;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-in-out forwards;
    animation-delay: 1s;
}

/* Buttons */
.btn {
    background-color: #83366A;
    color: #f1f1f1;
    padding: 0 24px;
    height: 44px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.7px;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.btn:hover {
    background-color: #662953;
    color: #ddd;
    transform: scale(1.1);
}

/* Sections */
section {
    width: 100%;
    box-sizing: border-box;
    padding: 0 128px;
    margin-top: 80px;
    margin-bottom: 80px;
}

section:first-of-type {
    margin-top: 0;
}

section:last-of-type {
    margin-bottom: 0;
}

/* Hero Section */
.hero-section {
    background-image: url('assets/background5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    text-align: left;
    display: flex;
    height: 90vh;
}

.hero-text {
    max-width: 830px;
}

/* Services Section */
.services-section h3{
    margin-bottom: 60px;
    text-align: left;
}

.services-box {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    width: 140px;
    height: 140px;
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Initially hidden */
    opacity: 0;
    transform: translateY(20px);
}

/* Animation is applied only when .show class is added */
.service-card.show {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Staggered delays */
.service-card:nth-child(1).show { animation-delay: 0.2s; }
.service-card:nth-child(2).show { animation-delay: 0.4s; }
.service-card:nth-child(3).show { animation-delay: 0.6s; }
.service-card:nth-child(4).show { animation-delay: 0.8s; }
.service-card:nth-child(5).show { animation-delay: 1s; }
.service-card:nth-child(6).show { animation-delay: 1.2s; }
.service-card:nth-child(7).show { animation-delay: 1.4s; }

.service-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;

}

.service-card svg {
    fill: #372130;
}

.service-card span {
    margin-top: 8px;
    font-size: 20px;
}

/* Fade-in from the left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade-in from the right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* When visible, trigger animation */
.about-us-right.show {
    opacity: 1;
    transform: translateX(0);
}

.working-hours-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* Image Section */
.image-section {
    text-align: center;
}

.image-box {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 16px;
}

.image-box img {
    width: 100%;
    transform: translate(-50%, -30%);
    position: relative;
    left: 50%;
    top: 50%;
}

.image-box {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.image-box.show {
    opacity: 1;
    transform: translateY(0);
}

/* About Us Section */
.about-us-section {
    display: flex;
    justify-content: space-between;
}

/* Left side (text and button) */
.about-us-left {
    flex: 1;
    padding-right: 40px;
}

.about-us-left h3 {
    text-align: left;
}
.social-links {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.social-links img {
    width: 30px;
    height: 30px;
    background-color: #83366A;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.social-links img:hover {
    background-color: #662953;
    transform: scale(1.1);
}

.about-us-left {
    display: flex;
    flex-direction: column;
}

/* Right side (image) */
.about-us-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s ease-out, transform 0.9s ease-out;
}

.about-us-right img {
    width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: 28px;
    height: 600px;
}

.reviews-section h2 {
    text-align: center;
}

.reviews-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
}

/* Scrollbar styling for Webkit browsers */
.reviews-container::-webkit-scrollbar {
    height: 8px;
}

.reviews-container::-webkit-scrollbar-thumb {
    border-radius: 8px;
}

.review {
    max-width: 260px;
    background: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    flex-shrink: 0; 
}

.review-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.review p {
    font-size: 16px;
    color: #333;
    margin: 10px;
}

.stars {
    color: rgb(255, 187, 0);
    font-size: 20px;
}

.working-hours-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.working-hours-left {
    width: 70%;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s ease-out, transform 0.9s ease-out;
}

.working-hours-img {
    width: 100%;
    border-radius: 12px;
}

.working-hours-right {
    width: 40%;
    text-align: left;
    height: 500px;
}

.working-hours-right h2 {
    margin-top: 0;
}

.working-hours-right ul {
    list-style: none;
    color: #372130;
    font-size: 22px;
    line-height: 32px;
    font-weight: 200;
    padding: 0;
    margin: 0;
    margin-bottom: 48px;
}

.working-hours-right li {
    margin-bottom: 8px;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Responsive: Move Image Under Text in About Us Section */
@media screen and (max-width: 1024px) {
    .image-box {
        border-radius: 12px;
    }

    .about-us-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-us-left {
        order: 1;
        padding-right: 0;
    }

    .about-us-right {
        order: 2;
        justify-content: center;
        width: 100%;
    }

    .about-us-right img {
        margin-top: 80px;
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .hero-section h1 {
        font-size: 48px;
    }

    .working-hours-section {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .working-hours-right {
        width: 100%;
        order: -1;
        text-align: center;
    }

    .working-hours-left {
        width: 100%;
        order: 2; /* Image goes down */
    }

    .working-hours-img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
        border-radius: 12px;
    }

    .working-hours-right h2 {
        text-align: center; /* Center h2 */
    }

    .working-hours-right ul {
        text-align: center;
        padding: 0;
    }

    .working-hours-right .btn {
        display: block;
        margin: 0 auto; /* Centers the button */
    }

    .contacts-left, .contacts-right{
        margin: 40px;
    }
}

@media screen and (max-width: 768px){
    section {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}


.contacts-section {
    display: flex;
    align-items: flex-start; 
    justify-content: space-between;
    gap: 40px;
    background: #f5f5f5;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 40px auto;
}

.contacts-left ul {
    list-style: none;
    padding: 0;
    margin-bottom: 48px;
    justify-content: flex-start;
}

.contacts-left li {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.map-container,
.video-container {
    width: 100%;
    height: 400px;

}

.contacts-center iframe {
    width: 350px;
    height: 400px;
}

.contacts-media {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

@media screen and (max-width: 1024px) {

    .container,
    section {
        padding: 0 64px;
    }

    .navbar {
        padding: 24px 64px;
    }

    .services-section, .about-us-section, .working-hours-section {
        text-align: center;
    }


    .contacts-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0px 80px;
    }

    .contacts-left {
        width: 100%;
        text-align: center;
    }

    .contacts-left ul {
        padding: 0;
        text-align: center;
    }

    .contacts-left .btn {
        display: block;
        margin: 0 auto;
    }

    .contacts-media {
        align-items: center;
        width: 100%;
    }

    .contacts-center {
        order: -1;
        width: 100%;
    }

    .contacts-right {
        width: 100%;
    }

    video {
        width: 100%;
        max-height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .contacts-section {
        padding: 0 32px;
    }
    .contacts-media {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .contacts-center,
    .contacts-right {
        width: 100%;
    }

    .contacts-center iframe {
        width: 100%;
        max-width: 330px;
        height: 400px;
    }

    .contacts-right video {
        width: 100%;
        max-height: 300px;
    }
}

.footer {
    background-color: #83366A;
    color: #ddd;
    padding: 32px 0;
    margin-top: 80px;
}

.footer p {
    font-size: 16px;
    margin: 4px;
    color: #ddd;
    text-align: center;
}

.footer-links a:hover {
    color: #3d1932;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-left, .footer-middle, .footer-socials {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-middle {
    flex-direction: column;
    text-align: center;
}

.footer-left img {
    max-width: 180px;
}

.footer-middle .footer-links {
    margin-bottom: 10%;
}

.footer-middle a:hover {
    color: #3d1932;
}

/* Ensures social icons are centered inside their section */
.footer-socials {
    display: flex;
    justify-content: right;
    gap: 18px;
}

.footer-middle a {
    color: #ddd;
    text-decoration: none;
}

.footer-socials a:hover img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(29%) saturate(1439%) hue-rotate(297deg) brightness(91%) contrast(88%);
}


.footer-left {
    justify-content: left;
}

.footer-s

.footer-socials img {
    width: 24px;
    height: 24px;
    background-color: #662953;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hide navigation links */
@media screen and (max-width: 767px) {
    .nav-links a {
        display: none; 
    }
}

/* Mobile View: Stack elements */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-middle, .footer-right {
        width: 100%;
    }

    .footer-left {
        justify-content: center;
        margin-bottom: 24px;
    }
    .footer-socials {
        opacity: 0;
    }
}

/* Small screens (e.g., mobile devices) */
@media screen and (max-width: 768px) {
    .container,
    section {
        padding: 0 32px;
    }

    .navbar {
        padding: 24px 32px;
    }

    .service-card {
        width: 120px;
        height: 120px;
    }

    .image-box {
        height: 250px;
    }
}

@media screen and (min-width: 1440px) {
    .container,
    section {
        padding: 0 160px;
    }

    .navbar {
        padding: 24px 160px;
    }

    .hero-section {
        padding: 0 160px;
    }
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .contacts-section {
        flex-direction: column;
        gap: 20px;
    }

    .contacts-left,
    .map-container,
    .video-container {
        width: 100%;
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
}

.modal-buttons .icon {
    width: 20px;
    height: 20px;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal-buttons a {
    margin: 10px 0;
    padding: 10px;
    background-color: #83366A;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.modal-buttons a:hover {
    background-color: #5e254c;
    transform: scale(1.05);
}

/* Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.text-cookies {
    max-width: 80%; 
    text-align: left;
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
}

.btn-group {
    display: flex;
    gap: 12px;
}

.btn-group button {
    all: unset;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
}

#accept-all {
    background-color: #83366A;
    color: #fff;
}

#accept-all:hover {
    background-color: #5e254c;
}

.outline-btn {
    border: 2px solid #83366A;
}

.outline-btn:hover {
    text-decoration: underline;
    color: #5e254c;
}