/* ====== RESET ====== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====== ROOT ====== */
:root {
    --clr-primary: #ff7b00;
    --clr-dark: #3F2F21; // #222831;
    --clr-light: #f5f5f5;
    --clr-white: #ffffff;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--clr-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ====== UTIL ====== */
.container {
    width: min(90%, 1200px);
    margin-inline: auto;
}

.btn {
    display: inline-block;
    background: var(--clr-primary);
    color: var(--clr-white);
    padding: 0.75rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    transition: background 0.3s ease;
}
.btn:hover {
    background: #e56e00;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background:  rgba(63, 47, 33, 1); //rgba(34, 40, 49, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1000;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-white);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--clr-white);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--clr-primary);
}

/* ====== HERO ====== */
#hero {
    position: relative;
    background: url("https://images.unsplash.com/photo-1510274642460-65a8ca40cc4c?auto=format&fit=crop&w=1600&q=80")
        center/cover no-repeat;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--clr-white);
}
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
#hero .content {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
}

/* ====== FEATURES ====== */
.features {
    padding: 4rem 0;
    background: var(--clr-light);
}
.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.feature {
    background: var(--clr-white);
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}
.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* ====== ABOUT ====== */
.about {
    padding: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}
.about-img {
    flex: 1 1 45%;
}
.about-content {
    flex: 1 1 45%;
}
.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ====== GALLERY ====== */
.gallery {
    padding: 4rem 0;
}
.gallery-grid {
    columns: 3 320px;
    gap: 1rem;
}
.gallery-grid img {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    break-inside: avoid;
}

/* ====== PRICING ====== */
.pricing {
    padding: 4rem 0;
    background: var(--clr-light);
    text-align: center;
}
.pricing h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--clr-white);
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin: 1rem 0;
}
.card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}
.card ul li {
    margin-bottom: 0.5rem;
}

/* ====== CTA ====== */
.cta {
    background: url("https://images.unsplash.com/photo-1593265287229-d7b5c70c6fa5?auto=format&fit=crop&w=1600&q=80")
        center/cover no-repeat;
    color: var(--clr-white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.cta .container {
    position: relative;
    z-index: 1;
}
.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ====== FOOTER ====== */
footer {
    background: var(--clr-dark);
    color: var(--clr-white);
    padding: 2rem 0;
    text-align: center;
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
    }
    .about-img,
    .about-content {
        flex: 1 1 100%;
    }
}
