/* 
* Nizamlar Mermer Web Sitesi
* Ana CSS Dosyası
*/

/* ===== GENEL STILLER ===== */
:root {
    --primary-color: #3a4a5e;
    --secondary-color: #c9a875;
    --light-color: #f5f5f5;
    --dark-color: #333333;
    --white-color: #ffffff;
    --gray-color: #e9e9e9;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 30px 0;
}

.arabic-quote {
    font-family: 'Amiri', serif;
    font-style: italic;
}

/* ===== HEADER STYLES ===== */
header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--white-color);
    margin-right: 20px;
    font-size: 0.9rem;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.brand {
    font-weight: 600;
}

.main-header {
    padding: 20px 0;
    background-color: #4E5A68;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-height: 300px;
    margin: 0 auto;
}

.quote {
    text-align: center;
    padding: 10px 0;
    font-style: italic;
    color: var(--primary-color);
}

.main-nav {
    background-color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    display: block;
    color: var(--white-color);
    padding: 15px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-links li.active a,
.nav-links li a:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 500px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: none;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    display: flex;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white-color);
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    max-width: 80%;
    margin: 0 auto;
}

.slide-content h2 {
    color: var(--white-color);
    margin-bottom: 0;
}

.slide-content h2:after {
    display: none;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-nav:hover {
    background-color: var(--white-color);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white-color);
}

/* ===== INTRO SECTION ===== */
.intro {
    text-align: center;
    background-color: var(--light-color);
}

.subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.description {
    max-width: 800px;
    margin: 0 auto 20px;
}

/* ===== SERVICES PREVIEW ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 5px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.btn-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-more:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* ===== FEATURED MODELS ===== */
.featured-models {
    background-color: var(--light-color);
}

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

.model-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
}

.model-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.model-card:hover img {
    transform: scale(1.05);
}

.model-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white-color);
    transition: var(--transition);
}

.model-info h3 {
    color: var(--white-color);
    margin-bottom: 10px;
}

.btn-view {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
}

/* ===== CEMETERY SEARCH ===== */
.cemetery-search {
    text-align: center;
}

.search-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.search-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 5px;
    transition: var(--transition);
}

.search-link i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.search-link:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 50px 0;
}

.contact-cta h2 {
    color: var(--white-color);
}

.contact-cta h2:after {
    background-color: var(--white-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-call, .btn-contact {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-call {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-contact {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.btn-call:hover, .btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

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

.footer-info h3, .footer-links h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-info h3:after, .footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-quote {
    text-align: center;
}

.footer-quote p {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}
.intro-banner-vdo-play-btn, .intro-banner-vdo-play-btn1 {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.intro-banner-vdo-play-btn {
    left: 20px;
    background: #ff0000;
}

.intro-banner-vdo-play-btn1 {
    left: 90px;
    background: #25D366;
}

.intro-banner-vdo-play-btn i, .intro-banner-vdo-play-btn1 i {
    color: #fff;
    font-size: 24px;
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: rippleEffect 2s infinite;
}

.ripple:nth-child(2) { animation-delay: 0.3s; }
.ripple:nth-child(3) { animation-delay: 0.6s; }

@keyframes rippleEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .slider-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-links.active {
        max-height: 500px;
    }
    
    .slider-container {
        height: 350px;
    }
    
    .islamic-logos {
        display: none;
    }
    
    .logo {
        max-height: 60px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-card, .model-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 30px auto 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .slide-content {
        max-width: 90%;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slider-nav {
        width: 30px;
        height: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info h3:after, .footer-links h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
}
