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

body {
    background-color: #1a1a1a;
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}


/* =================================
   SECTION 1 STYLES (from styles.css)
   ================================= */


.section-1 {
    height: 100vh;
    overflow: hidden;
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

.container-s1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.content-s1 {
    text-align: center;
    position: relative;
}

.header-s1 {
    margin-bottom: -20px;
    position: relative;
    z-index: 2;
}

/* Light theme for plugin-text */
.plugin-text {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    font-weight: 400;
    color: #1f1f1f;
    transform: rotate(-5deg);
    margin-left: 200px;
    margin-bottom: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #f5f5f5cc;
}

[data-theme="dark"] .plugin-text {
    color: #fff;
    text-shadow: 0 2px 8px #222a;
}

.main-text {
    position: relative;
    z-index: 1;
}

.davv-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(45deg, 
        #ff6b9d 0%,
        #ff6b9d 15%,
        #4ecdc4 15%,
        #4ecdc4 30%,
        #45b7d1 30%,
        #45b7d1 45%,
        #96ceb4 45%,
        #96ceb4 60%,
        #ffeaa7 60%,
        #ffeaa7 75%,
        #fd79a8 75%,
        #fd79a8 90%,
        #fdcb6e 90%,
        #fdcb6e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: lowercase;
    transition: all 0.3s ease;
    cursor: default;
}

.davv-text:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.3));
}

/* Light theme for description */
.description {
    margin-top: 30px;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 300;
    color: #444;
    background: #fffbe7;
    border-radius: 10px;
    padding: 12px 24px;
    box-shadow: 0 2px 12px #f5f5f5cc;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
}

[data-theme="dark"] .description {
    color: #e0e0e0;
    background: none;
    box-shadow: none;
}

.davv-team {
    color: #ff6b9d;
    font-weight: 500;
    font-style: italic;
}

.of-designs {
    color: #ffeaa7;
    font-weight: 500;
    font-style: italic;
}


/* ==================================
   SECTION 2 STYLES (from styles1.css)
   ================================== */

.section-2 {
    position: relative;
}

