/* CSS Variables and Base Styles with Improved Typography */
:root {
    --charcoal: rgb(26, 26, 26);
    --cream: rgb(248, 246, 240);
    --maroon: rgb(139, 21, 56);
    --ash: rgb(74, 74, 74);
    --smoky: rgb(92, 107, 192);

    /* Typography System */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* Font Weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    /* Performance optimizations */
    --blur-light: blur(2px);
    --blur-medium: blur(4px);
    --blur-heavy: blur(10px);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.6s ease;
}

/* Enhanced Font Loading */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--weight-normal);
    background-color: var(--charcoal);
    color: var(--cream);
    overflow: hidden;
    height: 100vh;
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
}

h1 {
    font-size: var(--text-5xl);
    font-weight: var(--weight-light);
    letter-spacing: var(--tracking-wider);
}

h2 {
    font-size: var(--text-4xl);
    font-weight: var(--weight-medium);
}

h3 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
}

p {
    font-family: var(--font-primary);
    line-height: var(--leading-relaxed);
}

/* Utility Classes */
.w-100 {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Main Container */
.main-container {
    height: 100vh;
    position: relative;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(74, 74, 74, 0.2);
    z-index: 50;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--maroon), var(--smoky));
    transition: width var(--transition-fast);
    width: 0%;
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
    display: flex;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Section Styles */
.section {
    min-width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    scroll-snap-align: start;
    position: relative;
}

/* ===== SECTION 1: ABSTRACT ===== */
.abstract-section {
    /* background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal) 50%, var(--ash) 100%); */
    overflow: hidden;
}

.abstract-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.abstract-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 80rem;

}

/* Left Title */
.left-title {
    text-align: right;
    margin-top: 2rem;
    text-transform: uppercase;
    margin-right: 10px;
}

.left-title h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: var(--weight-light);
    color: var(--cream);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-wider);
}

/* Center Image */
.center-image {
    max-width: 550px;
    width: 100%;
}

.center-image img {
    width: calc(100% - 140px);
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Right Box */
.right-box {
    padding: 1rem 2rem;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: var(--blur-heavy);
    /* width: clamp(180px, 20vw, 200px); */
    width: clamp(180px, 20vw, 206px);
    position: relative;
    left: clamp(-120px, -10vw, -120px);
    margin-right: 3rem;
}

.right-box .box-title {
    font-family: var(--font-display);
    /* font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: var(--weight-light);
    color: var(--cream); */
    line-height: var(--leading-loose);
    letter-spacing: var(--tracking-widest);
    /* text-align: center; */
    font-weight: 900;
    color: #9d9d9d;
    font-size: 1.1rem;
}

/* ===== SECTION 2: REBELLION (VERTICAL SCROLLING) ===== */
.vertical-scroll-section {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.vertical-container {
    height: 400vh;
    /* 4 slides * 100vh each */
}

.vertical-slide {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
}

/* Rebellion Segment */
.rebellion-segment {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--ash) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.rebellion-segment .image-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.rebellion-segment .main-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.7;
    filter: contrast(1.2) brightness(0.8);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(139, 21, 56, 0.4) 0%, transparent 50%, rgba(74, 74, 74, 0.3) 100%);
    opacity: 0.8;
    mix-blend-mode: multiply;
}

.brush-texture {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(139, 21, 56, 0.3) 50%, transparent 70%);
    filter: var(--blur-light);
    opacity: 0.6;
}

.content-container {
    position: relative;
    z-index: 10;
    padding: 0 3rem 0 6rem;
    max-width: 32rem;
}

.title-section {
    margin-bottom: 3rem;
}

.main-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wider);
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.sub-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-wide);
    color: var(--cream);
}

.description {
    margin-bottom: 4rem;
}

.description p {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--weight-normal);
    line-height: var(--leading-relaxed);
    color: rgba(74, 74, 74, 0.9);
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.featured-section {
    margin-top: 1.5rem;
}

.featured-title {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: rgba(248, 246, 240, 0.7);
    margin-bottom: 0.5rem;
}

.featured-text {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: rgba(139, 21, 56, 0.8);
}

