/* ================================
   KRISTI FOURIE UGC WEBSITE
   Y2K Bold Feminine Editorial Design
   ================================ */

/* ================================
   CUSTOM FONTS
   ================================ */

@font-face {
    font-family: 'Amelia Script';
    src: url('../assets/fonts/amelia_script/Amelia Script.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Griffiths';
    src: url('../assets/fonts/griffiths/Griffiths.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Else NPL Medium';
    src: url('../assets/fonts/Else NPL Medium/Else NPL Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ================================
   CSS VARIABLES
   ================================ */

:root {
    --hot-pink: #ed99b8;
    --lime: #C4D82E;
    --cream: #F5F0E6;
    --black: #000000;
    --pink-light: #ed99b8;
    --lime-light: #D8E87A;
}

/* ================================
   GLOBAL STYLES
   ================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--cream);
    color: var(--black);
    font-family: 'DM Sans', sans-serif;
}

/* ================================
   TYPOGRAPHY
   ================================ */

/* Display Serif - Playfair Display Black */
.font-display {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* Script Font - Griffiths (hand-written, organic) */
.font-script {
    font-family: 'Griffiths', cursive;
    font-weight: 400;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
}

/* Else NPL Medium Font */
.font-else {
    font-family: 'Else NPL Medium', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ================================
   BLOB BACKGROUND
   ================================ */

.blob-bg {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: var(--lime);
    border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
    opacity: 0.3;
    z-index: 0;
    animation: blob-morph 15s ease-in-out infinite;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
    }
    25% {
        border-radius: 40% 60% 70% 50% / 60% 40% 50% 60%;
    }
    50% {
        border-radius: 50% 50% 40% 60% / 40% 70% 60% 50%;
    }
    75% {
        border-radius: 70% 40% 60% 50% / 50% 50% 40% 60%;
    }
}

@media (max-width: 768px) {
    .blob-bg {
        width: 100%;
        right: -20%;
        opacity: 0.2;
    }
}

/* ================================
   PHOTO FRAMES WITH BLOB ACCENT
   ================================ */

.hero-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 4px solid var(--black);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 2;
}

.hero-photo-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: -20px;
    bottom: -20px;
    background: var(--lime);
    border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
    z-index: -1;
    transform: rotate(3deg);
    opacity: 0.8;
}

.hero-photo-frame:hover {
    transform: translate(-4px, -4px);
}

.about-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 4px solid var(--black);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 2;
}

.about-photo-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background: var(--lime);
    border-radius: 40% 60% 50% 70% / 60% 50% 70% 40%;
    z-index: -1;
    transform: rotate(-2deg);
    opacity: 0.8;
}

.about-photo-frame:hover {
    transform: translate(-4px, -4px);
}

/* Photo Pink Cast Overlay */
.photo-pink-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(237, 153, 184, 0.12), transparent);
    pointer-events: none;
}

/* ================================
   TEXT HIGHLIGHT (Marker Effect with Uneven Edges)
   ================================ */

.text-highlight {
    position: relative;
    display: inline;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--lime) 3%,
        var(--lime) 97%,
        transparent 100%
    );
    background-position: 0 60%;
    background-size: 100% 50%;
    background-repeat: no-repeat;
    padding: 0 8px;
    margin: 0 -4px;
    transform: rotate(-0.5deg);
    display: inline-block;
}

.text-highlight-inline {
    position: relative;
    background: linear-gradient(
        104deg,
        transparent 0%,
        rgba(196, 216, 46, 0.2) 2%,
        var(--lime) 4%,
        var(--lime) 96%,
        rgba(196, 216, 46, 0.2) 98%,
        transparent 100%
    );
    background-position: 0 65%;
    background-size: 100% 45%;
    background-repeat: no-repeat;
    padding: 2px 6px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* ================================
   SECTION TITLES
   ================================ */

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 4.5rem;
    }
}

/* Portfolio Large Outlined Title */
.portfolio-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 3px var(--black);
    text-stroke: 3px var(--black);
}

@media (min-width: 768px) {
    .portfolio-title {
        font-size: 6rem;
        -webkit-text-stroke: 4px var(--black);
        text-stroke: 4px var(--black);
    }
}

/* ================================
   BLOB BUTTONS WITH WOBBLY BORDER
   ================================ */

