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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #fff; /* White text for contrast on black */
    background: #000; /* Black background */
}

/* Animation for sliding down from top */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Apply animation to sections */
section {
    opacity: 0; /* Start hidden */
    transform: translateY(-100%); /* Start off-screen */
    transition: all 0.8s ease-out; /* Smooth transition */
}

/* Class to trigger animation when section is in view */
.section-visible {
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.8s ease-out forwards;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 20px 0;
}

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

.logo h1 a {
    color: #c9a347; /* Gold logo */
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #c9a347; /* Gold on hover */
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #c9a347; /* Gold hamburger */
    margin: 2px 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../image/Guit1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darker overlay for contrast */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    color: #c9a347; /* Gold title */
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #c9a347; /* Gold button */
    color: #000; /* Black text for contrast */
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #a3822f; /* Darker gold on hover */
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: #000; /* Black background */
    text-align: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(201, 163, 71, 0.2); /* Gold-tinted shadow */
}

.about-text {
    flex: 1;
    text-align: left;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #c9a347; /* Gold heading */
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    color: #ccc; /* Light gray for readability */
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 20px;
    background: #000; /* Black background */
    text-align: center;
}

.portfolio h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #c9a347; /* Gold heading */
    margin-bottom: 50px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-link {
    text-decoration: none;
    position: relative;
    transition: transform 0.4s ease;
}

.gallery-link:hover {
    transform: translateY(-10px);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(201, 163, 71, 0.2); /* Gold-tinted shadow */
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-link:hover .gallery-item img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-link:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #c9a347; /* Gold title */
}

.overlay p {
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: #000; /* Black background */
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #c9a347; /* Gold heading */
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    color: #ccc; /* Light gray for readability */
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #333; /* Darker border */
    border-radius: 8px;
    font-size: 1rem;
    background: #1a1a1a; /* Dark input background */
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #c9a347; /* Gold border on focus */
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 12px 35px;
    background: #c9a347; /* Gold button */
    color: #000; /* Black text */
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background: #a3822f; /* Darker gold on hover */
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: #000; /* Black background */
    color: #fff;
    text-align: center;
    border-top: 1px solid #333; /* Subtle separator */
}

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

.social-links a {
    color: #c9a347; /* Gold links */
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

.footer p {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc; /* Light gray */
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .gallery-item img {
        height: 300px;
    }
}      






/* Smooth scrolling behavior for the entire page */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for gallery items */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    opacity: 0; /* Start hidden */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.gallery-item.fade-in {
    opacity: 1;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Ensure hero section supports parallax */
.hero {
    background-attachment: fixed; /* Enables parallax effect */
    background-position: center top; /* Initial position */
}



footer a {

    color: #c9a347;
}