/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #894a06;
    --secondary-black: #1a1a1a;
    --accent-gold: #f12a70;        /* Main accent - pink */
    --light-gold: #9ACD32;         /* Secondary accent - yellow-green */
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    background-color: var(--secondary-black);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(233, 106, 151, 0.15);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover {
    color: var(--accent-gold);
    background-color: rgba(233, 106, 151, 0.15);
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Hero Section with Image */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    text-align: left;
    padding: 2.8rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid var(--accent-gold);
}

.hero-content {
    flex: 1;
    max-width: 65%;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 0.7rem;
    color: var(--accent-gold);
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--light-gold);
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 580px;
    line-height: 1.7;
}

.hero-image {
    flex-shrink: 0;
    margin-left: auto;
}

.hero-image img {
    width: 180px;
    height: 280px;                 /* Fixed to square */
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(233, 106, 151, 0.4);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.06);
    box-shadow: 0 0 28px rgba(233, 106, 151, 0.6);
}

/* Journey Image */
.journey-image {
    text-align: center;
    margin: 1.5rem 0 2rem 0;
}

.journey-image img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 18px rgba(233, 106, 151, 0.4);
    transition: var(--transition);
}

.journey-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(233, 106, 151, 0.55);
}

/* Section Styles */
section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--secondary-black);
    border-radius: 10px;
    border: 1px solid rgba(233, 106, 151, 0.25);
}

section h2 {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background-color: var(--primary-black);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--accent-gold);
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(233, 106, 151, 0.35);
}

.skill-item h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-bar {
    background-color: var(--secondary-black);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--light-gold));
    border-radius: 5px;
}

/* Hobbies Section */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.hobby-item {
    background-color: var(--primary-black);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--accent-gold);
    transition: var(--transition);
}

.hobby-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(233, 106, 151, 0.35);
}

.hobby-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.hobby-item h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--primary-black);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--accent-gold);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(233, 106, 151, 0.4);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent-gold);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
    color: var(--primary-black);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(233, 106, 151, 0.5);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--primary-black);
    border-radius: 8px;
    border: 1px solid var(--accent-gold);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.contact-item a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: 1rem;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
    background-color: var(--secondary-black);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--accent-gold);
    margin-top: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.8rem;
    transition: var(--transition);
    padding: 0.75rem;
    border-radius: 50%;
    background-color: var(--primary-black);
    border: 1px solid var(--accent-gold);
}

.social-links a:hover {
    color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(233, 106, 151, 0.5);
}

footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.8rem;
        padding: 2.2rem 1.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-image {
        margin-left: 0;
    }

    .hero-image img {
        width: 150px;
        height: 150px;
    }

    .journey-image img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Community Text - Center aligned */
.community-text {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 2.5rem auto;
}

.community-text p {
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Community Collage */
.community-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(233, 106, 151, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.collage-img:hover {
    transform: scale(1.07);
    box-shadow: 0 15px 35px rgba(233, 106, 151, 0.55);
    border-color: var(--light-gold);
    z-index: 10;
}

/* Collage layout */
.img1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    height: 260px;
}

.img2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    height: 260px;
}

.img3 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    height: 260px;
}

.img4 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    height: 220px;
}

.img5 {
    grid-column: 2 / 5;
    grid-row: 2 / 3;
    height: 520px;
}

/* Responsive */
@media (max-width: 900px) {
    .community-collage {
        grid-template-columns: 1fr 1fr;
    }

    .img1, .img2, .img3, .img4, .img5 {
        grid-column: auto;
        grid-row: auto;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .community-collage {
        grid-template-columns: 1fr;
    }

    .img1, .img2, .img3, .img4, .img5 {
        height: 220px;
    }
}

/* Project 1 image slider */
.project-slider {
    position: relative;
    width: 100%;
    height: 200px;          /* match your previous image height */
    overflow: hidden;
    border-radius: 8px 8px 0 0; /* adjust to your card style */
}

.project-slider .slides {
    display: flex;
    width: 400%;            /* 4 images */
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.project-slider .slides img {
    width: 25%;             /* each image takes 1/4 of the track */
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: #d4af37;    /* your gold accent */
}