﻿@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&family=Merriweather:wght@700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: #fff8f8;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(204,0,0,0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(204,0,0,0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(245,201,154,0.08) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23cc0000' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #3a3a3a;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #990000 0%, #cc0000 50%, #990000 100%);
  border-bottom: 2px solid #cc0000;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Merriweather', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffcccc;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #f0e8df;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.3s;
}

nav a:hover {
  color: #ffcccc;
  border: 1px solid #ffcccc;
  background-color: rgba(255,255,255,0.08);
}

nav a.active {
  color: #f0e8df;
  border: 1px solid transparent;
  background-color: transparent;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #990000, #cc0000);
  border: 1px solid #aa0000;
  border-radius: 8px;
  min-width: 210px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 200;
  padding: 0.5rem 0;
  animation: fadeDown 0.3s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #f0e8df;
  font-size: 0.9rem;
  border: none;
  border-radius: 0;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background-color: rgba(255,255,255,0.1);
  color: #ffcccc;
  padding-left: 1.6rem;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

/* SECTION */
.section {
  background-color: rgba(255,255,255,0.65);
  border-radius: 20px;
  padding: 2.5rem 2.5rem;
  box-shadow: 0 8px 32px rgba(204,0,0,0.1);
  backdrop-filter: blur(6px);
  margin: 2.5rem 0;
  border: 1px solid rgba(204,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #cc0000, #ffcccc, #cc0000);
  border-radius: 20px 0 0 20px;
}

/* HEADINGS */
h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  color: #880000;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #cc0000, transparent);
  border-radius: 2px;
}

h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  color: #cc0000;
  margin: 1.5rem 0 0.75rem;
}

h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: #880000;
}

p {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: #444;
}

ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.6rem;
  color: #555;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

/* CARD */
.card {
  background: linear-gradient(135deg, #fff 0%, #fff0f0 100%);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(204,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(204,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #cc0000, #ffcccc, #cc0000);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.card:hover::after {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(204,0,0,0.2);
}

/* SERVICE LINK */
.service-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #cc0000;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: letter-spacing 0.3s;
}

.service-link:hover {
  letter-spacing: 0.5px;
  text-decoration: underline;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #cc0000, #ee2222);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(204,0,0,0.4);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, #880000, #cc0000);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(204,0,0,0.5);
}

/* IMAGES */
.service-image,
.service-image-bottom,
.askeri-image,
.polaroid-image {
  border: 4px solid #cc0000;
  padding: 5px;
  background-color: #ffe8e8;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-image:hover,
.service-image-bottom:hover,
.askeri-image:hover,
.polaroid-image:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-images img,
.biyometrik-images img,
.before-after img {
  border: 4px solid #cc0000;
  padding: 5px;
  background-color: #ffe8e8;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-images img:hover,
.biyometrik-images img:hover,
.before-after img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-image-bottom {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem 0 0 0;
  border-radius: 8px;
  border: 4px solid #cc0000;
  padding: 5px;
  background-color: #ffe8e8;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* DIVIDER */
.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #cc0000, #ffcccc, #cc0000);
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #990000 0%, #cc0000 50%, #990000 100%);
  border-top: 2px solid #cc0000;
  padding: 2rem 0;
  margin-top: 0;
  text-align: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffcccc, transparent);
}

.footer-info {
  color: #f0e8df;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-info a {
  color: #ffcccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-info a:hover {
  color: #fff;
  text-decoration: underline;
}

/* İLETİŞİM CARD */
.iletisim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.iletisim-card {
  background: linear-gradient(135deg, #fff 0%, #fff0f0 100%);
  border-radius: 14px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(204,0,0,0.1);
  border: 3px solid #cc0000;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.iletisim-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #cc0000, #ffcccc, #cc0000);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.iletisim-card:hover::after {
  transform: scaleX(1);
}

.iletisim-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(204,0,0,0.2);
}

.iletisim-card span {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.iletisim-card a {
  color: #cc0000;
  text-decoration: none;
  transition: color 0.3s;
}

.iletisim-card a:hover {
  color: #880000;
  text-decoration: underline;
}

.harita {
  margin-top: 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid #cc0000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* SOSYAL MEDYA SIDEBAR */
.social-sidebar {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: #fff;
  padding: 8px;
  border: 2px solid #cc0000;
}

.social-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
}

.social-btn:hover {
  transform: scale(1.2) translateX(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  background-color: #fff0f0;
}

/* SCROLL ANIMATION */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  animation: fadeInUp 0.6s ease forwards;
}

/* CONTACT LIST */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #555;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .social-sidebar {
    right: 50%;
    transform: translate(50%, -50%);
    top: 50%;
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 1.6rem;
  }
}

.iletisim-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.iletisim-hero p {
  font-size: 1.05rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

.iletisim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.iletisim-card {
  background: linear-gradient(135deg, #fff 0%, #fff0f0 100%);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(204,0,0,0.1);
  border: 3px solid #cc0000;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.iletisim-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #cc0000, #ffcccc, #cc0000);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.iletisim-card:hover::after {
  transform: scaleX(1);
}

.iletisim-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(204,0,0,0.2);
}

.iletisim-card .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.iletisim-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.iletisim-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.iletisim-card a {
  color: #cc0000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.iletisim-card a:hover {
  color: #880000;
  text-decoration: underline;
}

.harita-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #cc0000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  margin-top: 1rem;
}

.harita-wrapper iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.harita-baslik {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.harita-baslik span {
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .iletisim-grid {
    grid-template-columns: 1fr;
  }
}

.hediye-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.hediye-img {
  width: 450px;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  border: 4px solid #cc0000;
  padding: 5px;
  background-color: #ffe8e8;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hediye-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hediye-text h2 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .hediye-row {
    flex-direction: column;
  }
  .hediye-img {
    max-width: 100%;
    width: 100%;
  }
}

.hero-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 4px solid #cc0000;
  padding: 4px;
  background-color: #ffe8e8;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  display: block;
  opacity: 1;
  transform: none;
  transition: box-shadow 0.3s, transform 0.3s;
}

.hero-gallery img:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transform: scale(1.02);
}
