/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #121212;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}


/* Navigation */
nav {
    background: #1f1f1f;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: #fff;
    text-decoration: none;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background: #1f1f1f;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 1rem 0;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 1rem 0;
        text-align: center;
    }
}

/* Home Section */
.home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('g/bgg.jpg') no-repeat center center/cover;
    filter: brightness(0.5);
    /* Darken the background image */
    z-index: -1;
}

.home .container {
    width: 100%;
    color: white;
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
    color: #fff;
}

.home-text {
    max-width: 600px;
    text-align: left;
}

.home-text h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.home-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.home-text .btn {
    background: #ff6f61;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.9s ease;
}

.home-text .btn:hover {
    background: #e65a50;
}

.home-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Home Section */
@media (max-width: 768px) {
    .home-content {
        flex-direction: column;
        text-align: center;
    }

    .home-text {
        text-align: center;
    }

    .home-text h1 {
        font-size: 3rem;
    }

    .home-text p {
        font-size: 1.2rem;
    }

    .home-image img {
        max-width: 300px;
    }
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #1f1f1f;
    color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.about-image {
    flex: 1;
    max-width: 300px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-details {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    opacity: 0.9;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.detail-item i {
    font-size: 1.5rem;
    color: #CDAF7D;
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-item span {
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.7;
}

.detail-item p {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        max-width: 100%;
    }

    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 0;
    background: #1f1f1f;
    color: #fff;
}

.portfolio h1 {
    text-align: center;
    font-weight: bolder;
    font-family: monospace;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on desktop */
    gap: 2rem;
    padding: 0 2rem;
    /* Add some padding for better spacing */
}

.portfolio .container {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio .container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.testimonial {
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
    color: #fff;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        padding: 0 1rem;
        /* Reduce padding for mobile */
    }
}



/* Resume Section */
.resume {
    padding: 4rem 0;
}


/* CSS to make the content inside the <a> tag yellow */
a.jjj {
    color: yellow;
}

.resume-content ul {
    list-style: none;
    padding: 0;
}

.resume-content ul li {
    margin-bottom: 0.5rem;
    color: #fff;
}


/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background: #1f1f1f;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
}

/* Contact Section */
.contact {
    padding: 4rem 0;

}



.contact {
    background-color: #1f1f1f;
    color: #CDAF7D;
    text-align: center;
    padding: 20px 0;
}

.footer-contact {
    margin-top: 10px;
}

.contact-link {
    color: #CDAF7D;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #F4F4F4;
}

.contact-link i {
    margin-right: 5px;
}

/*
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input,
form textarea {
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 5px;
    background: #1f1f1f;
    color: #fff;
}

form button {
    background: #ff6f61;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
footer {
    background: #1f1f1f;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

footer .social-links {
    margin-top: 10px;
}

footer .social-links a {
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #CDAF7D; /* Gold color for hover effect */
}