/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* HEADER */
header {
    background: url('img/hero.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: white;
    position: relative;
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

nav .logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #c27ba0;
}

/* SECTIONS */
.section {
    padding: 80px 10%;
    text-align: center;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.hover-rise {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-rise:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.price {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    color: #c27ba0;
}

/* PORTFOLIO */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.portfolio-grid img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.portfolio-grid img:hover {
    transform: scale(1.04);
}

/* REVIEWS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.review-card span {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    color: #c27ba0;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

#closeLightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}
