/* --- 3D Variables & Reset --- */
:root {
    --bg-color: #fce4ec; /* Soft Rose Background */
    --card-bg: #ffffff;
    --primary: #d81b60; /* Deep Pink */
    --primary-dark: #ad1457;
    --text-color: #4a4a4a;
    --shadow-light: -10px -10px 30px rgba(255, 255, 255, 0.8);
    --shadow-dark: 10px 10px 30px rgba(174, 174, 192, 0.4);
    --depth: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    --font-head: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    perspective: 1000px; /* Essential for 3D context */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; height: auto; display: block; border-radius: 20px; }
ul { list-style: none; }

/* --- 3D Navigation --- */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(252, 228, 236, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.9rem;
    position: relative;
    padding: 10px;
}

/* 3D Hover Effect for Links */
.nav-links a:hover {
    transform: translateY(-3px);
    text-shadow: 0 5px 10px rgba(0,0,0,0.2);
    color: var(--primary);
}

/* --- Layouts --- */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

/* --- 3D Components --- */
/* The Floating Card */
.card-3d {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--depth);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* The Pressable Button */
.btn-3d {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    /* The 3D Layer Effect */
    box-shadow: 0 6px 0 var(--primary-dark), 0 15px 20px rgba(0,0,0,0.2);
    transition: all 0.1s;
    position: relative;
    top: 0;
}

.btn-3d:active {
    top: 6px;
    box-shadow: 0 0 0 var(--primary-dark), 0 0 0 rgba(0,0,0,0);
}

/* Typography */
h1 { font-family: var(--font-head); font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--primary); text-shadow: 3px 3px 0px rgba(0,0,0,0.1); }
h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 30px; color: #333; }
p { font-size: 1.1rem; color: #666; margin-bottom: 20px; }

/* Images with Depth */
.img-float {
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.15), -20px -20px 60px rgba(255,255,255,0.8);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Forms --- */
input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 12px;
    background: #f0f0f3;
    box-shadow: inset 5px 5px 10px rgba(0,0,0,0.1), inset -5px -5px 10px rgba(255,255,255,1);
    font-family: inherit;
    outline: none;
}
input:focus, textarea:focus { border: 2px solid var(--primary); }

/* --- Footer --- */
footer {
    background: #333;
    color: white;
    padding: 60px 0;
    margin-top: auto;
    text-align: center;
}
.footer-phone {
    font-size: 1.5rem;
    font-family: var(--font-head);
    color: var(--primary);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(216, 27, 96, 0.5); /* Glow effect */
}

/* --- Mobile --- */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background: var(--primary); margin: 5px; border-radius: 5px; }

@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    h1 { font-size: 2.5rem; }
    
    .nav-links {
        position: fixed; top: 0; right: 0;
        height: 100vh; width: 80%;
        background: white;
        flex-direction: column; align-items: center; justify-content: center;
        transform: translateX(100%); transition: 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { transform: translateX(0); }
    .burger { display: block; z-index: 1001; }
    
    .img-float { margin-top: 30px; }
}