/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

::selection {
    background-color: #b8a9c9;
    color: white;
}

/* ===== Layout Utilities ===== */
.page-wrapper {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

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

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 2rem 5vw;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    position: absolute;
    left: 5vw;
    font-size: 1.5rem;
    font-weight: 300;
    color: #666;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-links {
    display: flex;
    gap: 3rem;
}

.navbar-link {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    transition: color 0.3s ease;
}

.navbar-link:hover {
    color: #333;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8f4f8 0%, #f5f0f8 50%, #e8e0f0 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(200, 180, 220, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(125, 211, 216, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 8vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100vh;
}

.hero-left {
    padding-right: 4vw;
}

.hero-tagline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.3;
    color: #555;
    margin-bottom: 2rem;
}

.hero-tagline-highlight {
    font-style: italic;
    color: #9575cd;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #888;
    line-height: 1.8;
    max-width: 400px;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4vw;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* ===== About Section ===== */
.about {
    padding: 15vh 0;
    background: #fff;
}

.about-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8vw;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #9575cd;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    color: #444;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4vw;
    align-items: start;
}

.about-photo {
    position: sticky;
    top: 12vh;
}

.founder-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(149, 117, 205, 0.2);
    border: 4px solid rgba(149, 117, 205, 0.15);
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #666;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.25rem;
}

.founder-name {
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
    margin-bottom: 0.2rem;
}

.founder-credentials {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9575cd;
    margin-bottom: 1.25rem;
}

/* ===== Services Section ===== */
.services {
    padding: 15vh 0;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.services-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8vw;
}

.services-header {
    text-align: center;
    margin-bottom: 8vh;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-top: 2px solid;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card-teal {
    border-color: #4db6ac;
}

.service-card-purple {
    border-color: #9575cd;
}

.service-card-cyan {
    border-color: #4dd0e1;
}

.service-card-lavender {
    border-color: #b39ddb;
}

.service-card-orange {
    border-color: #ffb74d;
}

.service-card-blue {
    border-color: #64b5f6;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 300;
    color: #444;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.service-link {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card:hover .service-link {
    opacity: 1;
}

.service-link-teal {
    color: #4db6ac;
}

.service-link-purple {
    color: #9575cd;
}

.service-link-cyan {
    color: #4dd0e1;
}

.service-link-lavender {
    color: #b39ddb;
}

.service-link-orange {
    color: #ffb74d;
}

.service-link-blue {
    color: #64b5f6;
}

/* ===== Instagram Section ===== */
.instagram-section {
    padding: 12vh 0;
    background: #fff;
}

.instagram-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8vw;
}

.instagram-header {
    text-align: center;
    margin-bottom: 5vh;
}

.instagram-subtitle {
    font-size: 0.95rem;
    color: #888;
    font-weight: 300;
    max-width: 400px;
    margin: 0 auto;
}

.instagram-carousel {
    position: relative;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    border-color: #9575cd;
    color: #9575cd;
    box-shadow: 0 4px 12px rgba(149, 117, 205, 0.15);
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
    flex: 1;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-card:hover .carousel-overlay {
    opacity: 1;
}

.carousel-empty {
    border: 1px dashed #ddd;
    border-radius: 16px;
    padding: 5rem 2rem;
    text-align: center;
}

.carousel-empty-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #999;
    transition: color 0.3s ease;
}

.carousel-empty-link:hover {
    color: #9575cd;
}

.carousel-empty-link p {
    font-size: 0.95rem;
    font-weight: 300;
}

.carousel-empty-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 1.8rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.3s ease;
}

.carousel-empty-link:hover .carousel-empty-btn {
    border-color: #9575cd;
    color: #9575cd;
}

.instagram-cta {
    text-align: center;
    margin-top: 3vh;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #666;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.3s ease;
}

.instagram-follow-btn:hover {
    border-color: #9575cd;
    color: #9575cd;
    background: rgba(149, 117, 205, 0.05);
}

/* ===== Contact Section ===== */
.contact {
    padding: 15vh 0;
    background: #1a1a1a;
}

.contact-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8vw;
}

.contact-inner-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-inner-centered .section-label {
    display: block;
    color: #4db6ac;
}

.contact-inner-centered .section-title {
    color: #fff;
}

.contact-intro {
    font-size: 1rem;
    color: #888;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 4vh;
    max-width: 500px;
}

.contact-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 540px;
}

.contact-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-icon-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.contact-icon-link span {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.contact-icon {
    width: 28px;
    height: 28px;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: #fff;
    font-size: 0.95rem;
    padding: 1rem 0;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #666;
}

.form-input:focus {
    outline: none;
    border-color: #4db6ac;
}

.form-textarea {
    resize: none;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: #4db6ac;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #3d9e96;
}

/* ===== Footer ===== */
.footer {
    padding: 3vh 0;
    background: #111;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8vw;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.7rem;
    color: #555;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.7rem;
    color: #555;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* ===== Navbar Auth ===== */
.navbar-auth {
    position: absolute;
    right: 5vw;
}

.btn-login {
    background: transparent;
    border: 1px solid #888;
    color: #666;
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #4db6ac;
    border-color: #4db6ac;
    color: #fff;
}

/* ===== User Menu ===== */
.user-menu-container {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #9575cd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.user-name {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 0.1em;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    min-width: 180px;
    padding: 0.5rem 0;
    z-index: 200;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item.logout {
    color: #e57373;
    border-top: 1px solid #eee;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* ===== Contact Success ===== */
.contact-success {
    text-align: center;
    padding: 2rem;
}

.contact-success .success-icon {
    width: 3rem;
    height: 3rem;
    background: #4db6ac;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.contact-success h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-success p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .navbar-links {
        gap: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 15vh;
    }

    .hero-right {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4vh;
    }

    .about-photo {
        text-align: center;
        position: static;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .navbar-links {
        display: none;
    }
}

@media (max-width: 640px) {

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

    .founder-photo {
        width: 140px;
        height: 140px;
    }

    .carousel-card {
        width: 180px;
        height: 180px;
    }

    .carousel-btn {
        display: none;
    }

    .contact-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}