/* Import fonts */
@import 'fonts.css';

/* CSS Variables */
:root {
    --primary-green: #8a9f66;
    --secondary-green: #8a9f66;
    --dark-green: #8a9f66;
    --light-green: #8a9f66;
    --beige: #e8e9e4;
    --light-beige: #f5f3ed;
    --text-dark: #6a7b44;
    --text-black: #000000;
    --text-light: #5a6b52;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 20px;
}

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

/* Visually hidden but accessible */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Base styles */
body {
    font-family: 'Commissioner', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--light-beige);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
}


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
}

/* Top Bar */
.top-bar {
    background-color: var(--beige);
    padding: 1rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-address {
    cursor: pointer;
}

.top-bar-address p {
    font-size: 24px;
    line-height: 0.8;
    font-weight: 300;
    font-family: "Commissioner", sans-serif;
    color: var(--text-black);
}

.top-bar-address:hover {
    color: var(--dark-green);
    transform: translateX(5px);
}

.top-bar-phones {
    display: flex;
    flex-direction: column;
}

.phone {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    white-space: nowrap;
    cursor: pointer !important;
}

.phone:hover {
    color: var(--dark-green);
    transform: translateX(5px);

}

/* Header */
.header {
    background-color: var(--primary-green);
    padding: 1.5rem 0;
    filter: drop-shadow(0px 11px 50.5px rgba(0,0,0,0.61));
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--white);
}

.logo-icon {
    height: auto;
    width: 15vw;
    object-fit: contain;
}

.header-slogan {
    text-align: right;
}

.slogan-text {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 300;
}

.slogan-text strong {
    font-weight: 500;
}

.main {
    background-color: var(--light-beige);
    background-image: url('../assets/images/background-ing.png');
    background-size: 80%;
    background-position: top 100px center;
    background-repeat: no-repeat;
    padding: 3rem 0;
}

/* Services Section */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-badge {
    width: 100%;
    max-width: 240px;
    background-color: var(--primary-green);
    filter: drop-shadow(0px 17px 17.5px rgba(0,0,0,0.33));
    box-shadow: var(--shadow);
    border: 2px solid #f6f7ef;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    aspect-ratio: 1/2;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
}

.service-badge-title {
    font-size: 1.6rem;
}

.service-list {
    list-style: '-';
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.service-description {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Clinic Interior Section */
.clinic-interior {
    padding: 5rem 0 4rem;
}

.interior-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: flex-end;
}

.interior-image {
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interior-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-height: 500px;
}

.interior-info {
    color: var(--white);
    min-height: 300px;
}

.social-title {
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: max-content;
    padding: 0 1rem;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--white);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: var(--transition);
    color: var(--text-dark);
}

.social-link:hover {
    transform: translateX(5px);
}

.social-icon-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: var(--primary-green);
    filter: drop-shadow(0px 11px 29.5px rgba(0,0,0,0.33));
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.footer-logo {
    max-width: 50%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 90vw;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        gap: 0;
    }

    .header-slogan {
        text-align: center;
    }

    .interior-content {
        grid-template-columns: 1fr;
    }

    .interior-image {
        min-height: unset;
        height: min-content;
    }

    .interior-image img {
        min-height: unset;
    }
}

@media (max-width: 768px) {
    .phone {
        font-size: 1.2rem;
    }

    .top-bar-phones {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-icon {
        width: 35vw;
    }

    .slogan-text {
        font-size: 1rem;
    }

    .burger {
        display: flex;
    }

    .services-grid {
        gap: 1rem;
    }


    .footer-logo {
        min-height: 80px;
        width: auto;
        max-width: 60vw;
    }
}

@media (max-width: 550px) {
    .top-bar-address p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.5rem;
    }

    .service-badge {
        font-size: 0.6rem;
    }

    .logo-icon {
        width: 50vw;
    }
}

@media (max-width: 425px) {
    .top-bar-address p {
        font-size: 14px;
    }

    .phone {
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

/*.service-card:nth-child(1) {*/
/*    animation-delay: 0.2s;*/
/*}*/

/*.service-card:nth-child(2) {*/
/*    animation-delay: 0.4s;*/
/*}*/

/*.service-card:nth-child(3) {*/
/*    animation-delay: 0.6s;*/
/*}*/

/*.service-card:nth-child(4) {*/
/*    animation-delay: 0.8s;*/
/*}*/
