/* --- RESET & BASIC STYLES --- */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f11;
    color: #8C0A19;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVIGATION --- */
header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 8% 18px;
    background-color: #fdfbd4 !important;
    color-scheme: light !important;
    position: sticky;
    top: 0;
    z-index: 9999; /* Siguron që header-i të jetë gjithmonë mbi çdo përmbajtje */
    border-bottom: 1px solid #e2dfb3;
    transition: all 0.3s ease;
    overflow: hidden; /* Parandalon daljen e elementeve jashtë header-it */
}

/* --- LOGO --- */
header .logo {
    width: auto;
    height: 160px;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    transform-origin: center top;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    border: none;
}

/* --- MENU --- */
nav {
    width: 100%;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 30px;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8C0A19 !important;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #575656 !important;
}

/* --- HEADER WHEN SCROLLING --- */
header.scrolled {
    padding: 12px 8%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

header.scrolled .logo {
    transform: scale(0);
    height: 0;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
}

header.scrolled nav a {
    font-size: 13px;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    z-index: 1;
    height: 80vh;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(15, 15, 17, 0.85) 80%,
            #0f0f11 100%
        ),
        url('Objekti.webp') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #ad0b1e;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 30px;
}

/* --- BUTTON --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: #fdfbd4;
    color: #0f0f11;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #8C0A19;
    color: #fdfbd4;
    transform: translateY(-2px);
}

/* --- SERVICES GRID SECTION --- */
.services-grid-section {
    position: relative;
    z-index: 1;
    background-color: #0f0f11;
    padding: 70px 8%;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #fdfbd4;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: #8C0A19;
    margin: 15px auto 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (min-width: 993px) {
    .services-grid .center-card {
        grid-column: 2 / 3;
    }
}

.service-card.service-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card.service-animate.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background-color: #151518;
    border: 1px solid #28282d;
    padding: 35px 22px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #8C0A19;
    box-shadow: 0 10px 20px rgba(140, 10, 25, 0.25);
}

.service-icon {
    font-size: 34px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    color: #fdfbd4;
    font-size: 19px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #aaa;
    font-size: 13.5px;
    line-height: 1.5;
}

/* --- TESTIMONIAL SECTION --- */
.testimonial-section {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        #0f0f11 0%, 
        rgba(0, 0, 0, 0.6) 25%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.85) 100% 
    );
    z-index: 2;
}

.testimonial-card {
    position: relative;
    z-index: 3;
    background-color: #fdfbd4;
    border: 3px solid #8C0A19;
    padding: 40px 30px;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.85);
    border-color: #D4AF37;
}

.testimonial-card blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #111;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-size: 14px;
    font-weight: 600;
    color: #8C0A19;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- BANNER STATS SECTION --- */
.banner-stats {
    position: relative;
    z-index: 1;
    background-color: #121215;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 60px 8%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.stat-box {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-box.show {
    opacity: 1;
    transform: translateY(0);
}

.stat-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #FDFBD4;
    margin-bottom: 5px;
}

.stat-box h3 {
    font-size: 18px;
    color: #fdfbd4;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}

/* --- FOOTER --- */
footer {
    position: relative;
    z-index: 1;
    background-color: #08080a;
    padding: 40px 8% 20px;
    border-top: 1px solid #222;
    text-align: center;
    color: #777;
    font-size: 14px;
}

footer .footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 5% 15px;
    }

    header .logo {
        height: 85px;
        margin-bottom: 10px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .testimonial-card {
        padding: 25px 18px;
        width: 92%;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;            
    }
}

/* --- OVERRIDE PËR DARK MODE TË TELEFONAVE --- */
@media (prefers-color-scheme: dark) {
    header {
        background-color: #fdfbd4 !important;
    }
    nav a {
        color: #8C0A19 !important;
    }
}
