
:root {
    --purple: #5b248a;
    --gold: #c5a059;
    --bg-color: #f2f2f2;
    --white: #ffffff;
    --text-color: #333;
}
 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background-color: #e0e0e0; 
    padding: 40px 20px;
    color: var(--text-color);
}

.hero-section, .history-card, .explore-section {
    background: rgb(235, 231, 235);
    max-width: 1000px;
    margin: 0 auto 30px;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.logo {
    font-size: 1.8rem; 
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white); 
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span {
    color: var(--gold);
    font-weight: 700;
    font-size: 2rem; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); 
}
header { max-width: 1000px; margin: 0 auto 20px; }
nav { 
    background: var(--purple); 
    padding: 15px 40px; 
    border-radius: 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: white; 
}
.logo span { color: var(--gold); font-weight: bold; }
nav ul { display: flex; list-style: none; gap: 20px; }
nav ul li a { color: white; text-decoration: none; font-size: 0.85rem; transition: 0.3s; }
nav ul li a:hover { color: var(--gold); }

.main-title { 
    font-size: 3.5rem;   
    color: var(--purple); 
    letter-spacing: 10px; 
    text-align: center; 
    line-height: 1.1; 
}
.subtitle { 
    font-size: 1rem;     
    text-align: center; 
    letter-spacing: 3px;  
    margin-bottom: 20px;  
    text-transform: uppercase; 
    font-weight: 400;
}
.hero-section {
    padding: 30px 50px; 
}
.art-frame-large, .art-frame-small {
    background: var(--purple);
    padding: 20px;
    border: 4px solid var(--gold);
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.art-frame-large::before, .art-frame-small::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid var(--gold);
    pointer-events: none;
}
.art-frame-large img, .art-frame-small img {
    width: 100%;
    display: block;
    border: 1px solid var(--gold);
}
.history-grid {
    display: flex;
    align-items: center;
    gap: 40px; 
}
.history-image { flex: 0 0 55%; } 
.history-text { flex: 1; }

.art-frame-small img {
    width: 100%;
    height: 400px; 
    object-fit: cover; 
    display: block;
    border: 1px solid var(--gold);
}
.history-text h1 {
    color: var(--purple);
    font-size: 2.3rem;   
    font-weight: 800;     
    text-align: center;   
    margin-bottom: 15px;
    line-height: 1.2; 
    text-transform: uppercase; 
    letter-spacing: -1px
}
.history-text .subtitle strong {
    color: var(--gold); 
    font-size: 1.2rem; 
    display: block; 
}
.history-text p {
    line-height: 1.8;
    margin-bottom: 15px;
}
.explore-section {
    background: var(--white);
    max-width: 1000px;
    gap: 15px;
    margin: 0 auto 30px;
    border-radius: 40px;
    padding: 40px 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.section-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--purple);
    font-weight: 700;
}
.explore-grid {
    display:flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
}
.card {
    background: #f9f9f9;
    flex-wrap: 0 0 18.5;
    min-width: 180px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}
.card-img-container {
    border: 3px solid var(--purple);
    border-radius: 15px;
    overflow: hidden; 
    margin-bottom: 15px;
    height: 120px; 
    position: relative;
}
.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; 
}
.card:hover .card-img-container img {
    transform: scale(1.2); 
}
.card h5 {
    font-size: 1.25rem;
    color: var(--purple);
    margin-bottom: 5px;
}
.card p {
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: 12px;
}
.btn {
    background: var(--purple);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.65rem;
    cursor: pointer;
    transition: 0.3s;
    width: 140px;        
    height: 35px;
}
.btn:hover {
    background: var(--gold);
}

@media (max-width: 850px) {
    .explore-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .card {
        max-width: 100%;
    }
}
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding: 15px;
    gap: 10px;
}
.mini-gallery {
    display: none; 
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 15px;
    transition: all 0.3s ease;
}
.mini-gallery.show {
    display: grid; 
}
.mini-gallery img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}
.btn {
    background-color: #6a1b9a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}
.mini-gallery img:hover {
    transform: scale(1.1);
    border-color: var(--gold);
}
.map
.map-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: #1e1e1e; 
    border-radius: 30px;
    gap: 40px;
}
.map-info {
    flex: 1; 
    text-align: left;
}
.map-info h2 {
    color: #bb86fc;
    margin-bottom: 20px;
}
.contact-details {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #a0a0a0;
}
.contact-section {
    padding: 60px 5%;
    background-color: #121212;
}
.contact-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch; 
}
.suggestion-box-small {
    flex: 1;
    background: #1e1e1e;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}
.suggestion-box-small h3 {
    color: #bb86fc;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.mini-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mini-form input, .mini-form textarea {
    background: #252525;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-size: 0.9rem;
}
.mini-submit-btn {
    background: #bb86fc;
    color: #121212;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.mini-submit-btn:hover {
    background: #a370db;
    transform: translateY(-2px);
}
.map-container-mini {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333;
    min-height: 300px;
}
.map-container-mini iframe {
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .map-container-mini {
        height: 250px;
    }
}
.hero-content h2, 
.hero-content .slogan,
#tarihce .subtitle {
    color: var(--gold); 
    text-align: center;        
    width: 100%;               
    margin-left: auto;         
    margin-right: auto;
    margin-top: 10px;          
    margin-bottom: 20px;
}
@media (max-width: 992px) {
    .history-grid {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px !important;
    }
    .history-text, .history-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
    }
    .art-frame-small img {
        width: 100% !important;
        height: auto !important;
        max-width: 450px;
    }
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
}