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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #f6f0e9;
    background: #242933;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(36, 41, 51, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ec4c56, #f67c84);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: #f6f0e9;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ec4c56;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #ec4c56, #f67c84);
    transition: width 0.3s ease;
}

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

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 2rem 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Home Section */
#home {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #242933 0%, #1a1e26 100%);
    color: #f6f0e9;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 2;
    position: relative;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInLeft 1s ease forwards 0.5s;
}

.hero-text {
    align-self: center;
    z-index: 2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInLeft 1s ease forwards 0.7s;
}

.hero-right {
    align-self: center;
    text-align: right;
    z-index: 2;
}

.hero-right h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ec4c56;
    opacity: 0;
    animation: slideInRight 1s ease forwards 0.9s;
}

.hero-image {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    position: relative;
}

.hero-image img {
    width: auto;
    height: 1000px;
    object-fit: cover;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.8) rotateY(15deg);
    animation: imageEntrance 1.5s ease forwards 1.2s;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    border-radius: 20px;
}

/* .hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #ec4c56, #f67c84, #ec4c56);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    animation: glowRing 2s ease forwards 1.5s;
} */

.hero-image:hover img {
    transform: scale(1.05) rotateY(-5deg);
    filter: drop-shadow(0 30px 60px rgba(236, 76, 86, 0.4));
}

/* Animated Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(236, 76, 86, 0.1), rgba(246, 124, 132, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.shape:nth-child(5) {
    width: 140px;
    height: 140px;
    top: 10%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 10s;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(236, 76, 86, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; }
.particle:nth-child(10) { left: 95%; animation-delay: 18s; }

.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbMove 20s ease-in-out infinite;
}

.orb:nth-child(1) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 76, 86, 0.3), transparent);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb:nth-child(2) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(246, 124, 132, 0.2), transparent);
    bottom: -200px;
    right: -200px;
    animation-delay: 10s;
}

.orb:nth-child(3) {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 76, 86, 0.25), transparent);
    top: 50%;
    left: 50%;
    animation-delay: 5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ec4c56;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 15;
}

/* About Section */
#about {
    background: #1a1e26;
}

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

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ec4c56, #f67c84);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(236, 76, 86, 0.3);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #f6f0e9;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c0b8a8;
    margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: #2c333e;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #3a4248;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(236, 76, 86, 0.2);
    border-color: #ec4c56;
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ec4c56, #f67c84);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f6f0e9;
}

.skill-card p {
    color: #c0b8a8;
    line-height: 1.6;
}

/* Services Section */
#services {
    background: #1a1e26;
}

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

.service-card {
    background: #2c333e;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #3a4248;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #ec4c56, #f67c84);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(236, 76, 86, 0.2);
    border-color: #ec4c56;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ec4c56;
}

.service-card p {
    color: white;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ec4c56;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f6f0e9;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #c0b8a8;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #ec4c56;
}

.contact-form {
    background: #2c333e;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #3a4248;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #3a4248;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #1a1e26;
    color: #f6f0e9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ec4c56;
    box-shadow: 0 0 0 3px rgba(236, 76, 86, 0.1);
}

.btn-primary {
    background: linear-gradient(45deg, #ec4c56, #f67c84);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(236, 76, 86, 0.3);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f6f0e9;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #c0b8a8;
    margin-bottom: 3rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #ec4c56, #f67c84);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(236, 76, 86, 0.3);
}

/* New Animations */
@keyframes imageEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateY(15deg) translateY(50px);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95) rotateY(5deg) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg) translateY(0px);
    }
}

@keyframes glowRing {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes orbMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-50px, 100px) scale(0.9);
    }
    75% {
        transform: translate(-100px, -100px) scale(1.05);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        gap: 1.5rem;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text {
        grid-row: 1;
        order: 1;
    }

    .hero-right {
        grid-row: 2;
        order: 2;
        text-align: center;
    }

    .hero-image {
        grid-row: 3;
        order: 3;
        grid-column: 1;
        align-items: center;
        padding-bottom: 20px;
        z-index: 10;
    }

    .hero-image img {
        height: 700px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-right h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 80px 1rem 30px;
    }

    .about-image {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }

    .orb:nth-child(1),
    .orb:nth-child(2),
    .orb:nth-child(3) {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-right h2 {
        font-size: 1.5rem;
    }

    .orb:nth-child(1),
    .orb:nth-child(2),
    .orb:nth-child(3) {
        width: 150px;
        height: 150px;
    }

    .hero-image {
        z-index: 10;
    }
}



/* Footer */
.footer {
    background: #1a1e26;
    color: #c0b8a8;
    padding: 2rem 1rem;
    margin-top: 50px;
    border-top: 1px solid #3a4248;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
    color: #aaa;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    color: #ec4c56;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    font-size: 1.3rem;
    color: #bbb;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: #ec4c56;
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 600px) {
    .footer-links {
        gap: 0.8rem;
        font-size: 0.85rem;
    }
    .social-icons a {
        font-size: 1.1rem;
    }
}
