* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cinzel", serif;
}

body {
    background: #000;
    color: #e6e6e6;
    overflow-x: hidden;
}
/* MOBILE SOCIAL ROW */

.mobile-social{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;   /* allows input to go to next line */
}

/* SEARCH ICON */

.mobile-search{
    display:flex;
    align-items:center;
}

.mobile-search i{
    font-size:16px;
    color:#fff;
    cursor:pointer;
}

/* SEARCH INPUT */

#mobileCodeSearch{
    display:none;
    width:100%;
    margin-top:10px;
    padding:6px 8px;
    border-radius:6px;
    border:1px solid #444;
    background:#000;
    color:#fff;
    font-size:13px;
}
/* NAVBAR */
.navbar {
    width: 100%;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}

.logo-x {
    margin-right: -3px;
    color: red;
    font-size: 22px;
    font-weight: 600;
}

.logo-o {
    font-size: 21px;
    opacity: 0.9;
    font-weight: 600;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-shrink: 0; /* important! */


}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.3s;
    white-space: nowrap;
}

.navbar ul li a:hover {
    opacity: 0.6;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 30px;
}

.social-icons a {
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}


.social-icons a:hover {
    opacity: 0.6;
}
/* Dropdown container */
.dropdown {
    position: relative;
}

/* Hidden box */
.dropdown-box {
    position: absolute;
    top: 20px;
    left: 0;
    width: 220px;
    background: #000;
    border: 1px solid #444;
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

/* Each row */
.drop-row {
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid #222;
}

.drop-row:last-child {
    border-bottom: none;
}

/* Social icons row */
.drop-row.icons {
    display: flex;
    justify-content: space-around;
    font-size: 16px;
}

.drop-row.icons a {
    color: #fff;
    transition: 0.3s;
}

.drop-row.icons a:hover {
    opacity: 0.6;
}
.dropdown:hover .dropdown-box {
    display: flex;
}

/* Contact Me link */
.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.contact-link:hover {
    opacity: 0.6;
}
.flag-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flag-row img {
    width: 22px;
    height: auto;
    border-radius: 2px;
}

/* HOME SECTION */
.home-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 10%;
    background: #000000;
    color: #fff;
    min-height: 85vh;
}

.home-left {
    width: 50%;
}

.intro-text {
    font-size: 1.4rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    line-height: 1.1;
}

.main-title span {
    color: #a855f7; /* soft purple highlight */
}

.bio-text {
    margin-top: 20px;
    font-size: 1.1rem;
    opacity: 0.75;
    max-width: 450px;
    line-height: 1.6;
}

/* BUTTONS */
.home-buttons {
    margin-top: 35px;
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 1px solid #a855f7;
    transition: 0.3s;
}

.primary-btn {
    background: #a855f7;
    color: #fff;
}

.primary-btn:hover {
    background: transparent;
    color: #a855f7;
}

.secondary-btn {
    color: #fff;
}

.secondary-btn:hover {
    background: #a855f7;
    color: #fff;
}

