/* ============================================================
   Manica Verma / Wellness Safari — Shared Stylesheet
   ============================================================ */

:root {
    --earth-dark: #3a2f26;
    --earth-medium: #6b5d52;
    --earth-light: #9d8d7f;
    --sand: #e8dcc8;
    --cream: #f7f3ed;
    --sage: #8a9a7b;
    --terracotta: #c97a5f;
    --clay: #b88b75;
}

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

body {
    font-family: 'Karla', sans-serif;
    line-height: 1.7;
    color: var(--earth-dark);
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant', serif;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Organic background texture */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(138,154,123,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201,122,95,0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(184,139,117,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(247, 243, 237, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(107, 93, 82, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--earth-dark);
    text-decoration: none;
    letter-spacing: 0.05em;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--earth-dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: var(--earth-medium);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover,
nav a[aria-current="page"] {
    color: var(--terracotta);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a[aria-current="page"]::after {
    width: 100%;
}

/* ── Buttons ── */
.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 0;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
}

.btn-primary {
    background: var(--sage);
    color: white;
    box-shadow: 0 4px 20px rgba(138,154,123,0.2);
}

.btn-primary:hover {
    background: var(--earth-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(138,154,123,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--earth-dark);
    border: 1.5px solid var(--earth-dark);
}

.btn-secondary:hover {
    background: var(--earth-dark);
    color: white;
}

/* ── Section base ── */
.page-main {
    padding-top: 5rem; /* offset for fixed nav */
}

section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

section h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--earth-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--earth-light);
    margin-bottom: 4rem;
    font-style: italic;
}

/* ── Page Hero Banner (inner pages) ── */
.page-hero {
    background: var(--earth-dark);
    color: var(--cream);
    padding: 8rem 5% 5rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 4rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--sand);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* ── Hero (home only) ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    width: 100%;
}

.hero-text { animation: fadeInUp 0.8s ease-out 0.3s both; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--earth-dark);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--earth-medium);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.1rem;
    color: var(--earth-light);
    margin-bottom: 3rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeIn 1s ease-out 0.6s both;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 200px; height: 200px;
    border: 1px solid var(--sage);
    opacity: 0.3;
    z-index: -1;
}

/* ── About ── */
.about-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--earth-dark);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--earth-medium);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.about-image img,
.about-image .image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.about-image .image-placeholder {
    background: linear-gradient(135deg, var(--sand) 0%, var(--clay) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--earth-medium);
}

/* ── Philosophy ── */
.philosophy {
    background: white;
    padding: 6rem 5%;
    margin: 4rem 0;
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0; left: 5%;
    width: 60px; height: 2px;
    background: var(--terracotta);
}

.philosophy-content { max-width: 900px; }

.philosophy p {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--earth-medium);
    margin-bottom: 1.5rem;
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(58,47,38,0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--sage);
    transition: height 0.3s ease;
}

.service-card:hover::before { height: 100%; }

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--earth-dark);
}

.service-card .price {
    font-size: 2.5rem;
    font-family: 'Cormorant', serif;
    color: var(--terracotta);
    margin: 1rem 0 1.5rem;
    display: block;
}

.service-card .price span {
    font-size: 1rem;
    color: var(--earth-light);
}

.service-card p {
    color: var(--earth-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--earth-light);
    font-size: 0.95rem;
    position: relative;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-size: 1.5rem;
    line-height: 1;
}

/* ── Schedule ── */
.schedule-info {
    background: white;
    padding: 3rem;
    margin-top: 3rem;
    border-left: 4px solid var(--sage);
}

.schedule-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--earth-dark);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.schedule-item {
    padding: 1.5rem;
    background: var(--cream);
    transition: background 0.3s ease;
}

.schedule-item:hover { background: var(--sand); }

.schedule-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--earth-dark);
}

.schedule-item p {
    color: var(--earth-medium);
    font-size: 0.95rem;
}

/* ── Testimonials ── */
.testimonials {
    padding: 6rem 5%;
    background: white;
    max-width: 1400px;
    margin: 4rem auto;
}

