:root {
    --primary-color: #D4AF37; /* Gold */
    --primary-dark: #b5952f;
    --text-light: #ffffff;
    --text-muted: #e0e0e0;
    --bg-dark: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.7);
    --border-glow: rgba(212, 175, 55, 0.3);
}

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Setup */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('saray1/images/sarayi_bg.png'); /* fallback image */
    background-size: cover;
    background-position: center;
    filter: brightness(0.8) contrast(1.1);
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.6) 100%);
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.65, 0, 0.35, 1), visibility 1s;
}

.splash-logo-container {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.splash-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: pulse 2s infinite alternate ease-in-out;
}

.splash-loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px var(--border-glow)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 25px var(--border-glow)); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* Main Content */
.landing-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem 1rem 1rem;
    position: relative;
    z-index: 10;
}

.landing-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.main-logo {
    width: 160px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

.main-title {
    font-family: 'Amiri', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Menus Cards */
.menus-container {
    display: flex;
    gap: 2.5rem;
    max-width: 1000px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.menu-card {
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    height: 480px; 
    text-decoration: none;
    color: inherit;
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.menu-card:nth-child(1) { animation-delay: 0.7s; }
.menu-card:nth-child(2) { animation-delay: 0.9s; }

.card-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,0.8) 40%, rgba(5,5,5,0.2) 100%);
    transition: background 0.5s ease;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
    margin-top: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.menu-card h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-family: 'Amiri', serif;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.menu-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    min-height: 75px;
}

.btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

/* Hover Effects */
.menu-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 20px rgba(212, 175, 55, 0.4);
}

.menu-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.menu-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,0.7) 50%, rgba(5,5,5,0.1) 100%);
}

.menu-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.1) rotate(5deg);
}

.menu-card:hover .btn-view {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Footer / Contact */
.landing-footer {
    width: 100%;
    max-width: 800px;
    margin-top: auto;
    padding: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.1s;
}

.location {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-family: 'Amiri', serif;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 30px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.phone-btn {
    font-weight: 600;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title { font-size: 2.8rem; }
    .menus-container { gap: 1.5rem; margin-bottom: 2rem; }
    .menu-card { height: 420px; }
    .menu-card h2 { font-size: 1.8rem; }
    .landing-footer { padding: 1.5rem 1rem; }
    .social-btn { padding: 0.6rem 1.2rem; font-size: 1rem; }
}