.cta-button {
    position: relative;
    padding: 1rem 3rem;
    border: 1px solid rgba(248, 246, 240, 0.4);
    background: transparent;
    color: rgba(248, 246, 240, 0.9);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-medium);
    backdrop-filter: var(--blur-medium);
}

.cta-button:hover {
    border-color: var(--cream);
    color: var(--cream);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(139, 21, 56, 0.1);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.cta-button:hover::before {
    opacity: 1;
}

/* Behind the Scenes Segment */
.behind-scenes-segment {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--charcoal) 0%, rgba(139, 21, 56, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
}

.content-left {
    max-width: 48rem;
    text-align: center;
}

.behind-scenes-segment h2,
.behind-scenes-segment h3 {
    font-family: var(--font-display);
    color: var(--cream);
}

.behind-scenes-segment h2 {
    font-size: var(--text-5xl);
    font-weight: var(--weight-bold);
    margin-bottom: 2rem;
    letter-spacing: var(--tracking-tight);
}

.behind-scenes-segment h3 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
    margin-bottom: 1rem;
    letter-spacing: var(--tracking-normal);
}

.behind-scenes-segment p {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--weight-normal);
    line-height: var(--leading-relaxed);
    color: rgba(74, 74, 74, 0.8);
    margin-bottom: 3rem;
}

.journey p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* Creative Process Segment (Gallery) */
.creative-process-segment {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(74, 74, 74, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
}

/* Gallery Styles */
.gallery-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(248, 246, 240, 0.2);
    transition: all var(--transition-fast);
    background: rgba(26, 26, 26, 0.5);
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 21, 56, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #000;
    transition: transform var(--transition-fast);
    filter: grayscale(20%) brightness(0.9);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-fast);
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.filter-btn {
    border-color: rgba(248, 246, 240, 0.3) !important;
    color: rgba(248, 246, 240, 0.7) !important;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: rgba(139, 21, 56, 0.8) !important;
    border-color: rgb(139, 21, 56) !important;
    color: white !important;
}

.gallery-item {
    transition: all var(--transition-medium);
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    display: none;
}

/* Featured Work Segment */
.featured-work-segment {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--charcoal) 0%, rgba(139, 21, 56, 0.05) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
}

.featured-work-segment h2,
.featured-work-segment h3 {
    font-family: 'Playfair Display', serif;
    color: var(--cream);
}

.brands img {
    height: 300px;
    object-fit: contain;
}

/* ===== SECTION 3: REFLECTION ===== */
.reflection-segment {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom left, var(--charcoal) 0%, var(--ash) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.reflection-segment .image-container {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24rem;
    height: 100%;
    max-height: 100vh;
}

.reflection-segment .main-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20rem;
    height: 24rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
}

.reflection-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(-1);
    width: 20rem;
    height: 24rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: grayscale(100%) var(--blur-light);
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    margin-top: 24rem;
}

.reflection-segment .content-left {
    max-width: 75%;
    padding: 0 4rem;
}

.reflection-segment h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.reflection-segment p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(74, 74, 74, 0.8);
    margin-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
}

.portfolio-item {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(74, 74, 74, 0.2);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: var(--blur-medium);
    transition: all var(--transition-fast);
}

.portfolio-item:hover {
    border-color: rgba(139, 21, 56, 0.4);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.portfolio-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--cream);
}

.count {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--maroon);
}

.portfolio-item p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(74, 74, 74, 0.7);
    margin: 0;
}