/* PROFILE IMAGE */
.home-right {
    width: 40%;
    display: flex;
    justify-content: center;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border: 3px solid #2d2d2d;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.07);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Social Icons */
.home-social {
    margin-top: 40px;
    display: flex;
    gap: 18px;
}
@media (max-width: 1100px) {
    .intro-text{
        font-size: 18px;
    }
    .main-title{
        font-size: 1.6rem;
    }
    .bio-text{
        font-size: 1rem;
    }
    .btn{
        font-size: 0.9rem;
    }
    .profile-circle{
        width: 220px;
        height: 220px;
    }
    .home-about-preview .about-text{
        width: 100%;
    }
    .home-about-preview .about-text h2{
        font-size: 26px;
        max-width: 100%;
    }
    .home-about-preview .about-text p{
        font-size: 14px;
        max-width: 100%;
    }
    .about-photo img{
        margin-left: 40%;
    }
    .memories-section h2{
        font-size: 1.6rem;
    }
    .memories-section p{
        font-size: 0.9rem;
    }
    .memories-slider img{
        width: 100px;
        height: 80px;
        gap: 2px;
    }
}
.home-social a {
    color: #fff;
    font-size: 1.2rem;
    transition: 0.3s;
}

.home-social a:hover {
    color: #a855f7;
}

/* Floating Shapes */
.float-shape {
    position: absolute;
    font-size: 2rem;
    color: #a855f7;
    opacity: 0.55;
    animation: float 5s infinite ease-in-out;
    pointer-events: none;
}

/* 3 different positions */
.shape1 {
    top: 15%;
    color: yellow;
    right: 16%;
    animation-delay: 0s;
}

.shape2 {
    top: 55%;
    right: 5%;
    font-size: 1.6rem;
    animation-delay: 1s;
}

.shape3 {
    top: 30%;
    right: 35%;
    font-size: 1.8rem;
    animation-delay: 2s;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); opacity: 0.5; }
    50% { transform: translateY(-12px); opacity: 1; }
    100% { transform: translateY(0px); opacity: 0.5; }
}
/* ACTIVE NAV LINK */
.navbar ul li a.active {
    color: #a855f7;
    opacity: 1;
}

/* Keep dropdown visible when active */
.navbar ul li.dropdown > a.active {
    color: #a855f7;
}
.home-about-preview {
    width: 100%;
    margin-top: -60px;
    padding: 80px 10% 10px;
    background: #0f0f0f; /* or transparent if you want */
}

.home-about-preview .about-block {
    display: block;
}

.home-about-preview .about-text {
    flex: 1;
    align-items: flex-start;
    width: 100%;
    margin-top: -30px;
}

.home-about-preview h2 {
    color: #a855f7;
    font-family: 'Cinzel', serif;
    font-size: 32px;
    margin-bottom: 10px;
}

.home-about-preview p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
}
.home-about-preview .about-text span{
    font-weight: 600;
    width: 100%;
}
.about-readmore {
    display: inline-block;
    margin-top: 24px;
    color: #a855f7;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.about-readmore:hover {
    border-bottom: 1px solid #a855f7;
}


.memories-section {
    padding: 30px 10%;
    text-align: center;
}

.memories-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    margin-bottom: 20px;
    color: #871e0d;
}

.memories-desc {
    max-width: 650px;
    margin: 0 auto 60px;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.85;
}

/* Slider */
.memories-slider {
    overflow: hidden;
    width: 100%;
    margin-bottom: 50px;
}

.slider-track {
    display: flex;
    flex-wrap: nowrap;          /* 🔑 prevents vertical stacking */
    width: max-content;  
    gap: 30px;
    animation: scroll 30s linear infinite;
}

.slider-track img {
    width: clamp(160px, 28vw, 280px);
    height: clamp(110px, 18vw, 180px);
    object-fit: cover;
    border-radius: 16px;
    filter: grayscale(20%);
    transition: transform 0.4s, filter 0.4s;
    flex-shrink: 0;
}

.slider-track img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}
.memories-slider:hover .slider-track {
    animation-play-state: paused;
}


/* Infinite scroll animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Button */
.memories-btn {
    display: inline-block;
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.memories-btn:hover {
    border-bottom: 1px solid #c0392b;
}


/* CONTACT SECTION */
.contact-section {
    min-height: 100vh;
    padding: 140px 10%;
    background: #0c0c0c;
    color: #fff;
}

.contact-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
}

/* LEFT INFO */
.contact-info {
    width: 45%;
}

.contact-info h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1rem;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details div {
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.contact-details i {
    color: #a855f7;
    margin-right: 10px;
}

/* FORM */
.contact-form {
    width: 55%;
    background: #000;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid #222;
}

/* INPUT GROUP */
.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 12px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #777;
    font-size: 0.85rem;
    pointer-events: none;
    transform: translateY(-50%);
    transition: 0.3s;
    background: #000;
    padding: 0 6px;
}

/* FLOATING LABEL EFFECT */
.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
    top: -8px;
    font-size: 0.75rem;
    color: #a855f7;
}

/* BUTTON */
.contact-form button {
    margin-top: 10px;
    cursor: pointer;
}

