
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'luxury';
}

h2, h3, h4, h5, h6 {
        font-family: 'magna';
}

html {
    height: -webkit-fill-available;
    scroll-behavior: smooth;
}


:root {
    --primary-black: #0a0a0a;
    --dark-gold: #946b28;
    --light-gold: #c49b3c;
    --dark-gray: #1a1a1a;
    --white: #ffffff;
    --card-bg: rgba(26, 26, 26, 0.8);
    --glass-effect: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--primary-black);
    color: var(--white);
    overflow-x: hidden;
    
}

@font-face {
font-family: 'luxury';
src: url('font/Rollgates-Luxury.ttf') format('truetype');
font-weight: normal;
font-style: normal;
preload: url('font/Rollgates-Luxury.ttf');
}

@font-face {
font-family: 'magna';
src: url('font/Magnolia-Bold.otf') format('truetype');
font-weight: normal;
font-style: normal;
preload: url('font/Magnolia-Bold.otf');
}
/* Navigation */

.nav-container {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    
}

.triangle-nav {
    max-width: 800px;
    height: 70px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
     width: 100%; /* اضافه کردن عرض 100% */
}

.triangle-border {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.triangle-border::before,
.triangle-border::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
    animation: borderGlow 3s infinite;
    backdrop-filter: blur(10px);
}

.triangle-border::before {
    border: 2px solid var(--dark-gold);
    filter: blur(3px);
}

.triangle-border::after {
    border: 1px solid var(--light-gold);
    animation-delay: -1.5s;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 40px;
    gap: 30px;
    z-index: 2;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background: var(--light-gold);
    transition: all 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
    left: 0;
    box-shadow: 0 0 10px var(--light-gold);
}

.nav-link:hover {
    color: var(--light-gold);
    text-shadow: 0 0 8px var(--light-gold);
}

.logo {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--dark-gold);
    border-radius: 50%;
    animation: logoGlow 2s infinite;
}

.logo::after {
    content: '';
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 1px solid var(--light-gold);
    border-radius: 50%;
    animation: logoGlow 2s infinite reverse;
}

@keyframes logoGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.5;
    }
}

.logo:hover {
    color: var(--light-gold);
    text-shadow: 0 0 10px var(--light-gold);
}

@media (max-width: 768px) {
    .triangle-nav {
        height: 60px;
        max-width: 90%;
    }

    .triangle-border::before,
    .triangle-border::after {
        clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
    }

    .nav-content {
        padding: 0 20px;
        gap: 15px;
    }

    .nav-group {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }

    .logo {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .triangle-nav {
        height: 50px;
    }

    .triangle-border::before,
    .triangle-border::after {
        clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    }

    .nav-content {
        padding: 0 15px;
        gap: 10px;
    }

    .nav-group {
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
    }

    .logo {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-gold);

}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-gold);
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url('img/giphy.gif') ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;        
    background-blend-mode: darken;
    backdrop-filter: blur(10px);
    margin-top: -85px;
    filter: brightness(0.7) contrast(1.1) saturate(0.9);
    background-attachment: fixed;
}

/* Media Queries */
@media (max-width: 768px) {
.hero {
height: 80vh;
}
}

@media (max-width: 480px) {
.hero {
height: 100vh;
}
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--dark-gold) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
    100% { transform: scale(1); opacity: 0.1; }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 100px;
    margin-bottom: 20px;
    color: var(--white);
    font-family: 'magna';
    font-weight:400 ;

}

.hero-subtitle {
    font-size: 40px;
    color: var(--light-gold);
    font-weight: 700;
}

/* About Section */
.about {
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    width: 100%;
    object-fit: fill;
    filter: brightness(0.5) contrast(1) saturate(1);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--light-gold);
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--light-gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(148, 107, 40, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--white);
    text-align: center;
    padding: 0 20px;
}

/* Contact Section */
.contact {
    padding: 100px 10%;
    background: linear-gradient(to bottom, var(--primary-black), var(--dark-gray));
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dark-gold);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--light-gold);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--dark-gold);
    color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-gold);
}

.submit-btn {
    background: var(--dark-gold);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--light-gold);
}

/* Footer */
.footer {
    text-align: center;
    background: var(--primary-black);
    border-top: 1px solid var(--dark-gold);
}
.copyright{
    font-size: 0.8rem;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--light-gold);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {

    .hero-title {
        font-size: 2.5rem;
    }

    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {


    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

.container {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--light-gold);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--dark-gold);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark-gold);
    color: var(--white);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 800px;
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.gallery-item.hide {
    opacity: 0;
    transform: scale(0);
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
}

.gallery-item img {
    width: 100%;
    height: 80%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: rgba(148, 107, 40, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.gallery-overlay p {
    color: var(--white);
}

/* Swiper Slider */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--light-gold);
}

.swiper-pagination-bullet {
    background: var(--dark-gold);
}

.swiper-pagination-bullet-active {
    background: var(--light-gold);
}

@media (max-width: 768px) {
    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .swiper-slide {
        width: 250px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 50px 3%;
    }

    .section-title {
        font-size: 2rem;
    }
}



.lux-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.lux-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.lux-gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    transition: all 0.1s ease;
    cursor: pointer;
}

.lux-gallery-item:hover {
    transform: translateY(-10px) scale(1.02);

}

.lux-gallery-item img {
    width: 100%;
    height: 550px;
    object-fit: fill;
    transition: transform 0.1s ease;
}

.lux-gallery-item:hover img {
    transform: scale(1.05);
}

.lux-gallery-content {
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    position: absolute;
    bottom: 0;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.1s ease;
}

.lux-gallery-item:hover .lux-gallery-content {
    background-color: #000000;
    transform: translateY(0);

}

.lux-gallery-title {
    font-size: 1.9rem;
    color: var(--light-gold);
    margin-bottom: 0.5rem;
    font-weight: bolder;
}

.lux-gallery-description {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-weight: bold;
}

.lux-gallery-tags {
    font-size: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.lux-tag {
    padding: 0.3rem 0.8rem;
    background: var(--glass-effect);
    font-size: 1rem;
    color: var(--light-gold);
    border: 1px solid rgba(196, 155, 60, 0.641);
    transition: all 0.1s ease;
}

.lux-tag:hover {
    background: var(--light-gold);
    color: var(--primary-black);
}

.lux-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lux-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(148, 107, 40, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lux-modal.active {
    display: flex;
    animation: lux-modalFade 0.3s ease forwards;
}

@keyframes lux-modalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lux-modal.active img {
    transform: scale(1);
}

@media (max-width: 768px) {
    .lux-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .lux-container {
        padding: 1rem;
    }

    .lux-header-content {
        padding: 0 1rem;
    }

    .lux-logo {
        font-size: 1.8rem;
    }
}

@keyframes lux-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.lux-gallery-item {
    animation: lux-fadeIn 0.6s ease-out forwards;
}




.social-links {
    background-color: var(--primary-black);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--light-gold);
}

.social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.social-links li {
    margin-bottom: 10px;
    flex-basis: 25%;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--dark-gray);
}

.social-link i {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--light-gold);
}

.social-link span {
    font-size: 14px;
    color: var(--white);
}

.social-link:hover i {
    color: var(--white);
}

.social-link:hover span {
    color: var(--white);
}


.social-link.instagram i {
    color: #c13584;
}

.social-link.linkedin i {
    color: #0077b5;
}

.social-link.whatsapp i {
    color: #34c759;
}

.social-link.telegram i {
    color: #0088cc;
}