/* style.css */

.logo-img {
    height: 170px;
    width: auto;
    display: none; /* Скриваме ги по подразбиране */
}


:root {
    --color-bg: #0f1f3f;
    --color-primary: #1A3D7C;
    --color-secondary: #4FA3D1;
    --color-accent: #F2C94C;
    --color-text: #2E2E2E;
    --color-light: #FFFFFF;
    --color-alt-bg: #f5f7fb;

    --font-main: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
}

/* HEADER */

.site-header {
    background-color: var(--color-bg);
    color: var(--color-light);
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.main-nav a {
    color: var(--color-light);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.lang-switch {
    display: flex;
    gap: 0.25rem;
}

.lang-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

/* HERO */

.hero {
    background-image: url("images/banner.png");
    background-size: cover;
    background-position: center;
    /* Ако искаш снимка:
       background-image: url("banner.jpg");
       background-size: cover;
       background-position: center;
    */
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.45);
}


.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    color: var(--color-light);
    text-align: center;
}

.hero-content h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.hero-content p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}
.hero-content h1,
.hero-content p {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}



.hero-subtitle {
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.btn.primary {
    background-color:#007bff;
    color: var(--color-light);
}

.btn.secondary {
    background-color: #007bff;
    color: var(--color-light);
}

.btn.accent {
    background-color: #007bff;   /* same blue as the first button */
    color: #fff;                 /* white text */
    border: none;                /* remove yellow border */
}

}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* SECTIONS */

.section {
    padding: 3rem 1.5rem;
}

.section-alt {
    background-color: var(--color-alt-bg);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section h2 {
    font-family: var(--font-main);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section h3 {
    font-family: var(--font-main);
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.section p {
    margin-bottom: 0.75rem;
}
/* TEAM SECTION – CORPORATE STYLE */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Card container */
.team-member {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-top: 4px solid var(--color-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hover effect */
.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

/* PHOTO WRAPPER – PERFECT SQUARE 320×320 */
.team-photo-wrapper {
    width: 180px;               /* square width */
    height: 180px;              /* square height */
    margin: 0 auto 1rem auto;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--color-primary); /* thin corporate frame */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    /* PERFECT centering for ANY photo shape */
    background-image: var(--photo);
    background-size: cover;        /* fills the square */
    background-position: center;   /* centers the face */
    background-repeat: no-repeat;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect on photo */
.team-member:hover .team-photo-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.20);
}

/* ROLE */
.team-role {
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* BIO */
.team-bio {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}



/* LISTS */

.list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.list li {
    margin-bottom: 0.4rem;
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* GRID PROJECTS */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.grid-item {
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
    gap: 2rem;
    margin-top: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.75rem;
}

.contact-form span {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #ccd1dd;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.contact-form button {
    margin-top: 0.5rem;
}

/* FOOTER */

.site-footer {
    background-color: var(--color-bg);
    color: var(--color-light);
    padding: 1.5rem 1.5rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-main);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.site-footer p {
    font-size: 0.85rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .top-bar {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        padding: 2.5rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* SECTION BACKGROUNDS – LIGHT GREEN/BLUE GRADIENTS */

/* About section */
#about {
    background: linear-gradient(135deg, #e8f5f0, #f3f8fc);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Projects section */
#projects {
    background: linear-gradient(135deg, #e6f2fa, #f0f9f7);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Team section */
#team {
    background: linear-gradient(135deg, #f3f8fc, #e8f5f0);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Contact section */
#contact {
    background: linear-gradient(135deg, #f0f9f7, #e6f2fa);
    padding-top: 4rem;
    padding-bottom: 4rem;
}
/* GLOBAL AERO BACKGROUND TEXTURE */
body {
    background: #f7fafc;
    background-image: radial-gradient(circle at top left, rgba(0, 150, 136, 0.08), transparent 60%),
                      radial-gradient(circle at bottom right, rgba(33, 150, 243, 0.08), transparent 60%);
}

/* UNIVERSAL SECTION STYLE */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-radius: 18px;
    margin-bottom: 3rem;

    /* AERO GLASS EFFECT */
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.65),
        rgba(240, 248, 255, 0.55)
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* subtle border */
    border: 1px solid rgba(255, 255, 255, 0.4);

    /* soft shadow */
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* SECTION-SPECIFIC GRADIENTS */

/* ABOUT */
#about {
    background: linear-gradient(135deg,
        rgba(232, 245, 240, 0.75),
        rgba(243, 248, 252, 0.65)
    );
}

/* PROJECTS */
#projects {
    background: linear-gradient(135deg,
        rgba(230, 242, 250, 0.75),
        rgba(240, 249, 247, 0.65)
    );
}

/* TEAM */
#team {
    background: linear-gradient(135deg,
        rgba(243, 248, 252, 0.75),
        rgba(232, 245, 240, 0.65)
    );
}

/* CONTACT */
#contact {
    background: linear-gradient(135deg,
        rgba(240, 249, 247, 0.75),
        rgba(230, 242, 250, 0.65)
    );
}


/* LOGO IMPROVEMENTS */
nav .logo img {
    height: 70px;              /* bigger logo */
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25)); /* depth */
    transition: transform 0.25s ease, filter 0.25s ease;
}

nav .logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 12px rgba(0,0,0,0.35));
}


/* LOGO IMPROVEMENT */
nav .logo img {
    height: 80px; /* bigger */
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
    transition: transform 0.25s ease, filter 0.25s ease;
}

nav .logo img:hover {
    transform: scale(1.07);
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
/* LANGUAGE SWITCHER */
.lang-switch {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* BUTTONS → FLAGS */
.lang-btn {
    width: 36px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    font-size: 0; /* hide BG/GB text */
}

/* BG FLAG */
.lang-btn[data-lang="bg"] {
    background-image: url('images/flag-bg.png');
}

/* EN FLAG */
.lang-btn[data-lang="en"] {
    background-image: url('images/flag-en.png');
}

/* Hover */
.lang-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.75),
        rgba(240,248,255,0.65)
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.45);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    padding: 0.8rem 2rem;
}
header .logo img {
    height: 150px;
    width: auto;
    border-radius: 12px;

    /* AERO glow */
    box-shadow:
        0 0 18px rgba(255,255,255,0.6),
        0 6px 18px rgba(0,0,0,0.25);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 22px rgba(255,255,255,0.8),
        0 10px 26px rgba(0,0,0,0.35);
}
nav a {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.55),
        rgba(240,248,255,0.45)
    );
   
}

