/* 
  Inner Blooms - Design System
  Theme: Modern, Calming, Professional
*/

:root {
    /* Colors */
    --primary: #640d5f;
    --primary-light: #89217c;
    --secondary: #fff1d9;
    --accent: #2d5a27; /* Gentle green for floral elements */
    --text-main: #333333;
    --text-muted: #555555;
    --bg-light: #fffcf7;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 5%;
    --container-width: 1200px;
    
    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(100, 13, 95, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Layout Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo img {
    height: 350px;
    width: auto;
    object-fit: contain;
    margin: -135px -10px;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
}

header.scrolled .logo img {
    height: 300px;
    margin: -120px -5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../assets/hero.png') no-repeat center center/cover;
    padding-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 241, 217, 0.95), rgba(255, 241, 217, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Cards & Sections */
.section-tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 25px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(100, 13, 95, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card .icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    margin: 10px 0 15px;
    font-size: 24px;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 15px;
}

/* Trust Badges section */
.trust-section {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(100, 13, 95, 0.05);
    border-bottom: 1px solid rgba(100, 13, 95, 0.05);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary);
    font-size: 18px;
}

.badge-item i {
    font-size: 24px;
}

/* Testimonials */
.testimonials {
    background: var(--white);
}

.testimonial-card {
    font-style: italic;
    padding: 40px;
    border-radius: 20px;
    background: var(--bg-light);
}

.testimonial-text {
    font-size: 17px;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    font-style: normal;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    text-align: center;
    padding: 80px 5%;
}

.final-cta h2 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Footer */
footer {
    background: #230421; /* Darker version of primary */
    color: var(--white);
    padding: 100px 5% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

footer .logo {
    color: var(--secondary);
    margin-bottom: 25px;
    display: block;
}

footer h4 {
    color: var(--secondary);
    margin-bottom: 25px;
    font-size: 20px;
}

footer p {
    opacity: 0.7;
    font-size: 15px;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    opacity: 0.7;
}

footer ul li a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    opacity: 0.5;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fdfdfd;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(100, 13, 95, 0.05);
}

textarea.form-control {
    min-height: 120px;
}

/* Mobile Nav Styles */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 10px 15px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-radius: 20px 20px 0 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-main);
    font-size: 11px;
    font-weight: 600;
    flex: 1;
}

.mobile-nav-item i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.mobile-nav-item.btn-book {
    background: var(--primary);
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 14px;
    flex-direction: row;
    gap: 10px;
    font-size: 15px;
    flex: 2;
    box-shadow: 0 8px 20px rgba(100, 13, 95, 0.2);
}

.mobile-nav-item.btn-book i {
    width: 18px;
    height: 18px;
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { padding-bottom: 80px; } /* Space for sticky nav */
    .mobile-bottom-nav { display: flex; }
    .whatsapp-float { display: none; }
    
    .hero h1 { font-size: 36px; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .section-title { font-size: 28px; }
    .hero { height: auto; padding: 140px 0 60px; text-align: center; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .trust-badges { gap: 20px; justify-content: flex-start; }
    .badge-item { font-size: 16px; }
    footer .footer-content { grid-template-columns: 1fr; gap: 40px; }
    section { padding: 50px 5%; }
    
    .logo img {
        height: 200px;
        margin: -70px -10px;
    }
}
