/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #ffffff;
    font-weight: 600;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4c4a0;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),url('image/Bg.jpg') center/cover;
                /* url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop') center/cover; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 0;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0,0,0,0.7);
}

.highlight {
    color: #d4c4a0;
    text-shadow: 0 0 20px rgba(212, 196, 160, 0.5);
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #d4c4a0;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #d4c4a0;
    color: #0a0a0a;
    border-color: #d4c4a0;
    box-shadow: 0 4px 15px rgba(212, 196, 160, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    background: transparent;
    border-color: #d4c4a0;
    color: #d4c4a0;
    box-shadow: 0 4px 15px rgba(212, 196, 160, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Gallery Section */
.featured-gallery {
    padding: 100px 0;
    background: #0a0a0a;
    margin-top: 60px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.featured-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 300px;
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-item:hover .featured-img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 25px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

.featured-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
}

.featured-overlay p {
    color: #d4c4a0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.view-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-view-more {
    font-size: 1.1rem;
    padding: 18px 40px;
    margin-bottom: 15px;
    display: inline-block;
}

.photo-count {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #111111;
    margin-top: 0;
}

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

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
    color: #c0c0c0;
}

/* About contact links */
.about-contact a {
    color: #d4c4a0;
    text-decoration: underline;
    font-weight: 500;
}

.about-contact a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #d4c4a0;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.skill-item i {
    font-size: 2.5rem;
    color: #d4c4a0;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(212, 196, 160, 0.5);
}

.skill-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.skill-item p {
    color: #b0b0b0;
    font-size: 0.95rem;
}



/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer-logo p {
    color: #b0b0b0;
}

/* .footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #d4c4a0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 196, 160, 0.4);
} */

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    color: #b0b0b0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    margin: 0;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover {
    color: #d4c4a0;
}

#lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(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);
    }
}

/* Portfolio Page Styles */
.portfolio-header {
    padding: 120px 0 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=600&fit=crop') center/cover;
    text-align: center;
    color: white;
    animation: fadeInDown 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-hero {
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d4c4a0;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    animation: fadeInDown 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-subtitle {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 30px;
    animation: fadeInDown 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 1rem;
    color: #d4c4a0;
}

.stat-item {
    font-weight: 500;
}

.portfolio-main {
    padding: 80px 0;
    background: #0a0a0a;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item {

    
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 4/3;
    opacity: 0;
    transform: translateY(40px);
    animation: galleryFadeIn 0.8s forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    
}

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

.gallery-overlay .view-btn {
    background: #d4c4a0;
    color: #0a0a0a;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 196, 160, 0.3);
}

.gallery-overlay .view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 196, 160, 0.5);
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    font-size: 1.1rem;
    padding: 15px 35px;
    margin-bottom: 15px;
}

.gallery-info {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.nav-link.active {
    color: #d4c4a0;
}

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

/* Portfolio Navbar Tab Animation */
.portfolio-link {
    position: relative;
    color: #d4c4a0;
    font-weight: 600;
    transition: color 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.portfolio-link i {
    font-size: 1.1em;
    color: #d4c4a0;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-link:hover {
    color: #fff;
    text-shadow: 0 0 8px #d4c4a0;
}
.portfolio-link:hover i {
    transform: scale(1.2) rotate(-10deg);
    color: #fff;
}

/* Portfolio Section Title Animation */
.portfolio-animate {
    opacity: 0;
    transform: scale(0.85) translateY(40px);
    animation: none;
}
.portfolio-animate.visible {
    animation: zoomInUp 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes zoomInUp {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(40px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.4rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .skills {
        grid-template-columns: 1fr;
    }



    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-item {
        height: 250px;
    }

    .portfolio-title {
        font-size: 2.5rem;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .portfolio-stats {
        flex-direction: column;
        gap: 10px;
    }

    .section-title {
        font-size: 2rem;
    }
}

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

    .section-title {
        font-size: 1.8rem;
    }

    .portfolio-title {
        font-size: 2rem;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes galleryFadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #d4c4a0;
    margin-right: 10px;
    vertical-align: middle;
    background: none;
    border-radius: 50%;
    box-shadow: none;
    position: relative;
    overflow: visible;
}
.logo-icon i {
    color: #d4c4a0;
    filter: drop-shadow(0 0 6px #fffbe6cc);
    animation: shimmer 2.5s infinite linear;
}
@keyframes shimmer {
    0% { filter: drop-shadow(0 0 6px #fffbe6cc); }
    50% { filter: drop-shadow(0 0 16px #fffbe6); }
    100% { filter: drop-shadow(0 0 6px #fffbe6cc); }
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}
@keyframes logoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}