/* --- style.css --- */

/* 1. Variables & Modern Reset */
:root {
    --accent-pink: #ec4297;
    --bg-sand: #f8f5f0;
    --text-dark: #333333;
    --text-light: #666666;
    --container-white: #ffffff;

    --font-title: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --soft-shadow: 0 10px 30px rgba(236, 66, 151, 0.15);
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    /* Simple gradient background for the page edges */
    background: linear-gradient(135deg, var(--bg-sand) 0%, #f0f4f8 100%);
    color: var(--text-dark);
    margin: 0;
    padding: 40px 20px;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 2. Main Container Card */
.container {
    max-width: 1100px;
    margin: 0 auto;
    /* We use a solid white with slight transparency for the base color */
    background-color: rgba(255, 255, 255, 0.90);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(5px);

    /* These properties are crucial to put the image ON the card */
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Ensures the background image respects the rounded corners */
}

/* This adds the Watercolor Image (image_2.png) 
   onto the card as a watermark/texture 
*/
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Make sure image_2.png is in your img/ folder */
    background-image: url('img/image_2.webp');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;

    /* Controls how faint the background is. 0.15 is subtle, 0.4 is strong */
    opacity: 0.40;

    /* Places it behind the text but on top of the white background */
    z-index: -1;
    pointer-events: none;
}

/* Typography Styling */
h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    color: var(--text-dark);
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    /*text-transform: uppercase;*/
    color: var(--text-light);
}

h2 {
    margin-top: 0;
    color: var(--accent-pink);
    font-size: 2.8rem;
}

h3.section-title {
    font-size: 1.8rem;
    position: relative;
    margin-bottom: 30px;
}

h3.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), transparent);
    border-radius: 2px;
}

/* --- 3. Header Layout --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 30px;
}

.header-titles {
    flex: 1;
}

.header-contact {
    flex: 1;
    text-align: right;
    font-size: 1rem;
    color: var(--text-light);
    padding-right: 140px;
}

.phone-link,
.email-link {
    text-decoration: none;
    color: var(--accent-pink);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: color 0.2s;
}

.phone-link:hover,
.email-link:hover {
    color: #d03a85;
}

.logo-img {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 120px;
    height: auto;
    margin-top: 10px;
    filter: drop-shadow(0 5px 10px rgba(236, 66, 151, 0.3));
}

/* --- 4. Main Grid Content --- */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 70px;
    align-items: start;
}

/* Left Column Elements */
.services-list ul {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
}

.services-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-pink);
    font-weight: bold;
}

/* Info Boxes */
.info-box {
    background: rgba(248, 245, 240, 0.8);
    /* Slight transparency */
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    border-left: 4px solid var(--accent-pink);
}

.info-box h4 {
    margin-bottom: 10px;
    color: var(--accent-pink);
}

.info-box p {
    margin: 0;
    color: var(--text-light);
}

/* Right Column Elements (Price List) */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-table {
    width: 100%;
    min-width: 500px;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 10px;
}

.price-table th {
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--accent-pink);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 15px;
    letter-spacing: 1px;
}

.price-table th.text-center {
    text-align: center;
}

.price-table tbody tr {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 66, 151, 0.1);
}

.price-table td {
    padding: 15px;
    font-size: 1rem;
    color: var(--text-dark);
    border: none;
}

.price-table td:first-child {
    border-radius: 8px 0 0 8px;
}

.price-table td:last-child {
    border-radius: 0 8px 8px 0;
}

.price-table td.price-cell {
    text-align: center;
    font-weight: 600;
    color: var(--accent-pink);
    white-space: nowrap;
}

.bottom-note {
    margin-top: 30px;
    padding: 15px;
    background: #fff0f7;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
}

.bottom-note strong {
    color: var(--accent-pink);
}

/* Images */
.image-card {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: scale(1.02);
}

.box-masaza-container {
    margin: 40px 0;
}

.box-stopala-container {
    margin-bottom: 40px;
}

.focus-80 {
    object-position: 50% 80%;
}

.focus-40 {
    object-position: 50% 40%;
}

/* --- 5. Footer and Separator --- */
.footer-separator {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 30px 0 20px 0;
}

footer {
    text-align: center;
    padding: 10px 0 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-link {
    color: var(--accent-pink);
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}


/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    body {
        padding: 0px 0px;
    }

    .container {
        padding: 30px 20px;
    }

    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
        position: relative;
    }

    .logo-img {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto 20px auto;
        order: 1;
        width: 100px;
    }

    .header-titles {
        order: 2;
        width: 100%;
    }

    .header-contact {
        order: 3;
        text-align: center;
        padding-right: 0;
        margin-top: 20px;
        width: 100%;
        border-top: 1px dashed #eee;
        padding-top: 20px;
    }

    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .main-grid {
        grid-template-columns: 100%;
        gap: 40px;
    }

    .price-table {
        min-width: 100px;
    }

    .price-table th,
    .price-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .box-masaza-container {
        width: 49%;
        margin: 0;
        display: inline-block;
        vertical-align: top;
    }

    .services-list {
        width: 49%;
        display: inline-block;
        vertical-align: top;
    }

    .services-list ul {
        margin: 0;
    }

    .footer-separator {
        margin: 20px 0 10px 0;
    }
}

@media (max-width: 525px) {
    .focus-40 {
        object-position: 100% 80%;
    }
}

@media (max-width: 430px) {

    .box-masaza-container {
        width: 100%;
        margin: 0;
        display: grid;
        justify-items: center;
    }



    .services-list {
        width: 100%;
        display: block;
    }

    .services-list ul {
        margin: 0;
    }

    .focus-40 {
        object-position: 50% 40%;
        width: 80%;
    }
}