/* CONTACT FLOATING SHAPES */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.contact-shape {
    position: absolute;
    font-size: 1.6rem;
    color: #a855f7;
    opacity: 0.35;
    animation: contactFloat 6s ease-in-out infinite;
}

/* Individual positions */
.cshape1 {
    top: 20%;
    color: red;
    font-weight: 600;
    left: 35%;
    animation-delay: 0s;
}

.cshape2 {
    top: 75%;
    left: 30%;
    font-weight: 700;
    font-size: 1.2rem;
    animation-delay: 1.5s;
}

.cshape3 {
    top: 67%;
    right: 5%;
    color: yellow;
    font-size: 1.8rem;
    animation-delay: 2.5s;
}



/* Animation */
@keyframes contactFloat {
    0% {
        transform: translateY(0);
        opacity: 0.25;
    }
    50% {
        transform: translateY(-14px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 0.25;
    }
}
/* RESPONSIVE for contact page*/
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .contact-info h1 {
        text-align: center;
    }
}
/* ===== Moments section start===== */

.moments-section {
    padding: 140px 10%;
    background: #0c0c0c;
}

.moments-title {
    font-size: 3rem;
    margin-bottom: 0px;
}
.moments-line {
    margin-top: 2px;
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 40px;


}

/* ===== SECTION ===== */
.moments-section {
    padding: 80px 8%;
}

.moments-title {
    margin-top: 20px;
    font-size: 38px;
    text-align: center;
    letter-spacing: 4px;
}

.moments-line {
    text-align: center;
    margin-top: 10px;
    opacity: 0.7;
}

/* ===== GRID ===== */
.moments-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* ===== CARD ===== */
.moment-card {
    aspect-ratio: 1 / 1; /* PERFECT SQUARE */
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.moment-card:hover {
    transform: translateY(-10px);
}

.moment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.moment-card:hover img {
    transform: scale(1.15);
}

/* Overlay gradient */
.moment-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* Card text */
.moment-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.moment-info h3 {
    font-size: 18px;
    letter-spacing: 1px;
}

.moment-info span {
    font-size: 12px;
    opacity: 0.7;
}

/* ===== GALLERY OVERLAY ===== */
.gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: none;
    z-index: 9999; /* increase z-index to be above everything */
    overflow-y: auto; /* allow scrolling if content is taller than screen */
    padding-top: 40px; /* space from top for close button */
}

.close-btn {
    position: fixed; /* make it fixed relative to viewport */
    top: 20px;       /* distance from top */
    right: 30px;     /* distance from right */
    font-size: 20px;
    color: #fff;     /* make sure it’s visible */
    cursor: pointer;
    z-index: 10000;  /* always above gallery content */
}

.gallery-content {
    max-width: 90%;
    height: 500px;
    margin: 100px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}
.gallery-item {
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 200px; /* fixed height for all gallery images */
    overflow: hidden;
    border-radius: 14px;

}
.gallery-item img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.08);
}
.gallery-item p {
    position: absolute;
    bottom: 10px; /* place at bottom of image */
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    margin: 0;
    padding: 5px 12px;
    font-size: 13px;
    color: #fff;
    background:transparent;
    border-radius: 0px;
    text-align: center;
}
/* ===== FULL IMAGE VIEW ===== */
.image-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001; /* higher than gallery overlay */
}
.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    opacity: 0.9;
    transition: 0.3s;
}

.nav-arrow:hover {
    opacity: 1;
}

.nav-arrow.left {
    left: 20px;
}

.nav-arrow.right {
    right: 20px;
}
@media (max-width: 768px) {
    .nav-arrow {
        display: none !important;
    }
}

