/* =========================================
DR HIND AKREMI - CABINET DENTAIRE
========================================= */

/* ---------- VARIABLES ---------- */

:root {
--primary: #167d83;
--primary-dark: #0c5d63;
--primary-light: #e8f5f4;

--gold: #c8a96b;
--gold-light: #f5eddd;

--dark: #173438;
--text: #536568;
--light-text: #809092;

--white: #ffffff;
--background: #f8fbfb;
--border: #e2ecec;

--shadow: 0 20px 50px rgba(23, 52, 56, 0.08);

--font-main: "Montserrat", sans-serif;
--font-title: "Playfair Display", serif;
}

/* ---------- RESET ---------- */

{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}

body {
font-family: var(--font-main);
color: var(--text);
background: var(--white);
line-height: 1.7;
}

a {
text-decoration: none;
color: inherit;
}

img {
max-width: 100%;
display: block;
}

/* ---------- CONTAINER ---------- */

.container {
width: min(1180px, 90%);
margin: 0 auto;
}

/* ---------- HEADER ---------- */

.header {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 10;
padding: 24px 0;
background: rgba(255, 255, 255, 0.96);
border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}

/* LOGO */

.logo {
display: flex;
align-items: center;
gap: 12px;
color: var(--dark);
}

.logo-icon {
width: 44px;
height: 44px;
border-radius: 50%;
background: var(--primary);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 21px;
}

.logo strong {
display: block;
font-family: var(--font-title);
font-size: 19px;
color: var(--dark);
}

.logo small {
display: block;
font-size: 9px;
text-transform: uppercase;
letter-spacing: 2px;
color: var(--gold);
font-weight: 600;
}

/* NAVIGATION */

.nav {
display: flex;
align-items: center;
gap: 35px;
}

.nav a {
color: var(--dark);
font-size: 13px;
font-weight: 600;
transition: 0.3s;
}

.nav a:hover {
color: var(--primary);
}

/* ---------- BUTTONS ---------- */

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 15px 28px;
background: var(--primary);
color: white;
border: 2px solid var(--primary);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.5px;
border-radius: 3px;
transition: all 0.3s ease;
}

.btn:hover {
background: var(--primary-dark);
border-color: var(--primary-dark);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(22, 125, 131, 0.2);
}

.btn-small {
padding: 11px 21px;
}

.btn-outline {
background: transparent;
border-color: white;
color: white;
}

.btn-outline:hover {
background: white;
color: var(--primary);
border-color: white;
}

.btn-light {
background: white;
border-color: white;
color: var(--primary);
}

.btn-light:hover {
background: var(--gold-light);
border-color: var(--gold-light);
color: var(--dark);
}

/* ---------- HERO ---------- */

.hero {
min-height: 760px;
position: relative;
overflow: hidden;

background:
    linear-gradient(
        110deg,
        rgba(10, 66, 71, 0.95) 0%,
        rgba(16, 102, 107, 0.90) 48%,
        rgba(23, 125, 131, 0.70) 100%
    ),
    linear-gradient(135deg, #0b5e64, #58a9aa);
}

.hero::before {
content: "";
position: absolute;
width: 600px;
height: 600px;
border: 1px solid rgba(255,255,255,0.12);
border-radius: 50%;
right: -200px;
top: 100px;
}

.hero::after {
content: "";
position: absolute;
width: 400px;
height: 400px;
border: 1px solid rgba(255,255,255,0.1);
border-radius: 50%;
right: -80px;
top: 200px;
}

.hero-content {
min-height: 760px;
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
gap: 80px;
padding-top: 80px;
}

.hero-text {
max-width: 680px;
color: white;
}

.eyebrow,
.section-label {
display: inline-block;
color: var(--gold);
font-size: 11px;
font-weight: 700;
letter-spacing: 3px;
margin-bottom: 18px;
}

.hero h1 {
font-family: var(--font-title);
font-size: clamp(48px, 6vw, 78px);
line-height: 1.05;
font-weight: 500;
margin-bottom: 28px;
}

.hero h1 span {
color: #d8eee9;
}

.hero-text > p {
max-width: 590px;
color: rgba(255,255,255,0.82);
font-size: 16px;
line-height: 1.9;
margin-bottom: 35px;
}

.hero-buttons {
display: flex;
flex-wrap: wrap;
gap: 13px;
}

/* HERO CARD */

.hero-card {
width: 300px;
min-width: 300px;
padding: 40px 30px;
text-align: center;
background: rgba(255,255,255,0.1);
border: 1px solid rgba(255,255,255,0.22);
backdrop-filter: blur(12px);
color: white;
}

.hero-card-icon {
width: 75px;
height: 75px;
margin: 0 auto 20px;
border-radius: 50%;
background: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 34px;
}

.hero-card h3 {
font-family: var(--font-title);
font-size: 25px;
font-weight: 500;
margin-bottom: 12px;
}

.hero-card p {
font-size: 11px;
line-height: 2;
color: rgba(255,255,255,0.8);
}

/* ---------- INTRO ---------- */

.intro {
padding: 110px 0;
background: var(--white);
}

.intro-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 90px;
align-items: center;
}