/* ===== SECTION 4: CONTACT (ARTISTIC SHAPES DESIGN) ===== */
.contact-section {
    background: linear-gradient(135deg,
            rgba(26, 26, 26, 0.95) 0%,
            rgba(45, 35, 60, 0.9) 30%,
            rgba(60, 45, 80, 0.85) 60%,
            rgba(26, 26, 26, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(139, 21, 56, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(92, 107, 192, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(139, 21, 56, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.contact-artistic-layout {
    width: 100%;
    max-width: 1200px;
    height: 80vh;
    position: relative;
}

/* Abstract Shapes */
.shape {
    position: absolute;
    border-radius: 50% 30% 70% 40%;
    filter: blur(1px);
    opacity: 0.7;
    animation: float-shape 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.15) 0%, rgba(92, 107, 192, 0.1) 100%);
    top: 10%;
    left: 5%;
    border-radius: 60% 40% 30% 70%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 350px;
    background: linear-gradient(45deg, rgba(74, 74, 74, 0.2) 0%, rgba(139, 21, 56, 0.1) 100%);
    top: 20%;
    right: 10%;
    border-radius: 30% 70% 60% 40%;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 280px;
    background: linear-gradient(225deg, rgba(92, 107, 192, 0.12) 0%, transparent 100%);
    bottom: 15%;
    left: 15%;
    border-radius: 70% 30% 40% 60%;
    animation-delay: 4s;
}

.shape-4 {
    width: 180px;
    height: 240px;
    background: linear-gradient(315deg, rgba(139, 21, 56, 0.08) 0%, rgba(74, 74, 74, 0.15) 100%);
    bottom: 25%;
    right: 20%;
    border-radius: 40% 60% 70% 30%;
    animation-delay: 6s;
}

/* Central Poetry Container */
.poetry-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    text-align: center;
    z-index: 10;
}

.poetry-content {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(248, 246, 240, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.poetry-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(139, 21, 56, 0.05) 0%,
            transparent 30%,
            rgba(92, 107, 192, 0.03) 70%,
            transparent 100%);
    pointer-events: none;
}

.poem-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: var(--weight-semibold);
    color: var(--cream);
    margin-bottom: 0.3rem;
    letter-spacing: var(--tracking-tight);
    position: relative;
    z-index: 2;
}

.poem-subtitle {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    font-weight: var(--weight-light);
    color: var(--ash);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    letter-spacing: var(--tracking-wide);
}

.poem-verse {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: var(--weight-normal);
    line-height: var(--leading-relaxed);
    color: rgba(248, 246, 240, 0.9);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.poem-verse em {
    color: var(--ash);
    font-style: italic;
    font-weight: var(--weight-light);
}

.poem-emphasis {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: var(--weight-bold);
    color: var(--maroon);
    margin: 1.5rem 0;
    position: relative;
    z-index: 2;
    letter-spacing: var(--tracking-wide);
}

.poem-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--maroon), transparent);
    margin: 1.5rem auto;
    position: relative;
    z-index: 2;
}

/* Connect Button */
.connect-button {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--smoky) 100%);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    color: var(--cream);
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.connect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.4);
}

.connect-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 246, 240, 0.2), transparent);
    transition: left 0.6s ease;
}

.connect-button:hover::before {
    left: 100%;
}

.connect-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.connect-arrow {
    transition: transform var(--transition-fast);
    font-size: 1.2rem;
}

.connect-button:hover .connect-arrow {
    transform: translateX(5px);
}

/* Modal Styles */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--charcoal);
    border-radius: 16px;
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform var(--transition-fast);
    border: 1px solid rgba(248, 246, 240, 0.1);
}

.contact-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--ash);
    font-size: 1rem;
}

.modal-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: none;
    border: none;
    color: var(--ash);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--cream);
    background: rgba(248, 246, 240, 0.1);
}

/* Form Styles in Modal */
.modal-form {
    position: relative;
    z-index: 10;
}

.modal-form * {
    pointer-events: auto !important;
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form .form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.modal-form .form-control,
.modal-form .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(248, 246, 240, 0.1);
    border: 1px solid rgba(248, 246, 240, 0.2);
    border-radius: 6px;
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.modal-form .form-control:focus,
.modal-form .form-select:focus {
    outline: none;
    background: rgba(248, 246, 240, 0.15);
    border-color: var(--maroon);
    box-shadow: 0 0 0 2px rgba(139, 21, 56, 0.2);
}

.modal-form .form-control::placeholder {
    color: rgba(248, 246, 240, 0.5);
}

.modal-form .form-textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--maroon), var(--smoky));
    border: none;
    border-radius: 6px;
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