/* =========================
   Footer section starts
========================= */
.site-footer {
    background: #000000;
    padding: 50px 10% 35px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
/* TOP LAYOUT */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

/* LEFT */
.footer-left {
    max-width: 420px;
}

.footer-quote {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-desc {
    font-size: 0.8rem;
    opacity: 0.5;
    line-height: 1.6;
}

/* RIGHT WRAP */
.footer-right-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

/* LINKS */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-right a {
    font-size: 1rem;
    text-decoration: none;
    color: #d9d8db;
    transition: 0.3s;
    opacity: 0.9;
}

.footer-right a:hover {
    opacity: 1;
    color: #a855f7;
}
/* SUBSCRIBE */
.footer-subscribe a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbdbdb;
    padding: 10px 42px;
    font-size: 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-subscribe a:hover {
    opacity: 1;
    color: #a855f7;
    border-color: rgba(255,255,255,0.5);
}

/* COPYRIGHT */
.footer-copy {
    text-align: center;
    margin-top: 55px;
    font-size: 0.7rem;
    opacity: 0.6;
}
/* FOOTER VERTICAL SOCIAL */
.footer-social-vertical {
    display: flex;
    justify-content: left;
    gap: 30px;
    margin-top: -20px;
}

.footer-social-vertical a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.footer-social-vertical i {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.footer-social-vertical a:hover {
    color: #a855f7;
    transform: translateY(-4px);
}
/* ======================
   Footer Responsive
====================== */
@media (max-width: 900px) {
    .site-footer {
        padding: 40px 30px;
        margin-left: 2%;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-left,
    .footer-right-wrap {
        width: 100%;
    }

    .footer-right {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 5px;
    }

    .footer-subscribe a {
        display: inline-block;
        padding: 8px 12px;

    }

    .footer-social-vertical {
        flex-direction: row;
        justify-content: start;
        gap: 20px;
        margin-top: 20px;
    }

    .footer-social-vertical a span {
        display: none; /* Hide text on tablets to save space */
    }
}
/* Mobile (up to 567px) */
@media (max-width: 567px) {

    .footer-subscribe a {
        font-size: 14px;
        padding: 8px 12px;
        margin-top: -10px;
    }

    .footer-social-vertical {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    .footer-social-vertical a span {
        display: none; /* Hide social text on mobile */
    }

    .footer-copy {
        font-size: 13px;
        margin-top: 20px;
    }
}

/* =========================
   ABOUT – TOP CARDS
========================= */

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 140px;
}

.about-card {
    background: #000;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.7;
}

/* =========================
   ABOUT – STORY BLOCKS
========================= */

.about-section {
    padding: 140px 10%;
    background: #0c0c0c;
}

.about-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: -50px;
    margin-bottom: 70px;
}

.about-text {
    width: 50%;
}

.about-text h2 {
    font-size: 2.4rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.75;
    max-width: 480px;
}

.about-photo {
    width: 30%;                /* width relative to container */
    max-width: 360px;         /* don't let it grow too big */
    overflow: hidden;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo img {
    width: 100%;
    height: 100%;       /* fill the container */
    object-fit: cover;  /* crop or scale image proportionally */
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Alternate flow */
.about-block:nth-child(even) {
    flex-direction: row-reverse;
}
.about-full {
    width: 100%;
    margin-bottom: 40px;
}

.about-full h2 {
    font-size: 2.6rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.about-full p {
    width: 100%;
    font-size: 1.1rem;
    line-height: 1.9;
    opacity: 0.75;
}

.about-full p + p {
    margin-top: 18px;
}
.identity-line-section {
    width: 100%;
}

.identity-title {
    color: #c1121f;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.identity-line {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 1.05rem;
    opacity: 0.85;
}

.identity-line span::after {
    content: "•";
    margin-left: 14px;
    opacity: 0.6;
}

.identity-line span:last-child::after {
    content: "";
}

.identity-contact {
    margin-top: 28px;
}
.inline-link {
    color: #a855f7;
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.4);
    transition: 0.3s ease;
}

.inline-link:hover {
    color: #fff;
    border-bottom-color: #a855f7;
}


.identity-contact p {
    font-size: 1rem;
    opacity: 0.7;
}

.identity-contact a {
    color: #a855f7;
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.4);
    transition: 0.3s ease;
}

.identity-contact a:hover {
    color: #fff;
    border-bottom-color: #a855f7;
}


/* =========================
   ADD POST – FROM MY MIND
========================= */

.add-post-section {
    min-height: 100vh;
    padding: 160px 18%;
    background: radial-gradient(circle at top, #111 0%, #000 60%);
}

.add-post-title {
    text-align: center;
    font-size: 2.6rem;
    letter-spacing: 4px;
    margin-bottom: 14px;
}

.add-post-subtitle {
    text-align: center;
    font-size: 1.05rem;
    opacity: 0.65;
    margin-bottom: 70px;
}

/* FORM CARD */
.add-post-form {
    max-width: 680px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 26px;
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.65);
}

/* LABEL */
.add-post-form label {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 10px;
}

/* INPUTS */
.add-post-form input[type="text"],
.add-post-form textarea,
.add-post-form input[type="file"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    color: #e6e6e6;
    padding: 14px 6px;
    font-size: 1rem;
    margin-bottom: 40px;
    outline: none;
}

/* TEXTAREA */
.add-post-form textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.8;
}

/* FILE INPUT */
.add-post-form input[type="file"] {
    border-bottom: none;
    opacity: 0.8;
}

/* SUBMIT BUTTON */
.add-post-form button {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    font-size: 1rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s ease;
}

.add-post-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(168,85,247,0.45);
}

/* FOCUS GLOW */
.add-post-form input:focus,
.add-post-form textarea:focus {
    border-bottom-color: #a855f7;
}

/* SUCCESS MESSAGE */



/* RESPONSIVE */
@media (max-width: 900px) {
    .add-post-section {
        padding: 140px 10%;
    }

    .add-post-form {
        padding: 40px;
    }
}

@media (max-width: 500px) {
    .add-post-section {
        padding: 120px 8%;
    }

    .add-post-form {
        padding: 30px;
    }

    .add-post-title {
        font-size: 2rem;
    }
}





/* ======================
   About Page Responsive
====================== */

/* Tablets (768px - 1024px) */
@media (max-width: 900px) {
    .about-cards {
        grid-template-columns: 1fr;
        margin-bottom: 100px;
    }
    .about-card {
        width: 100%;
        text-align: left;
        padding: 15px 10px;
    }
    .about-card h3 {
        font-size: 20px;
    }

    .about-card p {
        font-size: 16px;
    }
    /* Story Blocks */

    .about-text {
        text-align: left;
        
    }
    .about-text h2 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 20px;
        line-height: 1.5;
    }
    .about-photo img {
        width: 100%;
        border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;

    }

    /* Full About Sections */
    .about-full {
        padding: 0 20px;
        text-align: left;
    }
    .about-full h2{
        font-size: 32px;
        
    }
    .identity-line-section h2{
        font-size: 32px;
    }
    /* Identity Line Section */
    .identity-line-section {
        padding: 0 20px;
    }

    .identity-line {
        flex-wrap: wrap;
        justify-content: start;
        gap: 10px;
    }

    .identity-contact {
        padding: 0 20px;
    }
    .moments-title{
        font-size: 26px;
    }
    .moments-line{
        font-size: 16px;
    }
    .moments-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    }
    .gallery-content {
        grid-template-columns: repeat(3, 1fr); /* 3 images per row */
    }

    .moment-info h3{
        font-size: 14px;
    }
    .moment-info span{
        font-size: 12px;
    }
        
    
    .intro-text{
        font-size: 16px;
    }
    .main-title{
        font-size: 1.4rem;
    }
    .bio-text{
        font-size: 0.8rem;
    }
    .btn{
        font-size: 0.8rem;
    }
    .profile-circle{
        width: 200px;
        height: 200px;
    }
    .home-section{
        min-height: 70vh;
    }
    .home-about-preview .about-text{
        width: 100%;
    }
    .home-about-preview .about-text h2{
        font-size: 22px;
        max-width: 100%;
    }
    .home-about-preview .about-text p{
        font-size: 14px;
        max-width: 100%;
    }
    .about-photo img{
        margin-left: 30%;
    }
    .memories-section h2{
        font-size: 1.6rem;
    }
    .memories-section p{
        font-size: 0.9rem;
    }
    .memories-slider img{
        width: 200px;
        height: 160px;
        gap: 2px;
    }
    .about-readmore{
        font-size: 14px;
    }
    .home-right .shape1{
        top: 20%;
        font-size: 1.35rem;
    }
    .home-right .shape3{
        right: 40%;
        font-size: 1.35rem;
    }
    .home-right .shape2{
        font-size: 1.35rem;
    }
}
/* Mobile (up to 667px) */
@media (max-width: 667px) {
    .about-card{
        padding: 10px 3px;

    }
    .about-card h3 {
        font-size: 18px;
    }

    .about-card p {
        font-size: 14px;
    }

    /* Story Blocks */
    .about-text {
        text-align: left;
    }

    .about-text h2 {
        font-size: 18px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.5;
    }

    .about-photo img {
        width: 100%;
        height: auto;
        border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    }
    .about-full h2{
        font-size: 28px;
        
    }
    .identity-line-section h2{
        font-size: 28px;
    }
    .identity-line-section span{
        font-size: 16px;
    }
    .moments-title{
        font-size: 22px;
    }
    .moments-line{
        font-size: 14px;
    }
    .moments-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
    .gallery-content {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row */
    }

    .moment-info h3{
        font-size: 12px;
    }
    .moment-info span{
        font-size: 10px;
    }
    
    
    .intro-text{
        font-size: 14px;
    }
    .main-title{
        font-size: 1.2rem;
    }
    .bio-text{
        font-size: 0.6rem;
    }
    .btn{
        font-size: 0.6rem;
    }
    .profile-circle{
        width: 180px;
        height: 180px;
        margin-top: -30px;
    }
    .home-about-preview .about-text{
        width: 100%;
    }
    .home-about-preview .about-text h2{
        font-size: 22px;
        max-width: 100%;
    }
    .home-about-preview .about-text p{
        font-size: 12px;
        max-width: 100%;
    }
    .about-photo img{
        margin-left: 25%;
        width: 250px;
        height: 200px;
    }
    .memories-section h2{
        font-size: 1.4rem;
    }
    .memories-section p{
        font-size: 0.8rem;
    }
    .memories-slider img{
        width: 180px;
        height: 140px;
        gap: 2px;
    }
    .about-readmore{
        font-size: 14px;
    }
    .home-right .shape1{

        font-size: 1.31rem;
    }
    .home-right .shape3{
        font-size: 1.31rem;
    }
    .home-right .shape2{
        font-size: 1.31rem;
    }

}
@media (max-width: 497px) {

    .about-card{
        padding: 15px 10px;

    }

    .about-card h3 {
        font-size: 16px;
    }

    .about-card p {
        font-size: 12px;
    }

    /* Story Blocks */
    .about-block{
        margin-bottom: 0px;
    }

    .about-text {
        text-align: left;
    }

    .about-text h2 {
        font-size: 14px;
    }

    .about-text p {
        font-size: 10px;
        line-height: 1.5;
    }
    
    .about-photo img {
        width: 100%;
        height: auto;
        border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;

    }
    .about-full h2{
        font-size: 22px;
        
    }
    .about-full p{
        font-size: 12px;
    }
    .identity-line-section h2{
        font-size: 22px;
    }
    .identity-line-section span{
        font-size: 12px;
    }

    .identity-contact p{
        font-size: 12px;
        line-height: 1.6;
    }
    .contact-info h1{
        font-size: 24px;
        text-align: left;
    }
    .contact-info p{
        font-size: 16px;
    }
    .moments-title{
        font-size: 20px;
    }
    .moments-line{
        font-size: 14px;
    }
    .moment-info{
        margin-bottom: -5px;
    }
        
    .moment-info h3{
        font-size: 12px;
        margin-bottom: -5px;
    }
    .moment-info span{
        font-size: 10px;
        margin-top: 0px;
    }
    .gallery-item p{
        font-size: 10px;
        width: 100%;
        text-align: left;
        left: 50%;
    }
        
    
    .intro-text{
        font-size: 12px;

    }
    .main-title{
        font-size: 1rem;
    }
    .bio-text{
        font-size: 0.55rem;
        font-weight: 600;
    }
    .btn{
        width: auto;
        height: auto;
        padding: 6px 14px;
        font-size: 0.6rem;
        text-align: center;
        white-space: nowrap;
    }

    .profile-circle{
        width: 140px;
        height: 140px;
        margin-top: -60px;
    }
    .home-section{
        min-height: 40vh;
    }

    .home-about-preview .about-text h2{
        font-size: 18px;
        max-width: 100%;
    }
    .home-about-preview .about-text p{
        font-size: 10px;
        max-width: 100%;
    }
    .about-photo img{
        margin-left: 25%;
        width: 170px;
        height: 140px;
    }

    .memories-section h2{
        font-size: 1.4rem;
    }
    .memories-section p{
        font-size: 0.8rem;
    }
    .memories-slider img{
        width: 150px;
        height: 120px;
        gap: 2px;
    }
    .about-readmore{
        font-size: 10px;
    }
    .home-right .shape1{
        top: 14%;
        font-size: 1rem;
    }
    .home-right .shape3{
        right: 44%;
        font-size: 1rem;
    }
    .home-right .shape2{
        font-size: 1rem;
        top: 40%;
    }
    .home-social i{
        font-size: 15px;
    }
    .logo{
        font-size: 20px;
        opacity: 0.9;
    }

}
/* ================= NAVBAR BASE ================= */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
}