:root {
    --bg-color: #f5f5f5;
    --text-color: #1f1f1f;
    --header-bg: rgba(245, 245, 245, 0.95);
    --card1-gradient: linear-gradient(135deg, #8B5FBF 0%, #6A4C93 100%);
    --card2-gradient: linear-gradient(135deg, #E8D5B0 0%, #D4C4A0 100%);
    --card3-gradient: linear-gradient(135deg, #FF9AA2 0%, #FFB3BA 100%);
    --card4-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --footer-text: #666;
}
[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #f5f5f5;
    --header-bg: rgba(26, 26, 26, 0.95);
    --card1-gradient: linear-gradient(135deg, #9B6FCF 0%, #7A5CA3 100%);
    --card2-gradient: linear-gradient(135deg, #C8B590 0%, #B4A480 100%);
    --card3-gradient: linear-gradient(135deg, #DF7A82 0%, #DF939A 100%);
    --card4-gradient: linear-gradient(135deg, #DFB700 0%, #DF8500 100%);
    --footer-text: #999;
}

.section-2 {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    cursor: none !important;
}

.container-s2 { max-width: 1300px; margin: 20px auto; padding: 0 20px; }

/* Header */
.header-s2 {
    position: fixed; top: 0; /* Position it after the first section */
    left: 0; right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
}
.header-s2 .container-s2 {
    display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 18px; }
.logo-dot {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, 
        #ff6b9d 0%,
        #ff6b9d 15%,
        #4ecdc4 15%,
        #4ecdc4 30%,
        #45b7d1 30%,
        #45b7d1 45%,
        #96ceb4 45%,
        #96ceb4 60%,
        #ffeaa7 60%,
        #ffeaa7 75%,
        #fd79a8 75%,
        #fd79a8 90%,
        #fdcb6e 90%,
        #fdcb6e 100%
    );
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 12px 0 rgba(255,107,157,0.12);
}
/* .logo-dot:hover { transform: scale(1.1); } */
.logo-text { font-size: 22px; font-weight: 500; color: var(--text-color); }
.nav-toggle {
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; gap: 4px; padding: 8px;
}
.nav-toggle span {
    width: 25px; height: 2px; background: var(--text-color); transition: all 0.3s;
}
/* .nav-toggle:hover span { background: #666; } */

/* Main & Hero */
.main { padding-top: 20px; min-height: 100vh; display: flex; align-items: center; }
.hero { text-align: center; width: 100%; }
.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.3rem);
    font-weight: 800; color: var(--text-color);
    margin-bottom: 80px; line-height: 1.2;
}
.title-highlight { color: var(--text-color); position: relative; }

/* Cards */
.cards-container {
    display: flex; justify-content: center; align-items: center;
    gap: 0; flex-wrap: wrap; margin-bottom: 60px; perspective: 1000px;
}
.card {
    width: 250px; height: 250px; border-radius: 24px; position: relative;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}
.card:hover { transform: translateY(-15px) rotateX(5deg); }
.card-content {
    width: 100%; height: 100%; border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.card-1 { background: var(--card1-gradient); transform: rotate(-8deg); rotate: 5deg; }
.card-2 { background: var(--card2-gradient); transform: rotate(5deg); rotate: -10deg; margin-left: -80px; margin-top: -80px; z-index: 2; }
.card-3 { background: var(--card3-gradient); transform: rotate(-3deg); rotate: -4deg; margin-left: -30px; z-index: 3; }
.card-4 { background: var(--card4-gradient); transform: rotate(7deg); rotate: 10deg; z-index: 4; margin-left: -20px; }
.cards-container .card img {
  width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 18px;
}

/* Selected Works & Footer */
/* Light theme for Selected Work heading */
.hero-title {
    color: #1f1f1f;
    background: linear-gradient(90deg, #ff6b9d 0%, #ffeaa7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* text-fill-color: transparent; */
    letter-spacing: 1px;
    margin-bottom: 80px;
    font-weight: 800;
    transition: color 0.3s;
}
[data-theme="dark"] .hero-title {
    color: var(--text-color);
    background: none;
    -webkit-text-fill-color: unset;
    /* text-fill-color: unset; */
}
.selected-works { text-align: center; margin-top: 40px; }
.selected-works span {
    font-size: 14px; font-weight: 400; color: var(--footer-text); letter-spacing: 1px;
}
.footer {
    position: fixed; bottom: 0; right: 0; padding: 20px 40px; z-index: 100;
}
.footer-content span { font-size: 12px; color: var(--footer-text); font-weight: 400; }

/* Nav Overlay */

/* Social Links */
.socail-fixed {
  position: fixed; left: 70px; bottom: 32px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-start;
}
.socail-fixed .icon-container {
  display: flex; gap: 10px; background: rgba(255,255,255,0.85); border-radius: 12px; padding: 6px 10px; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.socail-fixed .icon {
  color: #222; font-size: 1.1rem; transition: color 0.2s, transform 0.2s; text-decoration: none; display: flex; align-items: center; justify-content: center;
}
.socail-fixed .icon:hover { color: #0077b5; transform: translateY(-3px) scale(1.1); }

/* Custom Cursor */
.cursor { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; }
.cursor-dot {
    position: absolute; width: 10px; height: 10px; background: #1f1f1f; border-radius: 50%;
    transform: translate(-50%, -50%); transition: background 0.2s, transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px 2px rgba(31,31,31,0.15); will-change: transform;
    animation: cursorPulse 1.6s infinite cubic-bezier(0.66,0,0,1);
}
.cursor-outline {
    position: absolute; width: 40px; height: 40px; border: 2px solid #1f1f1f; border-radius: 50%;
    transform: translate(-50%, -50%); transition: border-color 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
    box-shadow: 0 0 24px 4px rgba(31,31,31,0.08); will-change: transform; opacity: 0.5;
}
.cursor-dot.active {
    background: #FFD700; transform: translate(-50%, -50%) scale(1.5); box-shadow: 0 0 16px 4px #FFD70099;
}
.cursor-outline.active {
    border-color: #FFD700; box-shadow: 0 0 40px 8px #FFD70055; transform: translate(-50%, -50%) scale(1.2); opacity: 0.8;
}
[data-theme="dark"] .cursor-dot {
    background: #FFD700; box-shadow: 0 0 12px 4px #FFD70055; animation: cursorPulseDark 1.6s infinite cubic-bezier(0.66,0,0,1);
}
[data-theme="dark"] .cursor-outline {
    border-color: #FFD700; box-shadow: 0 0 32px 8px #FFD70033;
}
[data-theme="dark"] .cursor-dot.active {
    background: #fff; box-shadow: 0 0 24px 8px #fff7b2cc;
}
[data-theme="dark"] .cursor-outline.active {
    border-color: #fff; box-shadow: 0 0 60px 16px #fff7b299;
}
.cursor-dot, .cursor-outline {
    transition: background 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cursorPulse {
    0%, 100% { box-shadow: 0 0 8px 2px rgba(31,31,31,0.15); }
    50% { box-shadow: 0 0 18px 6px #FFD70055; }
}
@keyframes cursorPulseDark {
    0%, 100% { box-shadow: 0 0 12px 4px #FFD70055; }
    50% { box-shadow: 0 0 28px 10px #fff7b299; }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .plugin-text {
        font-size: 2rem;
        margin-left: 100px;
    }
    .davv-text {
        font-size: 8rem;
    }
    .description {
        font-size: 1rem;
        padding: 0 20px;
    }
    .description br {
        display: none;
    }
    .cards-container { gap: 15px; }
    .card { width: 150px; height: 150px; }
    .hero-title { margin-bottom: 60px; }
    .main { padding-top: 100px; }
}

@media (max-width: 900px) {
    .nav-overlay-right { padding: 40px 20px; }
    .nav-overlay-intro h1 { font-size: 2rem; }
    .nav-overlay-intro p { font-size: 1rem; }
    .cursor, .cursor-dot, .cursor-outline { display: none !important; }
}

@media (max-width: 700px) {
    .nav-overlay { flex-direction: column; }
    .nav-overlay-left, .nav-overlay-right { flex: none; width: 100vw; min-height: 50vh; }
    .nav-overlay-right { align-items: flex-start; justify-content: flex-start; padding: 32px 16px 16px 16px; }
}
@media (max-width: 600px) {
  .socail-fixed { left: 32px; bottom: 12px; }
  .socail-fixed .icon-container { padding: 4px 6px; gap: 7px; border-radius: 8px; }
  .socail-fixed .icon { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .plugin-text {
        font-size: 1.5rem;
        margin-left: 50px;
    }
    .davv-text {
        font-size: 5rem;
    }
    .description {
        font-size: 0.9rem;
    }
    .cards-container { flex-direction: column; gap: 20px; }
    .card { width: 180px; height: 180px; transform: none !important; }
    .card:hover { transform: translateY(-10px) !important; }
    .hero-title { font-size: 2rem; margin-bottom: 40px; }
}
