/* variables and resets */
:root {
    --color-bg: #FAF6F0;
    --color-surface: #FFFFFF;
    --color-skin-light: #F5E6D3;
    --color-skin-medium: #E8D3C3;
    --color-skin-dark: #D2A679;
    --color-accent: #8C6239;
    --color-text: #4A3E38;
    --color-text-light: #7A6F68;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 15px 35px rgba(140, 98, 57, 0.15);
    border: none;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(140, 98, 57, 0.25);
}

.service-card img.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.7s ease;
}

.service-card:hover img.bg-img {
    transform: scale(1.1);
}

.service-info {
    position: relative;
    z-index: 3;
    padding: 2.5rem 2rem 2rem;
    width: 100%;
    text-align: left;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    color: white;
}

.service-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.service-info p {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 400;
}

/* Layout */
.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 5rem 0;
}

/* Premium Image Styling Utilities */
.img-premium {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(140, 98, 57, 0.15);
    /* Tinted shadow matching accent color */
    border: 4px solid var(--color-surface);
    transition: var(--transition);
}

.img-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(140, 98, 57, 0.25);
}

.img-blob {
    /* Create an organic, spa-like shape using clip-path */
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.img-frame {
    position: relative;
    padding: 15px;
    background-color: var(--color-surface);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.img-frame img {
    border-radius: 2px;
}

/* Header & Nav */
header {
    background-color: var(--color-surface);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-text);
    color: var(--color-skin-light);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Footer */
footer {
    background-color: var(--color-text);
    color: var(--color-skin-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--color-skin-medium);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-col p,
.footer-col a {
    color: var(--color-bg);
    opacity: 0.8;
    margin-bottom: 0.8rem;
    display: block;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--color-skin-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-skin-light);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-skin-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Global mobile text wrapping to prevent horizontal scroll */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    span {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    section {
        padding: 3rem 0;
        /* Less padding on mobile */
    }
}

@media (max-width: 600px) {
    .hide-mobile {
        display: none !important;
    }

    body {
        font-size: 15px;
        /* Slightly smaller base font on very small screens */
    }
}