:root {
    --primary: #ffffff;
    --accent: #fbbf24; /* Warm Amber */
    --secondary: #ec4899; /* Vibrant Pink */
    --bg: #1e3a8a; /* Deep Blue */
    --text: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
}

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

body {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor */
.custom-cursor {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, background-color 0.3s;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* Navigation */
header {
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(30, 58, 138, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.logo span {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--accent);
    display: block;
    font-size: 5.5rem;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--accent);
    color: #1e3a8a;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.4s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.4);
    background: #fff;
}

/* Projects */
.projects {
    padding: 120px 5%;
    background: rgba(255, 255, 255, 0.03);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 70px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 900;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.project-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: all 0.8s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    padding: 30px;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.95), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s;
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-info h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Contact */
.contact {
    padding: 120px 5%;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 60px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--accent);
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

footer {
    padding: 60px 5%;
    text-align: center;
    background: rgba(0,0,0,0.2);
    color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero h1 span { font-size: 3.5rem; }
    nav ul { display: none; }
    * { cursor: auto !important; }
    .custom-cursor, .cursor-dot { display: none; }
    .project-grid { grid-template-columns: 1fr; }
}