.desktop-nav ul{
    display:flex;
    gap:28px;
}

.desktop-nav a,
.mobile-nav a{
    text-decoration:none;
    color:#aaa;
    font-size:13px;
    letter-spacing:2px;
}

.desktop-nav a.active,
.mobile-nav a.active{
    color:#fff;
}

/* ================= HAMBURGER ================= */
.hamburger{
    display:none;
    width:32px;
    height:32px;
    border:1px solid #827c7c;
    border-radius:6px;
    cursor:pointer;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
}

.hamburger span{
    width:18px;
    height:2px;
    background:#e6e6e6;
}

/* ================= OVERLAY ================= */
.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(4px);
    opacity:0;
    pointer-events:none;
    transition:0.4s;
    z-index:998;
}

.menu-overlay.active{
    opacity:1;
    pointer-events:all;
}

/* ================= MOBILE MENU ================= */
.mobile-menu{
    position:fixed;
    top:0;
    right:0;
    width:85%;
    max-width:340px;
    height:100vh;
    background:#000;
    transform:translateX(100%);
    transition:0.5s cubic-bezier(.77,0,.18,1);
    padding:110px 36px 40px;
    z-index:999;
    border-left:1px solid rgba(255,255,255,0.08);
}

.mobile-menu.active{
    transform:translateX(0);
}