/* Animations */
@keyframes float-shape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-artistic-layout {
        height: 90vh;
    }

    .shape {
        transform: scale(0.7);
    }

    .poetry-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .modal-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .connect-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* ===== NAVIGATION ===== */
.navigation-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-dot {
    position: relative;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    pointer-events: auto;
}

.nav-dot::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(248, 246, 240, 0.4);
    background: transparent;
    transition: all var(--transition-fast);
}

.nav-dot.active::before {
    background: var(--maroon);
    border-color: var(--maroon);
    transform: scale(1.25);
}

.nav-dot:hover::before {
    border-color: var(--cream);
}

.dot-label {
    position: absolute;
    right: 100%;
    margin-right: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    color: rgba(248, 246, 240, 0.6);
    opacity: 0;
    transition: all var(--transition-fast);
}

.nav-dot.active .dot-label {
    color: var(--cream);
    opacity: 1;
}

.nav-dot:hover .dot-label {
    opacity: 1;
}

.progress-line {
    width: 1px;
    height: 6rem;
    background: rgba(74, 74, 74, 0.2);
    margin: 1rem auto 0;
    margin-left: 5px;
}

.progress-fill-vertical {
    width: 100%;
    background: linear-gradient(to bottom, var(--maroon), var(--smoky));
    transition: height var(--transition-fast);
    height: 0%;
}

/* ===== SCROLL HINT ===== */
.scroll-hint-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 26, 26, 0.9);
    color: var(--cream);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 1000;
    backdrop-filter: var(--blur-heavy);
    border: 1px solid rgba(248, 246, 240, 0.2);
    transition: all var(--transition-fast);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.scroll-hint-container:hover {
    background: rgba(139, 21, 56, 0.9);
    border-color: rgba(248, 246, 240, 0.3);
    transform: translateY(-2px);
}

.hint-icon {
    font-size: 16px;
    font-weight: bold;
    color: var(--maroon);
    transition: transform var(--transition-fast);
}

.scroll-hint-container:hover .hint-icon {
    transform: scale(1.1);
}

.hint-text {
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--cream);
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes distortion {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        filter: blur(0px);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        filter: blur(1px);
    }
}

