

@import url('https://fonts.googleapis.com/css2?family=Acme&family=Passion+One:wght@400;700;900&family=Permanent+Marker&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Acme, sans-serif;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.9);
}


/* header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  
}  */
  

/* nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
} */


/* Navigation */

.logo a{
    font-size: 1.7rem;
    text-decoration: none;
    color: #111;
    transition: color 0.4s ease-in-out;
    text-align: center;
}



nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.9);


   
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
    padding: 1rem;

}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    text-align: center;
   
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.menu-toggle {
    display: none;
    /* position: absolute; */
    right: 1rem;
    top: 2rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: #333;
}

/* Sections */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/photographer-taking-photo-with-camera.jpg');
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s;
}




.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.category-btn {
    padding: 10px 20px;
    border: none;
    background: #f0f0f0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.category-btn.active {
    background: #333;
    color: white;
}

.gallery-item {
    display: none; /* Hide all items by default */
    animation: fadeIn 0.5s ease-in;
}

.gallery-item.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f6f6f6 0%, #ffffff 100%);
    padding: 80px 20px;
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonials h2{
color: #111;    
text-align: center;
margin-bottom: 40px;
font-size: 2.5rem;
}

.testimonial-card {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.7)), url(images/retro-camera\ 2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px;
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #f0f0f0;
}

.client-quote {
    font-style: italic;
    color: #fff;
    margin: 20px 0;
    line-height: 1.8;
}

.client-name {
    font-weight: bold;
    color: #777;
    margin-bottom: 5px;
}

.client-role {
    color: #999;
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
}

.testimonial-nav button.active {
    background: #333;
}

/* Blog Section */
.blog {
    padding: 80px 20px;
    background-attachment: fixed;
}

.section-title {
    color: #9a9a;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: #888;
    font-size: 0.9rem;
}

.blog-title {
    margin: 10px 0;
    font-size: 1.2rem;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}








/* Portfolio Section */




.portfolio {
    padding: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem;

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/still-life-shot-dslr-camera-lens.jpg');
    background-position: center;
    background-attachment: fixed;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}


.gallery-item img:hover {
    transform: scale(1.1);
    transition: 0.4s;
    opacity: 0.8;
}



/* Preview Modal */
.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: hidden;
}

.preview-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-img {
    max-height: 80vh;
    max-width: 90vw;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.preview-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
}

/* Controls */
.close-btn, .nav-btn, .zoom-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    padding: 1rem;
    position: absolute;
   
   
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.zoom-btn{
   padding: 1rem;
   margin-right:-4rem;
}


.close-btn:hover, .nav-btn:hover, .zoom-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.close-btn {
    top: 20px;
    right: 20px;
}

.nav-btn {
    top: 50%;
    transform: translateY(-50%);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.zoom-controls {
    position: absolute;
    top:60px;
    right: 150px;
    display: flex;
    gap:1rem;
    font-size: 2rem;
}


#zoomOutBtn{
    margin-left:-4rem;
}


/* Touch area for swipe */
.touch-area {
    position: absolute;
    width: 100%;
    height: 100%;
    touch-action: none;
}









/* About Section */
.about {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0.5)), url('images/man-taking-photos-indoors.jpg');
    /* background-position:center; */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
   
}

.about h2{
    color: #9a9a;
}


.about p{
    color: #fff;
}

.profile-image {
    width: 100%;
    border-radius: 5%;
    margin-bottom: 30px;
}

/* Services Section */

#services{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/smiley-photographer-working.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#services h2{
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
 
}

.service-card:hover{
    transform: scale(1.1);
    transition: 0.3s;
}

.services-grid a{
    text-decoration: none;
    color: #111;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}



/* Brands I've worked with section */

.experience{
    padding: 0;
    margin: 5rem 0;
    text-align: center;
}

.experience h1{
    color: #fff;
    padding: 2rem;
    font-size: 100px;
}

.logos{
    overflow: hidden;
padding: 3rem 0;
background: #fff;
position: relative;
white-space: nowrap;
}

.logos:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 2500px;
    height: 100%;
    content: "";
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    z-index: 2;
}


.logos:hover .logos-slide{
    animation-play-state: paused;
}

.logos-slide{
    display: inline-block;
    animation: 28s slide infinite linear;
}

.logos-slide img{
   max-height:110px;
    margin: 0 40px;
    /* width: 20%; */
}



@keyframes slide {
    from{
        transform: translateX(0);
    }

    to{
transform: translatex(-100%);
    }
}




/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.submit-button {
    background: #333;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer a{
    color: orange;
    text-decoration: none;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        flex-direction: column;
        background: white;
        padding: 80px 20px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}


















@media (max-width: 768px) {
    .nav-btn {
        padding: 0.8rem;
    }
    
    .preview-caption {
        font-size: 14px;
        padding: 0.5rem;
    }
}