.blob-button {
    position: relative;
    display: inline-block;
    background: var(--hot-pink);
    color: white;
    padding: 18px 36px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 3px solid var(--black);
    border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 0 var(--black);
}

/* Wobbly scribble underline effect */
.blob-button::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8'%3E%3Cpath d='M0,4 Q10,0 20,4 T40,4 T60,4 T80,4 T100,4' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
    background-size: 50px 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blob-button:hover {
    background: var(--lime);
    color: var(--black);
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--black);
    border-radius: 40% 60% 70% 50% / 60% 40% 50% 60%;
}

.blob-button:hover::after {
    opacity: 1;
}

.blob-button-small {
    display: inline-block;
    background: var(--lime);
    color: var(--black);
    padding: 10px 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--black);
    border-radius: 50% 40% 60% 50% / 40% 60% 50% 50%;
}

/* ================================
   STAR ACCENTS (Larger with Animations)
   ================================ */

.star-accent {
    animation: star-pulse 2s ease-in-out infinite;
}

.star-accent svg {
    width: 20px;
    height: 20px;
}

@keyframes star-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(15deg);
    }
}

.star-float {
    animation: float 3s ease-in-out infinite;
}

.star-float svg {
    width: 20px;
    height: 20px;
}

.star-float-delayed {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Sparkle stars in hero */
.text-lime svg,
.text-hot-pink svg {
    animation: sparkle 2s ease-in-out infinite;
}

.text-lime svg:nth-child(2) {
    animation-delay: 0.3s;
}

.text-lime svg:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.15) rotate(10deg);
        opacity: 0.8;
    }
}

/* ================================
   MARQUEE TICKER
   ================================ */

.marquee-ticker {
    background: var(--hot-pink);
    padding: 20px 0;
    border-top: 4px solid var(--black);
    border-bottom: 4px solid var(--black);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    padding-right: 20px;
}

.star-separator {
    color: white;
    font-weight: bold;
    padding: 0 16px;
    font-size: 1.1em;
}

/* ================================
   ABOUT CARDS
   ================================ */

.about-card {
    background: white;
    padding: 28px;
    border: 3px solid var(--black);
    border-radius: 16px;
    box-shadow: 6px 6px 0 var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--black);
}

/* ================================
   PORTFOLIO CARDS
   ================================ */

.portfolio-card {
    position: relative;
    aspect-ratio: 9 / 16;
    border: 4px solid var(--black);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--hot-pink);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(237, 153, 184, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-item {
    transition: all 0.3s ease;
}

.portfolio-item.hidden {
    display: none;
}

/* ================================
   FILTER BUTTONS
   ================================ */

.filter-btn {
    cursor: pointer;
    background: white;
    color: var(--black);
    border: 3px solid var(--black);
    box-shadow: 4px 4px 0 var(--black);
    transition: all 0.2s ease;
}

.filter-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
}

.filter-btn.active {
    background: var(--lime);
    color: var(--black);
}

/* ================================
   SERVICE CARDS
   ================================ */

.service-card {
    background: white;
    padding: 36px;
    border: 4px solid var(--black);
    border-radius: 20px;
    box-shadow: 8px 8px 0 var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--black);
}

.service-card-featured {
    background: var(--hot-pink);
    padding: 36px;
    border: 4px solid var(--black);
    border-radius: 20px;
    box-shadow: 8px 8px 0 var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    transform: scale(1.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-featured:hover {
    transform: scale(1.05) translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--black);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lime);
    color: var(--black);
    padding: 8px 24px;
    border: 3px solid var(--black);
    border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.service-cta {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    background: var(--lime);
    color: var(--black);
    padding: 16px 28px;
    border: 3px solid var(--black);
    border-radius: 50% 40% 60% 50% / 40% 60% 50% 50%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--black);
    margin-top: auto;
}

.service-cta:hover {
    background: var(--hot-pink);
    color: white;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
}

.service-cta-featured {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    background: var(--lime);
    color: var(--black);
    padding: 16px 28px;
    border: 3px solid var(--black);
    border-radius: 50% 40% 60% 50% / 40% 60% 50% 50%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--black);
    margin-top: auto;
}

.service-cta-featured:hover {
    background: white;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
}

/* ================================
   BRAND LOGO MARQUEE
   ================================ */

