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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, p, a, span {
    overflow-wrap: break-word;
    word-break: break-word;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: #8c6b4f; /* кафявото */
    padding: 15px 50px;
}

/* ЛОГО */
.logo a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

/* ЛИНКОВЕ */
.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: white;
    padding: 10px 22px;
    background: rgba(255,255,255,0.14);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: 0.25s;
}

.nav-links a:hover {
    background: #d8bea7;
    color: #14110d;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}







/* CONTACTS SECTION */

.contacts-section {

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 50px;

    background-color: #1f1f1f;

    padding: 80px;

    color: white;
}


/* LEFT SIDE */

.contacts-info {
    width: 35%;
}

.contacts-info h2 {

    font-size: 60px;

    color: #d8bea7;

    margin-bottom: 40px;
}

.contacts-info p {

    font-size: 28px;

    margin-bottom: 25px;

    font-weight: bold;
}


/* SOCIAL */

.social-box {

    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 30px;
}

.social-box img {

    width: 40px;
    height: 40px;
}

.social-box a {

    text-decoration: none;

    color: #d8bea7;

    font-size: 28px;

    font-weight: bold;
}

.social-box a:hover {

    color: white;
}


/* MAP */

.map-box {

    width: 100%;
    height: 450px;

    border-radius: 20px;

    overflow: hidden;
}








.courses-page {
    padding: 100px 8%;
    background: #f7f3ee;
    position: relative;
    overflow: hidden;
}

.courses-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("bg1.jpg");
    background-repeat: repeat;
    background-size: 340px;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.courses-title,
.courses-grid {
    position: relative;
    z-index: 1;
}

.courses-title {
    text-align: center;
    font-size: 42px;
    color: #2b2117;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.courses-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #b99572;
    margin: 22px auto 60px;
}

.courses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-box {
    width: 310px;
    background: #fff;
    border-radius: 8px;
    padding: 38px 34px;
    box-shadow: 0 4px 16px rgba(43,33,23,0.08);
    transition: 0.25s;
    text-align: left;
    border-top: 3px solid #b99572;
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-box:hover {
    box-shadow: 0 10px 24px rgba(43,33,23,0.14);
    transform: translateY(-4px);
}

.course-box h3 {
    color: #2b2117;
    font-size: 21px;
    margin-bottom: 22px;
    letter-spacing: 0.3px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ece2d5;
}

.course-box p {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #55493c;
}

.course-btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    background: transparent;
    color: #8c6b4f;
    border: 1.5px solid #8c6b4f;
    text-decoration: none;
    padding: 11px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.25s;
}

.course-btn:hover {
    background: #8c6b4f;
    color: white;
}

html {
    scroll-behavior: smooth;
}








.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 22px;
}

.logo-link img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}







body{
    font-family: 'Montserrat', sans-serif;
}

h1,h2,h3{
    font-family: 'Cinzel', serif;
}


/* MAP WRAPPER + LINK */
.map-wrap {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.maps-link {
    align-self: flex-start;
    text-decoration: none;
    color: #d8bea7;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(216,190,167,0.4);
    padding-bottom: 2px;
    transition: 0.2s;
}

.maps-link:hover {
    color: #fff;
    border-color: #fff;
}

/* ============ RESPONSIVE ============ */

.navbar { flex-wrap: wrap; row-gap: 12px; }
.contacts-section { flex-wrap: wrap; }
.course-box { width: 310px; max-width: 100%; }

@media (max-width: 900px) {
    .courses-page { padding: 70px 6%; }
    .courses-title { font-size: 34px; }
    .contacts-info, .map-wrap { width: 100%; }
}

@media (max-width: 600px) {
    .navbar { padding: 15px 20px; justify-content: space-between; position: relative; }
    .logo-link span { font-size: 17px; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #8c6b4f;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        gap: 10px;
        margin-top: 0;
        z-index: 100;
        box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    }
    .nav-links.open { display: flex; }
    .nav-links a { margin-left: 0; font-size: 14px; text-align: center; width: 100%; }

    .courses-page { padding: 50px 6%; }
    .courses-title { font-size: 26px; }
    .courses-grid { gap: 18px; }
    .course-box { width: 100%; max-width: 380px; padding: 28px 24px; }

    .contacts-section { padding: 55px 6%; }
    .contacts-info h2 { font-size: 34px; }
    .contacts-info p { font-size: 17px; }
    .map-box { height: 260px; }
}
