:root {
    --primary-color: #FF3366;
    --secondary-color: #00E5FF;
    --accent-color: #FFB300;
    --text-color: #2A2A2A;
    --background-color: #ffffff;
    --secondary-background: #f8f9fa;
    --gradient-1: linear-gradient(135deg, #FF3366, #FF6B6B);
    --gradient-2: linear-gradient(135deg, #00E5FF, #2979FF);
    --box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

main {
    margin-top: 4rem;
    padding: 2rem;
}

.hero {
    background: var(--gradient-2);
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

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

.portfolio h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 1rem;
}

.campaign-header {
    margin-top: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

.campaign-header h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.campaign-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.portfolio-item video,
.portfolio-item img {
    display: block;
    width: auto;
    height: auto;
    background-color: #f3f4f6;
}

/* Size-specific styles */
.size-1920x1080 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.size-728x90 {
    width: 728px;
}

.size-300x250, .size-320x50, .size-300x50 {
    width: 300px;
}

.size-300x600 {
    width: 300px;
}

.portfolio-item video {
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1240px) {
    .size-1920x1080 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .portfolio-item {
        width: 100% !important; /* Override size-specific widths */
    }

    .portfolio-item img,
    .portfolio-item video {
        width: 100%;
        height: auto;
    }
}

.portfolio-item-metadata {
    padding: 1.25rem;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.portfolio-item-metadata .dimensions {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.portfolio-item-metadata .format {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255, 51, 102, 0.1);
    border-radius: 20px;
}

footer {
    background: var(--secondary-background);
    padding: 3rem;
    margin-top: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .campaign-header h3 {
        font-size: 1.75rem;
    }
    
    .about-container {
        padding: 2rem;
    }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.about-container {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

.about-container h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.about-container h2:first-child {
    margin-top: 0;
}

.about-container p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.about-container ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.about-container li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.contact-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
}

.contact-container {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}

.email-icon {
    font-size: 1.2em;
} 