.brand-marquee-container {
    position: relative;
    padding: 32px 0;
    overflow: hidden;
}

.brand-marquee {
    display: flex;
}

.brand-marquee-content {
    animation: brand-scroll 30s linear infinite;
}

@keyframes brand-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-logo-card {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background: white;
    border: 3px solid var(--black);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 var(--black);
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.brand-logo-card:hover {
    filter: grayscale(0%);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--hot-pink);
}

/* ================================
   CONTACT FORM
   ================================ */

.contact-form-box {
    background: white;
    padding: 48px;
    border: 4px solid var(--black);
    border-radius: 24px;
    box-shadow: 12px 12px 0 var(--black);
}

@media (max-width: 768px) {
    .contact-form-box {
        padding: 32px 24px;
        box-shadow: 8px 8px 0 var(--black);
    }
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 3px solid var(--black);
    border-radius: 12px;
    background: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--black);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 4px rgba(237, 153, 184, 0.2);
    background: white;
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-submit-btn {
    position: relative;
    width: 100%;
    background: var(--hot-pink);
    color: white;
    padding: 18px 36px;
    border: 3px solid var(--black);
    border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0 var(--black);
}

.form-submit-btn::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 15%;
    width: 70%;
    height: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8'%3E%3Cpath d='M0,4 Q10,0 20,4 T40,4 T60,4 T80,4 T100,4' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
    background-size: 50px 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-submit-btn:hover {
    background: var(--lime);
    color: var(--black);
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--black);
}

.form-submit-btn:hover::after {
    opacity: 1;
}

.form-submit-btn:active {
    transform: translate(0, 0);
    box-shadow: 3px 3px 0 var(--black);
}

/* ================================
   SOCIAL ICONS
   ================================ */

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--lime);
    border: 3px solid var(--black);
    border-radius: 50%;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 var(--black);
}

.social-icon:hover {
    background: white;
    transform: translate(-2px, -2px) rotate(5deg);
    box-shadow: 5px 5px 0 var(--black);
}

/* ================================
   NAVIGATION
   ================================ */

nav {
    background: rgba(245, 240, 230, 0.95);
    backdrop-filter: blur(10px);
}

nav ul a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--hot-pink);
    transition: width 0.3s ease;
}

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

/* ================================
   SCROLL ANIMATIONS
   ================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ================================
   CUSTOM SCROLLBAR
   ================================ */

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--hot-pink);
    border-radius: 7px;
    border: 3px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--black);
}

/* ================================
   SELECTION STYLES
   ================================ */

::selection {
    background-color: var(--lime);
    color: var(--black);
}

::-moz-selection {
    background-color: var(--lime);
    color: var(--black);
}

/* ================================
   ACCESSIBILITY
   ================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--hot-pink);
    outline-offset: 3px;
}

/* ================================
   RESPONSIVE UTILITIES
   ================================ */

@media (max-width: 768px) {
    .hero-photo-frame {
        border-width: 3px;
    }

    .hero-photo-frame::before {
        top: 8px;
        left: 8px;
        right: -12px;
        bottom: -12px;
    }

    .about-photo-frame {
        border-width: 3px;
    }

    .about-photo-frame::before {
        top: 10px;
        left: 10px;
        right: -10px;
        bottom: -10px;
    }

    .service-card,
    .service-card-featured {
        padding: 28px;
    }

    .service-card-featured {
        transform: scale(1);
    }

    .service-card-featured:hover {
        transform: translate(-4px, -4px);
    }

    .brand-logo-card {
        width: 110px;
        height: 110px;
    }

    .marquee-text {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .portfolio-title {
        font-size: 3rem;
        -webkit-text-stroke: 2px var(--black);
        text-stroke: 2px var(--black);
    }
}

/* ================================
   CARD ROTATION EFFECTS
   ================================ */

.card:nth-child(odd) {
    transform: rotate(0.5deg);
}

.card:nth-child(even) {
    transform: rotate(-0.5deg);
}

.card:hover {
    transform: rotate(0deg) translateY(-5px);
}

/* ================================
   LOADING ANIMATIONS
   ================================ */

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* ================================
   UTILITY CLASSES
   ================================ */

.display-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.script-heading {
    font-family: 'Griffiths', cursive;
}

.sans-body {
    font-family: 'DM Sans', sans-serif;
}
