/* ============================
   VARIABLES
============================ */
:root {
    --primary: #14325f;
    --accent: #d4af37;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --text-dark: #1f2d3d;
    --text-muted: #4a4a4a;
    --border-light: rgba(200,212,242,0.4);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 6px 18px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.12);
    --transition: 0.4s ease;
    --font-heading: "Cinzel", "Georgia", serif;
    --font-body: "Segoe UI", Arial, sans-serif;
}

/* ============================
   GENERAL
============================ */
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding-top: 80px;
    line-height: 1.7;
}

/* ============================
   NAVBAR
============================ */
.navbar {
    width: 100%;
    height: 80px;
    padding: 0 50px;
    background: var(--bg-white);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.home-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 65px;
    height: 65px;
    margin-right: 15px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.logo-text {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    font-size: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 800;
    color: var(--accent);
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.menu a:hover::after { width: 100%; }

/* MOBILE NAV */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media(max-width:768px){
    .mobile-toggle { display: block; }

    .menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        display: none;
        padding: 25px 0;
        box-shadow: var(--shadow-lg);
    }

    .menu.open { display: block; }

    .menu ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}

/* ============================
   SERVICES HEADER
============================ */
.services-header {
    text-align: center;
    margin: 50px 20px 30px;
    color:  #d4af37;
}

.services-header h1 {
    font-size: 36px;
    font-weight: 700;
}

.services-header p {
    font-size: 18px;
}

/* ============================
   SERVICES GRID
============================ */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
}


.service-card {
    position: relative;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    background-size: cover;
    background-position: center top; /* better control */
    background-repeat: no-repeat;
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(26,63,122,0.2), rgba(26,63,122,0.7));
    z-index: 1;
}

.service-info {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    width: 90%;
}

.service-details {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.service-card.active .service-details {
    opacity: 1;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {

    .services-header h1 {
        font-size: 28px;
        color: var(--accent);
    }

    .services-header p {
        font-size: 16px;
    }

    .service-card {
        height: 320px;
    }

    .service-info {
        font-size: 22px;
    }

    .service-details {
        font-size: 16px;
        padding: 20px;
    }

    .services-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* ============================
   FOOTER
============================ */
.footer {
    background: linear-gradient(to right, #10294d, #14325f);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
}

.footer-copy {
    font-size: 13px;
    color: #d4d4d4;
}
