/* ============================================
   FRIZERSKI STUDIO MILENA
   Design: Editorial Exaggerated Minimalism
   Colors: #EC4899 (Pink) on #1A1A1A (Dark)
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background: #1A1A1A;
    color: #E5E5E5;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grain Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 1;
    mix-blend-mode: overlay;
}

section {
    position: relative;
    z-index: 2;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.accent {
    color: #EC4899;
}

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

.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
}

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

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-accent {
    color: #EC4899;
}

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

.nav-link {
    text-decoration: none;
    color: #E5E5E5;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #EC4899;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #EC4899;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #EC4899;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Syne', sans-serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #B0B0B0;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #EC4899;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #EC4899;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(236, 72, 153, 0.5);
    background: transparent;
    color: #EC4899;
}

.hero-accent-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

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

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

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #B0B0B0;
    font-weight: 300;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card {
    padding: 2.5rem;
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.service-card:hover {
    border-color: #EC4899;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #E5E5E5;
}

.service-card p {
    color: #B0B0B0;
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 300px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 2rem;
    position: relative;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-label {
    background: rgba(236, 72, 153, 0.9);
    color: #1A1A1A;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Syne', sans-serif;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 6rem 2rem;
    background: rgba(236, 72, 153, 0.03);
    margin-top: 4rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    z-index: 3;
}

.about-text {
    font-size: 1.1rem;
    color: #B0B0B0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.about-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid #EC4899;
    color: #EC4899;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-circle {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    padding: 2.5rem;
    background: rgba(236, 72, 153, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #EC4899;
    transform: translateY(-5px);
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #EC4899;
}

.contact-card a {
    color: #E5E5E5;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #EC4899;
}

.contact-note {
    color: #808080;
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background: rgba(236, 72, 153, 0.1);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-button-large {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #EC4899;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #EC4899;
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.4);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 70px rgba(236, 72, 153, 0.6);
    background: transparent;
    color: #EC4899;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(236, 72, 153, 0.1);
    padding: 2rem;
    text-align: center;
    color: #808080;
    font-size: 0.95rem;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
}

/* ============================================
   CURSOR GLOW EFFECT
   ============================================ */

.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, rgba(236, 72, 153, 0) 70%);
    pointer-events: none;
    z-index: 999;
    mix-blend-mode: screen;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
    display: none;
}

body:not(.mobile-view) .cursor-glow {
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu:not(.active) {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.99);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(236, 72, 153, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        height: 300px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .portfolio-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

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

    .about-badges {
        flex-direction: column;
    }

    .badge {
        width: 100%;
        text-align: center;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .cta-button, .cta-button-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card {
    animation: slideInFromLeft 0.6s ease-out both;
}

.service-card:nth-child(odd) {
    animation-name: slideInFromRight;
}

/* Smooth scroll behavior for sections */
section {
    scroll-margin-top: 80px;
}

/* Loading state */
body.loading {
    pointer-events: none;
    opacity: 0.8;
}
