:root {
    --primary: hsl(348, 68%, 42%);
    --secondary: hsl(106, 55%, 36%);
    --accent: hsl(202, 80%, 58%);
    --bg: hsl(348, 25%, 97%);
    --text: hsl(0, 0%, 10%);
    --white: #ffffff;
    --outline-width: 2px;
    --border-radius: 12px;
    --font-main: 'Work Sans', sans-serif;
    --font-heading: 'Libre Baskerville', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- Outline UI --- */
.btn-outline {
    background: transparent;
    border: var(--outline-width) solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 4px; /* Rectangular as per specs */
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.card-outline {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: border-color 0.3s ease;
}

.card-outline:hover {
    border-color: var(--primary);
}

/* --- Frosted Touch --- */
.frosted-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* --- Skeuomorphism --- */
.skeuo-shadow {
    box-shadow: 
        inset 2px 2px 5px rgba(255, 255, 255, 0.5),
        inset -2px -2px 5px rgba(0, 0, 0, 0.05),
        5px 5px 15px rgba(0, 0, 0, 0.1);
}

.skeuo-button {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow:  5px 5px 10px #d9d9d9, -5px -5px 10px #ffffff;
    border-radius: 8px;
    border: none;
    padding: 10px 20px;
    color: var(--primary);
    font-weight: bold;
    cursor: pointer;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
}

.nav-menu li:hover .dropdown {
    display: block;
}

.dropdown li a {
    padding: 10px 20px;
    display: block;
}

.dropdown li a:hover {
    background: var(--bg);
}

/* Hero Mosaic */
.hero-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 15px;
    margin: 40px 0;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mosaic-item:hover img {
    transform: scale(1.05);
}

.mosaic-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.mosaic-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* Footer */
footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* Utilities */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Responsive */
@media (max-width: 768px) {
    .hero-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .mosaic-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    .nav-menu {
        display: none; /* Add hamburger JS logic later */
    }
}

/* Floating buttons */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.btn-whatsapp { background-color: #25d366; }
.btn-phone { background-color: var(--primary); }
.btn-chat { background-color: var(--accent); }

.floating-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text);
    color: var(--white);
    padding: 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}

.cookie-banner.active {
    display: flex;
}

/* Chat Panel */
#chat-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    height: 400px;
    display: none;
    flex-direction: column;
    z-index: 10001;
}

#chat-panel.active {
    display: flex;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: white;
}

.chat-footer {
    padding: 10px;
    background: #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.chat-faq-btn {
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid var(--primary);
    background: white;
    color: var(--primary);
    cursor: pointer;
    border-radius: 4px;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
}

.chat-message.bot {
    background: #eef2f7;
    align-self: flex-start;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
}

#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    #mobile-menu-btn {
        display: block;
    }
}