@keyframes bounce-horizontal {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

@keyframes bounce-vertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* ===== RESPONSIVE DESIGN (COMPREHENSIVE) ===== */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .center-image img {
        width: 100%;
    }

    .rebellion-segment .main-image {
        background-position: center center;
    }

    .reflection-segment .content-left {
        max-width: 85%;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .abstract-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 1rem;
    }

    .left-title {
        text-align: center;
        padding-right: 0;
        margin-top: 1rem;
        margin-right: 0;
    }

    .center-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .right-box {
        left: 0;
        margin: 0 auto;
        width: clamp(250px, 60vw, 300px);
    }

    .content-container {
        padding: 0 2rem;
        max-width: 100%;
    }

    .reflection-segment .image-container {
        display: none;
        /* Hide image on tablets for better text readability */
    }

    .reflection-segment .content-left {
        max-width: 100%;
        padding: 0 2rem;
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* Contact Modal adjustments */
    .modal-content {
        margin: 1rem;
        max-width: 90%;
    }

    .poetry-container {
        width: 95%;
        max-width: 500px;
    }

    .shape {
        transform: scale(0.8);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .left-title h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .center-image {
        max-width: 300px;
    }

    .center-image img {
        width: 100%;
    }

    .right-box .box-title {
        font-size: clamp(0.8rem, 3vw, 1rem);
        line-height: 1.8;
    }

    .content-container {
        padding: 0 1rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .sub-title {
        font-size: 1rem;
    }

    .behind-scenes-segment h2 {
        font-size: 2.5rem;
    }

    .behind-scenes-segment h3 {
        font-size: 1.1rem;
    }

    .behind-scenes-segment p {
        font-size: 1rem;
    }

    .journey p {
        font-size: 0.8rem;
    }

    .reflection-segment h2 {
        font-size: 2.5rem;
    }

    .reflection-segment p {
        font-size: 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-item {
        padding: 1rem;
    }

    .navigation-dots {
        right: 1rem;
    }

    .scroll-hint-container {
        bottom: 20px;
        right: 20px;
        font-size: 12px;
        padding: 10px 16px;
        gap: 8px;
    }

    .hint-icon {
        font-size: 14px;
    }

    /* Gallery adjustments */
    .gallery-card img {
        height: 200px;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    /* Contact section mobile */
    .contact-artistic-layout {
        height: 90vh;
    }

    .shape {
        transform: scale(0.6);
    }

    .poetry-content {
        padding: 1.5rem 1rem;
        margin: 1rem;
    }

    .connect-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
        max-height: 95vh;
    }

    .modal-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .abstract-layout {
        padding: 0.5rem;
        gap: 1.5rem;
    }

    .left-title {
        margin-top: 0.5rem;
    }

    .left-title h1 {
        font-size: clamp(1.5rem, 10vw, 2rem);
    }

    .center-image {
        max-width: 250px;
    }

    .right-box {
        width: clamp(200px, 85vw, 250px);
        padding: 0.8rem 1.5rem;
    }

    .right-box .box-title {
        font-size: clamp(0.7rem, 4vw, 0.9rem);
    }

    .content-container {
        padding: 0 0.5rem;
    }

    .main-title {
        font-size: 1.2rem;
    }

    .sub-title {
        font-size: 0.9rem;
    }

    .description p {
        font-size: 0.95rem;
    }

    .behind-scenes-segment {
        padding: 0 2rem;
    }

    .behind-scenes-segment h2 {
        font-size: 2rem;
    }

    .behind-scenes-segment h3 {
        font-size: 1rem;
    }

    .journey p {
        font-size: 0.75rem;
    }

    .reflection-segment {
        padding: 1rem;
    }

    .reflection-segment h2 {
        font-size: 2rem;
    }

    .reflection-segment .content-left {
        padding: 0 1rem;
    }

    .portfolio-item {
        padding: 0.8rem;
    }

    .portfolio-item h3 {
        font-size: 1rem;
    }

    .count {
        font-size: 1.1rem;
    }

    /* Gallery mobile adjustments */
    .gallery-card img {
        height: 180px;
    }

    .creative-process-segment {
        padding: 0 1rem;
    }

    /* Contact mobile */
    .shape {
        transform: scale(0.4);
    }

    .poetry-container {
        width: 98%;
        max-width: none;
    }

    .poetry-content {
        padding: 1rem 0.8rem;
        margin: 0.5rem;
        border-radius: 12px;
    }

    .poem-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }

    .poem-subtitle {
        font-size: clamp(0.8rem, 4vw, 1rem);
    }

    .poem-verse {
        font-size: clamp(0.75rem, 3.5vw, 0.85rem);
    }

    .poem-emphasis {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }

    .connect-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }

    .modal-content {
        padding: 1rem;
        margin: 0.25rem;
        border-radius: 12px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-subtitle {
        font-size: 0.9rem;
    }

    .modal-form .form-label {
        font-size: 0.8rem;
    }

    .modal-form .form-control,
    .modal-form .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .modal-submit {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .left-title h1 {
        font-size: clamp(1.3rem, 12vw, 1.8rem);
    }

    .center-image {
        max-width: 200px;
    }

    .right-box {
        width: 90%;
        padding: 0.6rem 1rem;
    }

    .main-title {
        font-size: 1rem;
    }

    .sub-title {
        font-size: 0.8rem;
    }

    .behind-scenes-segment h2 {
        font-size: 1.5rem;
    }

    .reflection-segment h2 {
        font-size: 1.5rem;
    }

    .portfolio-item {
        padding: 0.6rem;
    }

    .scroll-hint-container {
        padding: 8px 12px;
        font-size: 11px;
    }

    .poetry-content {
        padding: 0.8rem 0.6rem;
    }

    .connect-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* GPU Acceleration for smoother animations */
.gallery-card,
.cta-button,
.nav-dot,
.scroll-hint-container {
    will-change: transform;
}

.gallery-card:hover,
.cta-button:hover,
.scroll-hint-container:hover {
    transform: translate3d(0, -5px, 0);
}