nav a:hover {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.75),
        rgba(240,248,255,0.65)
    );
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}
.lang-switch {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lang-btn {
    width: 36px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.6);
    background-size: cover;
    background-position: center;
    cursor: pointer;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

/* Flags */
.lang-btn[data-lang="bg"] {
    background-image: url('images/flag-bg.png');
}

.lang-btn[data-lang="en"] {
    background-image: url('images/flag-en.png');
}

.lang-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}


nav a {
    color: #000 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
}
.middle-btn {
    background: linear-gradient(135deg,
        #b6e3c6,
        #8fcfae
    );
    color: #003366;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.8rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.9);

    box-shadow:
        inset 0 0 6px rgba(255,255,255,0.6),
        0 4px 12px rgba(0,0,0,0.18);

    text-shadow: 0 1px 2px rgba(255,255,255,0.9);
    transition: all 0.25s ease;
}

.middle-btn:hover {
    background: linear-gradient(135deg,
        #c9f1d7,
        #a2e7c0
    );
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 8px rgba(255,255,255,0.9),
        0 6px 18px rgba(0,0,0,0.25);
}
/* AERO 3D BUBBLE NAV BUTTONS – HIGH CONTRAST TEXT */
nav a {
    padding: 0.6rem 1.4rem;
    border-radius: 14px;

    /* AERO glass bubble */
    background: linear-gradient(135deg,
        rgba(255,255,255,0.85),
        rgba(240,248,255,0.75)
    );

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* 3D bubble border */
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow:
        inset 0 0 6px rgba(255,255,255,0.6),
        0 4px 12px rgba(0,0,0,0.18);

    /* FIX: HIGH CONTRAST TEXT */
    color: #003366; /* deep corporate blue */
    font-weight: 700;
    font-size: 1rem;

    /* FIX: TEXT SHADOW FOR READABILITY */
    text-shadow:
        0 1px 2px rgba(255,255,255,0.9),
        0 0 4px rgba(0,0,0,0.25);

    transition: all 0.25s ease;
}

/* Hover effect – Windows 7 bubble glow */
nav a:hover {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.95),
        rgba(240,248,255,0.85)
    );

    box-shadow:
        inset 0 0 8px rgba(255,255,255,0.9),
        0 6px 18px rgba(0,0,0,0.25);

    transform: translateY(-2px);
}
.team-member {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.team-photo-wrapper {
    width: 200px;
    text-align: center;
}

.team-photo {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.team-info {
    flex: 1;
}


.team-info h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.team-role {
    margin: 5px 0 15px;
    font-weight: 600;
    color: #555;
}

.team-bio {
    line-height: 1.6;
}
#team h2 {
  color: inherit;
}
#team h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 40px 0 30px;
  position: relative;
  z-index: 2;
}
[data-key="menu_documents"] {
    display: none !important;
}
#documents {
    display: none !important;
}
