:root {
  --kum: #f6e27a;
  --dark: #2e1f0f;
  --light: #fff8dc;
  --accent: #b03030;
}

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

body {
  background: var(--light);
  color: var(--dark);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.6;
  background-image: url('https://www.transparenttextures.com/patterns/old-mathematics.png');
  background-repeat: repeat;
}

header {
  background: var(--kum);
  padding: 4vh 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  
  top: 0;
  z-index: 999;
}

.animated-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  border-right: 3px solid var(--dark);
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3s steps(30), blink 0.6s step-end infinite alternate;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 4rem;
  font-family: 'Cinzel', serif;
  animation: fadeIn 2s ease-out;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

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

section {
  padding: 8vh 10vw;
}

h2 {
  font-size: 2.4rem;
  font-family: 'Cinzel', serif;
  border-bottom: 2px dashed var(--dark);
  display: inline-block;
  margin-bottom: 2rem;
}

.mezat-duyuru {
  background-color: var(--kum);
  text-align: center;
  padding: 3vh 10vw;
  border-top: 2px dashed var(--dark);
  border-bottom: 2px dashed var(--dark);
}

.mezat-duyuru a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: underline;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 3px solid var(--kum);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.5s ease, filter 0.3s ease;
  border-radius: 8px;
}

.gallery img:hover {
  transform: scale(1.05) rotate(-1deg);
  filter: sepia(20%) brightness(1.1);
  box-shadow: 0 0 25px rgba(255, 230, 160, 0.4);
}

.parallax-section {
  height: 80vh;
  overflow: hidden;
  position: relative;
}

.parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.parallax-section:hover .parallax-img {
  transform: scale(1.1) translateY(-30px);
}

.iletisim-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto 0;
}

.iletisim-form input,
.iletisim-form textarea {
  padding: 1rem;
  border: 1px solid var(--kum);
  background: #fef9e7;
  font-size: 1.1rem;
  border-radius: 4px;
  font-family: inherit;
}

.iletisim-form button {
  padding: 1rem;
  background: var(--dark);
  color: var(--kum);
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.iletisim-form button:hover {
  background: black;
}

footer {
  background: var(--dark);
  color: var(--kum);
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.04;
  z-index: 9999;
  animation: flicker 0.2s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 0.04 }
  50% { opacity: 0.07 }
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .animated-title {
    font-size: 2rem;
  }
  .gallery img {
    height: 200px;
  }
}
.form-sonuc {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
}