.testimonials h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--earth-dark);
}

.testimonials .section-subtitle {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--cream);
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(58,47,38,0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem; left: 1.5rem;
    font-size: 5rem;
    font-family: 'Cormorant', serif;
    color: var(--sage);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-stars {
    color: var(--terracotta);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--earth-medium);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(107,93,82,0.2);
}

.author-info h4 {
    font-size: 1.2rem;
    color: var(--earth-dark);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

/* ── Contact ── */
.contact {
    background: var(--earth-dark);
    color: var(--cream);
    padding: 6rem 5%;
    margin-top: 4rem;
}

.contact h2 { color: var(--cream); }
.contact .section-subtitle { color: var(--sand); }

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--cream);
}

.contact-details { list-style: none; }

.contact-details li {
    margin-bottom: 1.5rem;
    color: var(--sand);
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--sand);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover { color: var(--terracotta); }

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px; height: 50px;
    border: 1px solid var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sand);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-links a:hover {
    background: var(--sage);
    border-color: var(--sage);
    color: white;
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--sand);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(247,243,237,0.05);
    border: 1px solid rgba(247,243,237,0.2);
    color: var(--cream);
    font-family: 'Karla', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
    background: rgba(247,243,237,0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(247,243,237,0.4);
}

.contact-form .btn { align-self: flex-start; }

/* ── Footer ── */
footer {
    background: var(--earth-dark);
    color: var(--sand);
    text-align: center;
    padding: 2rem 5%;
    border-top: 1px solid rgba(247,243,237,0.1);
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ── Scroll animations ── */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ── Highlight strip ── */
.highlight-strip {
    background: var(--sage);
    color: white;
    text-align: center;
    padding: 4rem 5%;
}

.highlight-strip h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-strip p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ── Responsive ── */
@media (max-width: 968px) {
    .hero-content,
    .about-content,
    .contact-content { grid-template-columns: 1fr; gap: 3rem; }

    .hero h1 { font-size: 3.5rem; }
    .page-hero h1 { font-size: 3rem; }

    nav ul { gap: 1.5rem; }

    .services-grid,
    .testimonials-grid { grid-template-columns: 1fr; }

    section h2,
    .about-text h2,
    .testimonials h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }

    nav ul {
        position: fixed;
        top: 80px; left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--cream);
        padding: 2rem 5%;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    nav ul.active { left: 0; }

    nav ul li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(107,93,82,0.1);
    }

    nav ul li:last-child { border-bottom: none; }
    nav a { font-size: 1.1rem; display: block; width: 100%; }
    .logo { font-size: 1.5rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .page-hero h1 { font-size: 2.5rem; }
    section { padding: 3rem 5%; }
    section h2 { font-size: 2.2rem; }
    .service-card { padding: 2rem 1.5rem; }
    .testimonial-card { padding: 2rem; }
    .schedule-info { padding: 2rem; }
    .contact { padding: 4rem 5%; }
    .social-links { justify-content: center; }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero p { font-size: 1rem; }
    nav { padding: 1rem 5%; }
    nav ul { top: 65px; }
    .logo { font-size: 1.3rem; }
    .cta-buttons { flex-direction: column; }
    .btn { text-align: center; width: 100%; }
    section { padding: 2.5rem 5%; }
    section h2 { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; }
    .service-card h3,
    .testimonial-card h4 { font-size: 1.5rem; }
    .service-card .price { font-size: 2rem; }
    .schedule-grid { grid-template-columns: 1fr; }
    .contact-form form { gap: 1rem; }
    .form-group input,
    .form-group textarea { font-size: 16px; }
    footer { padding: 1.5rem 5%; font-size: 0.85rem; }
    .social-links a { width: 45px; height: 45px; font-size: 18px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    nav { padding: 0.8rem 5%; }
    .logo { font-size: 1.2rem; }
    section h2 { font-size: 1.8rem; }
    .service-card,
    .testimonial-card { padding: 1.5rem; }
    .btn { padding: 0.9rem 2rem; }
}
