@font-face {
    font-family: 'Hamishe';
    src: url('./assets/fonts/Hamishe.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roman';
    src: url('./assets/fonts/Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hamishe', sans-serif;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

body {
    background-color: #F0EEE9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(44, 62, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(230, 126, 34, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: gradientFlow 15s ease infinite;
    background-size: 200% 200%;
}

.hero-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        repeating-linear-gradient(45deg,
            rgba(0, 0, 0, 0.02) 0px,
            rgba(0, 0, 0, 0.02) 1px,
            transparent 1px,
            transparent 10px);
    transform: rotate(-15deg);
    z-index: -1;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: rotate(-15deg) translateY(0);
    }

    50% {
        transform: rotate(-15deg) translateY(-20px);
    }

    100% {
        transform: rotate(-15deg) translateY(0);
    }
}

.hero-content {
    text-align: center;
    padding: 3.5rem;
    max-width: 700px;
    width: 90%;
    margin: 20px;
    position: relative;
    overflow: hidden;
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInScale 1s ease-out forwards;
}

.logo {
    margin-bottom: 2.5rem;
    position: relative;
}

/* 
.logo::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, transparent, #2C3E50, transparent);
} */

.logo img {
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    opacity: 0;
    animation: fadeInScale 0.8s ease forwards;
}

h1 {
    color: #2C3E50;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    background: linear-gradient(45deg, #2C3E50, #494d33);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInFromBottom 0.8s ease forwards 0.2s;
    opacity: 0;
}

.description {
    color: #494d33;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.2rem;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease forwards 0.4s;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0.5rem;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease forwards 0.6s;
}

.social-link,
.contact-link {
    color: #2C3E50;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.contact-link {
    background: linear-gradient(135deg, #2C3E50, #494d33);
    background-size: 200% auto;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
    transition: all 0.3s ease;
}

.contact-link i {
    font-size: 1.2rem;
    animation: floatAnimation 3s ease-in-out infinite;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #E67E22, #F39C12);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: #E67E22;
}

.social-link:hover i {
    animation: floatAnimation 1s ease-in-out infinite;
}

.social-link:hover::after {
    transform: scaleX(1);
}

.contact-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
    background-position: right center;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
        width: 95%;
    }

    h1 {
        font-size: 2.2rem;
    }

    .description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .social-links {
        gap: 1.2rem;
    }

    .contact-link {
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 1rem;
    }
.logo img {
    max-width: 250px;
    
}
}

.contact-blocks {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-block {
    background: #f5f1eb;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-block-header {
    padding: 1rem 1.5rem;
    background: #eae6e1;
    color: #494d33;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
}

.contact-block-header i {
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.contact-block-header span {
    flex: 1;
}

.contact-block.active .contact-block-header::after {
    transform: rotate(180deg);
}

.contact-block.active .contact-block-header {
    background: #494d33;
    color: #eae9e5;
}

.contact-block-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-block.active .contact-block-content {
    padding: 1rem 1.5rem;
    max-height: 200px;
}

.contact-block-content a {
    color: #2C3E50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.contact-block-content a:hover {
    color: #E67E22;
}

.contact-block-content p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.contact-block-content i {
    font-size: 1rem;
    opacity: 0.7;
}

.address-text {
    line-height: 1.6;
    color: #494d33;
}

.t-fa {
    text-align: right;
}

.t-en {
    text-align: left;
    font-family: 'Roman', serif;
}

