/* ============================
   DEMO 11: LIGHT & AIRY / PASTEL
   ============================ */

   :root {
    --bg-color: #ffffff;
    --bg-soft: #faf8f7; /* Very light warm grey/pink */
    --text-primary: #555555;
    --text-dark: #222222;
    --accent: #d8a1a4; /* Soft blush pink */
    --accent-light: #f5e6e7;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Great Vibes', cursive;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, .nav-brand {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 400;
}

.cursive-text {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--text-primary);
    line-height: 1;
}

.accent-color { color: var(--accent); }

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.text-center { text-align: center; }
.mt-5 { margin-top: 4rem; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-fluid {
    width: 100%;
    padding: 0 5%;
}

/* ============================
   PRELOADER
   ============================ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 20px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* ============================
   TOP BAR & NAVIGATION
   ============================ */
.top-bar {
    background: var(--accent-light);
    color: var(--text-dark);
    text-align: center;
    padding: 8px 0;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.nav-brand a {
    font-size: 2.2rem;
    font-style: italic;
}

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

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.nav-links a:hover { color: var(--accent); }

.btn-blush {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 30px; /* soft rounded pill */
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.btn-blush:hover {
    background: var(--text-dark);
    color: #fff !important;
}
.btn-blush.block { width: 100%; padding: 15px; }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

.demo-badge {
    position: fixed;
    top: 130px;
    right: 0;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 15px;
    border-radius: 20px 0 0 20px;
    z-index: 100;
}

/* ============================
   HERO
   ============================ */
.hero {
    height: calc(100vh - 120px);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-soft);
}

.hero-image {
    position: absolute;
    inset: 5%; /* White border around image */
    background-size: cover;
    background-position: center top;
    z-index: 1;
    /* Soft bright filter */
    filter: brightness(1.1) contrast(0.9);
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 50px 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 10px 0 20px;
}

.hero-content p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 1.5s forwards 0.5s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================
   INTRO SECTION
   ============================ */
.intro-section {
    padding: 120px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.soft-img {
    width: 100%;
    border-radius: 200px 200px 0 0; /* Arch shape */
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.i-right h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.i-right p {
    margin-bottom: 20px;
    text-align: justify;
}

.link-line {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    display: inline-block;
    margin-top: 20px;
}
.link-line:hover { color: var(--accent); }

/* ============================
   PORTFOLIO GALLERY
   ============================ */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-soft);
}

.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.g-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/4;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
    filter: brightness(1.05); /* keep it airy */
}

.g-overlay {
    position: absolute;
    inset: 15px; /* inset border */
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background: rgba(255,255,255,0.9);
    transition: 0.5s ease;
}

.g-item:hover img { transform: scale(1.05); }
.g-item:hover .g-overlay { opacity: 1; }

.g-text { text-align: center; color: var(--text-dark); transform: translateY(10px); transition: 0.5s; }
.g-item:hover .g-text { transform: translateY(0); }

.g-text h3 { font-style: italic; font-size: 1.5rem; margin-bottom: 5px; }
.g-text p { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; }

/* ============================
   TESTIMONIAL
   ============================ */
.testimonial-section {
    padding: 120px 0;
    background: url('https://images.unsplash.com/photo-1518049362265-d5b2a6467637?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    position: relative;
    color: var(--text-dark);
}

.testimonial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85); /* Light overlay */
}

.testimonial-section .container { position: relative; z-index: 2; max-width: 800px; }

.large-cursive { font-size: 4rem; display: block; margin-bottom: 20px; }

.quote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

.author {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ============================
   CONTACT
   ============================ */
.contact-section {
    padding: 120px 0;
}

.c-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--bg-soft);
    padding: 60px;
    border-radius: 20px;
}

.c-left h2 { font-size: 2.5rem; margin: 10px 0 20px; }
.c-desc { margin-bottom: 40px; }

.c-info p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.c-info i { color: var(--accent); margin-right: 15px; font-size: 1rem; }

.soft-form input, .soft-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid var(--accent-light);
    border-radius: 5px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: 0.3s;
}
.soft-form input:focus, .soft-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(216, 161, 164, 0.1);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: #fff;
    padding: 60px 0 40px;
    border-top: 1px solid var(--accent-light);
}

.f-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.f-logo { font-size: 2.5rem; font-style: italic; }

.f-socials a {
    color: var(--text-primary);
    margin-left: 20px;
    font-size: 1.2rem;
}
.f-socials a:hover { color: var(--accent); }

.f-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid var(--accent-light);
    padding-top: 20px;
}
.f-bottom a { color: var(--accent); font-weight: 500; }

.back-to-master {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--text-dark);
    padding: 10px 15px;
    color: #fff;
    font-size: 0.8rem;
    border-radius: 30px;
    z-index: 1000;
}
.back-to-master:hover { background: var(--accent); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-grid { grid-template-columns: 1fr; }
    .soft-img { border-radius: 20px; }
    .c-box { grid-template-columns: 1fr; padding: 40px 20px; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content { padding: 30px 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .f-top, .f-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