.intro h2,
.section-heading h2,
.cabinet h2,
.contact h2 {
color: var(--dark);
font-family: var(--font-title);
font-size: clamp(36px, 4vw, 52px);
line-height: 1.2;
font-weight: 500;
}

.intro h2 span,
.section-heading h2 span,
.cabinet h2 span,
.contact h2 span {
color: var(--primary);
}

.intro p {
font-size: 15px;
line-height: 2;
margin-bottom: 25px;
}

/* ---------- TEXT LINK ---------- */

.text-link {
color: var(--primary);
font-size: 12px;
font-weight: 700;
transition: 0.3s;
}

.text-link:hover {
color: var(--gold);
}

/* ---------- SERVICES ---------- */

.services {
padding: 110px 0;
background: var(--background);
}

.section-heading {
max-width: 650px;
margin-bottom: 55px;
}

.section-heading > p {
margin-top: 18px;
font-size: 14px;
color: var(--light-text);
}

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

.service-card {
position: relative;
padding: 38px 28px;
min-height: 320px;
background: white;
border: 1px solid var(--border);
transition: all 0.35s ease;
}

.service-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow);
border-color: transparent;
}

.service-card.featured {
background: var(--primary);
color: white;
}

.service-number {
position: absolute;
top: 18px;
right: 20px;
font-size: 10px;
font-weight: 700;
color: var(--gold);
}

.service-icon {
font-size: 35px;
margin-bottom: 25px;
color: var(--primary);
}

.featured .service-icon {
color: white;
}

.service-card h3 {
font-family: var(--font-title);
color: var(--dark);
font-size: 24px;
font-weight: 500;
margin-bottom: 15px;
}

.featured h3 {
color: white;
}

.service-card p {
font-size: 12px;
line-height: 1.9;
color: var(--light-text);
}

.featured p {
color: rgba(255,255,255,0.75);
}

/* ---------- CABINET ---------- */

.cabinet {
padding: 120px 0;
background: white;
}

.cabinet-grid {
display: grid;
grid-template-columns: 0.9fr 1.1fr;
gap: 90px;
align-items: center;
}

.cabinet-image {
position: relative;
min-height: 500px;
}

.cabinet-placeholder {
position: absolute;
inset: 25px 25px 0 0;
background:
linear-gradient(
135deg,
#dcefed,
#91c7c6
);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: var(--primary);
}

.cabinet-placeholder span {
font-size: 80px;
margin-bottom: 15px;
}

.cabinet-placeholder p {
font-family: var(--font-title);
font-size: 25px;
}

.image-decoration {
position: absolute;
width: 80%;
height: 80%;
bottom: 0;
right: 0;
border: 2px solid var(--gold);
}

.cabinet-content p {
font-size: 14px;
line-height: 2;
margin: 20px 0;
}

.advantages {
margin-top: 35px;
display: flex;
flex-direction: column;
gap: 20px;
}

.advantage {
display: flex;
align-items: center;
gap: 15px;
}

.advantage > span {
width: 35px;
height: 35px;
border-radius: 50%;
background: var(--primary-light);
color: var(--primary);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
}

.advantage strong,
.advantage small {
display: block;
}

.advantage strong {
font-size: 12px;
color: var(--dark);
}

