/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Radish Color Palette */
    --radish-red: #fb4e40;
    --radish-green: #397e58;
    --radish-black: #2c3e50;
    --radish-white: #ffffff;
    --radish-light-gray: #f8f9fa;
    --radish-dark-gray: #6c757d;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--radish-black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: var(--radish-red);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

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

.nav-link {
    color: var(--radish-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--radish-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--radish-red);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--radish-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--radish-black) 0%, #34495e 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e74c3c" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--radish-white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.highlight {
    color: var(--radish-red);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--radish-green);
    animation: expandWidth 1s ease 1.2s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
    color: #bdc3c7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--radish-red);
    color: var(--radish-white);
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--radish-white);
    border: 2px solid var(--radish-white);
}

.btn-secondary:hover {
    background: var(--radish-white);
    color: var(--radish-black);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease 1.4s forwards;
}

.radish-image-container {
    position: relative;
    width: 390px;
    height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radish-image {
    width: 390px;
    height: 390px;
    object-fit: contain;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(251, 78, 64, 0.3));
    transition: transform 0.3s ease;
}

.radish-image:hover {
    transform: scale(1.1);
}

.radish-placeholder {
    display: none;
    width: 390px;
    height: 390px;
    align-items: center;
    justify-content: center;
}

.placeholder-radish {
    position: relative;
    width: 260px;
    height: 260px;
    animation: bounce 2s ease-in-out infinite;
}

.placeholder-body {
    width: 156px;
    height: 208px;
    background: var(--radish-red);
    border-radius: 78px 78px 39px 39px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--radish-white);
    font-size: 5.2rem;
    font-weight: 800;
    font-family: var(--font-primary);
    box-shadow: 0 10px 20px rgba(251, 78, 64, 0.3);
}

.placeholder-leaves {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 78px solid transparent;
    border-right: 78px solid transparent;
    border-bottom: 117px solid var(--radish-green);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--radish-white);
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--radish-white);
    border-bottom: 2px solid var(--radish-white);
    transform: rotate(45deg);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--radish-light-gray);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--radish-black);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--radish-red);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--radish-dark-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--radish-red);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--radish-dark-gray);
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--radish-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--radish-dark-gray);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--radish-red), var(--radish-green));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.creative-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.element {
    position: absolute;
    background: var(--radish-white);
    border-radius: 50%;
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}


/* Work Section */
.work {
    padding: var(--section-padding);
    background: var(--radish-white);
}

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

.work-item {
    background: var(--radish-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.work-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--radish-red), var(--radish-green));
    position: relative;
    transition: transform 0.3s ease;
}

.work-item:hover .project-preview {
    transform: scale(1.05);
}

.project-1 { background: linear-gradient(45deg, #e74c3c, #f39c12); }
.project-2 { background: linear-gradient(45deg, #27ae60, #2ecc71); }
.project-3 { background: linear-gradient(45deg, #9b59b6, #e74c3c); }
.project-4 { background: linear-gradient(45deg, #3498db, #27ae60); }

.work-content {
    padding: 1.5rem;
}

.work-content h3 {
    font-size: 1.5rem;
    color: var(--radish-black);
    margin-bottom: 1rem;
}

.work-content p {
    color: var(--radish-dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.work-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--radish-light-gray);
    color: var(--radish-red);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--radish-black);
    color: var(--radish-white);
}

.contact .section-title {
    color: var(--radish-white);
}

.contact .section-subtitle {
    color: #bdc3c7;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--radish-red);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #bdc3c7;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h4 {
    color: var(--radish-green);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--radish-white);
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--radish-white);
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--radish-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bdc3c7;
}

/* Footer */
.footer {
    background: var(--radish-black);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: var(--radish-red);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--radish-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--radish-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    to {
        transform: scaleX(1);
    }
}

@keyframes growLeaves {
    to {
        width: 80px;
        height: 60px;
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--radish-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 2rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .radish-image-container {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .radish-image {
        width: 250px;
        height: 250px;
    }
    
    .radish-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .placeholder-radish {
        width: 170px;
        height: 170px;
    }
    
    .placeholder-body {
        width: 102px;
        height: 136px;
        border-radius: 51px 51px 25px 25px;
        font-size: 3.4rem;
    }
    
    .placeholder-leaves {
        border-left: 51px solid transparent;
        border-right: 51px solid transparent;
        border-bottom: 76px solid var(--radish-green);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        gap: 2rem;
        padding: 1rem 2rem;
    }
    
    .radish-image-container {
        width: 200px;
        height: 200px;
    }
    
    .radish-image {
        width: 200px;
        height: 200px;
    }
    
    .radish-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .placeholder-radish {
        width: 140px;
        height: 140px;
    }
    
    .placeholder-body {
        width: 84px;
        height: 112px;
        border-radius: 42px 42px 21px 21px;
        font-size: 2.8rem;
    }
    
    .placeholder-leaves {
        border-left: 42px solid transparent;
        border-right: 42px solid transparent;
        border-bottom: 63px solid var(--radish-green);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}