.mobile-nav ul{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:26px;
}

.mobile-nav a{
    position:relative;
    padding-left:18px;
}

.mobile-nav a::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:6px;
    height:1px;
    background:#a855f7;
    opacity:0;
    transition:0.3s;
}

.mobile-nav a.active::before{
    opacity:1;
}

/* ================= DIVIDER ================= */
.mobile-divider{
    height:1px;
    background:rgba(255,255,255,0.1);
    margin:40px 0 30px;
}

/* ================= MOBILE SOCIAL ================= */
.mobile-social{
    display:flex;
    gap:24px;
}

.mobile-social a{
    color:#aaa;
    font-size:18px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:951px){
    .desktop-nav,
    .desktop-social{
        display:none;
    }
    .hamburger{
        display:flex;
    }
}

/* SEARCH CODE BOX */

.search-box{
    position: relative;
    display:flex;
    align-items:center;
}

.search-box i{
    cursor:pointer;
    font-size:16px;
}

#codeSearch{
    position:absolute;
    right:25px;
    top:-8px;
    width:90px;
    padding:6px 8px;
    border-radius:6px;
    border:1px solid #444;
    background:#000;
    color:#fff;
    font-size:12px;
    outline:none;
    display:none;
}

#codeSearch::placeholder{
    color:#777;
}