.advantage small {
color: var(--light-text);
font-size: 11px;
}

/* ---------- CTA ---------- */

.cta {
padding: 75px 0;
background: var(--primary);
}

.cta-content {
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
}

.cta .section-label {
color: var(--gold-light);
}

.cta h2 {
color: white;
font-family: var(--font-title);
font-size: 42px;
font-weight: 500;
margin-bottom: 8px;
}

.cta p {
color: rgba(255,255,255,0.75);
font-size: 13px;
}

/* ---------- CONTACT ---------- */

.contact {
padding: 115px 0;
background: var(--background);
}

.centered {
text-align: center;
margin-left: auto;
margin-right: auto;
}

.contact-grid {
margin-top: 55px;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}

.contact-card {
padding: 40px 30px;
text-align: center;
background: white;
border: 1px solid var(--border);
transition: 0.3s;
}

.contact-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow);
}

.contact-icon {
width: 60px;
height: 60px;
margin: 0 auto 20px;
border-radius: 50%;
background: var(--primary-light);
color: var(--primary);
display: flex;
align-items: center;
justify-content: center;
font-size: 25px;
}

.contact-card h3 {
font-family: var(--font-title);
color: var(--dark);
font-size: 23px;
font-weight: 500;
margin-bottom: 15px;
}

.contact-card p {
min-height: 90px;
font-size: 12px;
line-height: 1.9;
}

.phone {
display: inline-block;
margin-top: 15px;
color: var(--primary);
font-size: 20px;
font-weight: 700;
}

/* ---------- FOOTER ---------- */

.footer {
padding: 30px 0;
background: #12383c;
color: rgba(255,255,255,0.6);
}

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

.footer-brand strong,
.footer-brand span {
display: block;
}

.footer-brand strong {
font-family: var(--font-title);
color: white;
font-size: 18px;
}

.footer-brand span {
font-size: 9px;
color: var(--gold);
text-transform: uppercase;
letter-spacing: 2px;
}

.footer p {
font-size: 10px;
}

.back-top {
width: 35px;
height: 35px;
border: 1px solid rgba(255,255,255,0.2);
display: flex;
align-items: center;
justify-content: center;
color: white;
}

/* ---------- RESPONSIVE TABLET ---------- */

@media (max-width: 1000px) {

.nav {
    gap: 18px;
}

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

.hero-card {
    width: 250px;
    min-width: 250px;
}

.cabinet-grid {
    gap: 50px;
}
}

/* ---------- RESPONSIVE MOBILE ---------- */

@media (max-width: 760px) {

.header {
    padding: 16px 0;
}

.nav {
    display: none;
}

.header .btn {
    display: inline-flex;
}

.logo strong {
    font-size: 16px;
}

.hero {
    min-height: 720px;
}

.hero-content {
    min-height: 720px;
    padding-top: 110px;
    padding-bottom: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 35px;
}

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

.hero-text > p {
    font-size: 13px;
}

.hero-card {
    width: 100%;
    min-width: 0;
    padding: 25px;
}

.hero-card-icon {
    width: 55px;
    height: 55px;
    font-size: 25px;
    margin-bottom: 10px;
}

.hero-card h3 {
    font-size: 20px;
}

.intro,
.services,
.cabinet,
.contact {
    padding: 75px 0;
}

.intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.intro h2,
.section-heading h2,
.cabinet h2,
.contact h2 {
    font-size: 36px;
}

.services-grid {
    grid-template-columns: 1fr;
}

.service-card {
    min-height: auto;
}

.cabinet-grid {
    grid-template-columns: 1fr;
    gap: 60px;
}

.cabinet-image {
    min-height: 350px;
}

.cta {
    padding: 60px 0;
}

.cta-content {
    flex-direction: column;
    align-items: flex-start;
}

.cta h2 {
    font-size: 35px;
}

.contact-grid {
    grid-template-columns: 1fr;
}

.contact-card p {
    min-height: auto;
}

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


.facebook-button {
    display: inline-block;
    padding: 10px 22px;
    background: #1877F2;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s ease;
}

.facebook-button:hover {
    background: #0d65d9;
    transform: translateY(-2px);
}
