body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #010B13;
  color: #f5f5f5;
  font-family: 'Playfair Display', serif;
  max-width: 1920px;
}

/* Floating contact button */
.contact-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  top: auto;
  left: auto;
  z-index: 1400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  padding: 0;
  gap: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9974d, #e8b165);
  
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  fill: #0f1620;
}

.contact-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.contact-fab:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.contact-fab .fab-icon {
  width: 36px;
  height: 36px;
  display: block;
  fill: #0f1620;
  transition: transform 0.18s ease, fill 0.18s ease;
}

.contact-fab:hover .fab-icon {
  transform: translateY(-1px) scale(1.03);
}

.contact-fab:focus,
.contact-fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 151, 77, 0.14), 0 12px 32px rgba(1, 11, 19, 0.45);
}




.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.contact-fab .fab-dot {
  display: none;
}

.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 11, 19, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1390;
  
}

.contact-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal {
  background: #0f1620;
  border: 1px solid rgba(201, 151, 77, 0.4);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  max-width: 520px;
  width: 90%;
  padding: 26px 28px;
  position: relative;
 
}

.contact-modal h3 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  color: #f5f5f5;
}

.contact-modal p {
  margin: 0 0 20px;
  color: #cfcfcf;
  line-height: 1.6;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #010B13;
  font-weight: 600;
  background: #c9974d;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.contact-actions a:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f5;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(6deg);
}

.contact-close:active {
  transform: scale(0.95);
}


.soc-icon-modal { 
  fill: #0f1620;
  transition: fill 0.3s ease, filter 0.3s ease;
  
}

.soc-icon-modal:hover { 
  fill: #ccc;
  filter: drop-shadow(0px 0px 8px rgba(201, 151, 77, 0.6));
}




/* body::before {
  z-index: 1;
  content: "";
  position: fixed;
  width: 200%;
  height: 200%;
  background: transparent url("https://www.transparenttextures.com/patterns/stardust.png") repeat;
  animation: moveStars 100s linear infinite;
} */


/* @keyframes moveStars {
  from { transform: translateY(0); }
  to { transform: translateY(-1000px); }
} */
/* diagmonds.png */




/* ===== Header ===== */
.site-header {
  position: fixed;       
  top: 0;
  left: 0;
  right: 0; 
  
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 20px 10%;

  background: rgba(255, 255, 255, 0); 
  backdrop-filter: blur(12px);          
  -webkit-backdrop-filter: blur(12px); 

  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Лого Лого Лого Лого Лого Лого Лого Лого Лого*/
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #c9974d; 
  letter-spacing: 1px;
}

/* Контейнер меню */
.nav-menu {
  margin-left: auto; 
}

/* Список */
.header-menu {   
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* Посилання */
.header-menu a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
  
}

.header-menu a:hover {
  color: #c9974d;
}



/* .waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background-color: var(--color);
  box-shadow: inset 0 0 00px rgba(0, 0, 0, 0.5);
  transition: 500ms;
 
}

.waves::before,
.waves::after {
  content: '';
  position: absolute;
  width: 300vw;
  height: 300vw;
  top: -65vw;
  left: 50%;
  transform: translate(-50%, -75%);
}

.waves::before {
  border-radius: 44%;
  background: rgba(51, 51, 51, 0.1);
  backdrop-filter: blur(12px);
  animation: waves 8s linear infinite;
}

.waves::after {
  border-radius: 44%;
  background: rgba(51, 51, 51, 0.2);
  backdrop-filter: blur(12px);
  animation: waves 15s linear infinite;
}

@keyframes waves {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
} */


/* about about about about about about about about about*/ 

.about-section {
  min-height: 100vh;
  display: flex;
  align-items: flex-end; 
  justify-content: center;
  padding: 10% 0; 
  padding-top: 0px;
  padding-bottom: 0px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(201, 151, 77, 0.12), transparent 30%),
              radial-gradient(circle at 80% 10%, rgba(76, 182, 206, 0.12), transparent 32%),
              #0d121a;
}

.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* теплі широкі лінії */
.about-section::before {
  background: linear-gradient(135deg, rgba(201, 151, 77, 0.18), rgba(15, 22, 32, 0) 58%),
              linear-gradient(225deg, rgba(76, 182, 206, 0.1), rgba(13, 18, 26, 0) 45%);
  transform: skewY(-3deg);
  mix-blend-mode: screen;
  z-index: 0;
}

/* дрібна геометрія */
.about-section::after {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04) 8%, transparent 10%) 0 0/32px 32px,
    linear-gradient(60deg, rgba(255, 255, 255, 0.03) 6%, transparent 10%) 8px 12px/28px 28px;
  opacity: 0.6;
  z-index: 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
}



.about-image img {

  display: block;
  width: 100%;
  border-radius: 20px;
 
  transition: transform 0.5s ease;
  z-index: 200;
}

/* .about-image img:hover {
  transform: scale(1.05);
} */

.about-content {
  margin-left: 50px;
  opacity: 1;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
  position: relative;
  z-index: 1;
}

.about-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-title {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.about-highlight {
  color: #c9974d;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 30px;
}



.btn-learn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #c9974d;
  border-radius: 30px;
  color: #c9974d;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.btn-learn:hover {
  background: #c9974d;
  color: #010B13;
  filter: drop-shadow(1px 1px 10px #c9974d)
}







/* about about about about about about about about about*/ 

/* ===== Portfolio Section ===== */
.portfolio-section {
  padding: 20px 10%;
  background-color: #010B13;
  text-align: center;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.filter-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(201, 151, 77, 0.5);
  background: transparent;
  color: #f5f5f5;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-btn:hover {
  background: rgba(201, 151, 77, 0.15);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.filter-btn.is-active {
  background: linear-gradient(135deg, #c9974d, #e8b165);
  color: #010B13;
  box-shadow: 0 12px 30px rgba(201, 151, 77, 0.35);
}

.portfolio-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.portfolio-title span {
  color: #c9974d;
}


.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  z-index: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Кожна картка */
.portfolio-item {
  position: relative;
  flex: 0 0 calc(100% / 3); 
  
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(1, 11, 19, 0.5);
  transition: transform 0.4s ease;
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
   
}

.portfolio-item:hover img {
  transform: scale(1.1);
}


.carousel-container{
  --gap: 20px;                  
  position: relative;
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 var(--gap);        
}

.carousel-track{
  display: flex;
  gap: var(--gap);             
  transition: transform .5s ease-in-out;
}

@media (max-width: 1024px) {
  .portfolio-section {
    padding: 40px 8%;
  }

  .portfolio-title {
    font-size: 2.2rem;
    margin-bottom: 46px;
  }

  .carousel-container {
    --gap: 16px;
    padding: 0 12px;
  }

  .portfolio-item {
    flex: 0 0 calc(50% - var(--gap));
  }

  .carousel-btn.left { left: -24px; }
  .carousel-btn.right { right: -24px; }
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 40px 6%;
  }

  .portfolio-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 9px 14px;
    font-size: 0.95rem;
  }

  .carousel-container {
    --gap: 12px;
    padding: 0;
  }

  .portfolio-item {
    flex: 0 0 100%;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 10px 14px;
  }

  .carousel-btn.left { left: 6px; }
  .carousel-btn.right { right: 6px; }
}

/* Оверлей */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 11, 19, 0.7);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .overlay {
  opacity: 1;
  overflow: visible;
}

.overlay h3 {
  font-size: 1.5rem;
  color: #c9974d;
  margin-bottom: 10px;
}


/* Кнопки каруселі*/
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(1, 11, 19, 0.6);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(1, 11, 19, 0.9);
}

.carousel-btn.left {
  left: -60px;   
}

.carousel-btn.right {
  right: -60px;  
}






/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 40%, rgba(201, 151, 77, 0.1), transparent 28%),
              radial-gradient(circle at 75% 20%, rgba(76, 182, 206, 0.08), transparent 30%),
              #0a1018;
  isolation: isolate;
  color: #f5f5f5;
  padding: 60px 120px;
}

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

.footer-info h3,
.footer-socials h3 {
  color: #c9974d;
  margin-left: 30px;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.footer-info p,
.footer-info a {
  margin-left: 30px;
  font-size: 1rem;
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: #c9974d;
}

.footer-socials .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-left: 30px;
}



.footer-socials a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
}

.footer-socials a:hover {
  color: #c9974d;
}

.footer-bottom {
  border-top: 1px solid #0A1520;
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}


.soc-icon-footer { 
  fill: #ccc;
  transition: fill 0.3s ease, filter 0.3s ease;
}

.soc-icon-footer:hover { 
  fill: #c9974d;
  filter: drop-shadow(0px 0px 8px rgba(201, 151, 77, 0.6));
}



/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Screens (768px - 1024px) */
@media (max-width: 1024px) {
  body {
    max-width: 100%;
  }

  .contact-fab {
    bottom: 22px;
    right: 22px;
    top: auto;
    left: auto;
    width: 58px;
    height: 58px;
  }

  /* Header */
  .site-header {
    padding: 15px 5%;
  }

  .logo {
    font-size: 1.3rem;
  }

  .header-menu {
    gap: 15px;
  }

  .header-menu a {
    font-size: 0.95rem;
  }

  /* About Section */
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
    padding: 0 5%;
  }

  .about-content {
    margin-left: 0;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-text {
    font-size: 1rem;
  }

  /* Portfolio */
  .portfolio-section {
    padding: 20px 5%;
  }

  .portfolio-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .portfolio-item {
    flex: 0 0 calc(100% / 2);
  }

  .carousel-btn.left {
    left: -40px;
  }

  .carousel-btn.right {
    right: -40px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 5%;
  }

  .footer-container {
    gap: 30px;
  }

  .footer-info h3,
  .footer-socials h3 {
    margin-left: 0;
  }

  .footer-info p,
  .footer-info a {
    margin-left: 0;
  }

  .footer-socials a {
    margin-left: 0;
  }
}

/* Small Tablets and Large Phones (600px - 767px) */
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  /* Header */
  .site-header {
    padding: 12px 4%;
    flex-direction: column;
    gap: 15px;
  }

  .logo {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .nav-menu {
    margin-left: 0;
    width: 100%;
  }

  .header-menu {
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .header-menu a {
    font-size: 0.9rem;
  }

  /* About Section */
  .about-section {
    min-height: auto;
    padding: 60px 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 4%;
  }

  .about-image img {
    border-radius: 15px;
  }

  .about-content {
    margin-left: 0;
  }

  .about-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .about-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .btn-learn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  /* Portfolio */
  .portfolio-section {
    padding: 40px 4%;
  }

  .portfolio-title {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }

  .carousel-container {
    padding: 0 10px;
  }

  .portfolio-item {
    flex: 0 0 100%;
    border-radius: 15px;
  }

  .portfolio-item img {
    height: 200px;
  }

  .carousel-btn {
    padding: 10px 14px;
    font-size: 1.5rem;
  }

  .carousel-btn.left {
    left: 5px;
  }

  .carousel-btn.right {
    right: 5px;
  }

  .overlay h3 {
    font-size: 1.2rem;
  }

  .overlay p {
    font-size: 0.9rem;
  }

  /* Footer */
  .site-footer {
    padding: 30px 4%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-info h3,
  .footer-socials h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .footer-info p,
  .footer-info a,
  .footer-socials a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding-top: 15px;
    font-size: 0.8rem;
  }
}

/* Mobile Phones (480px - 599px) */
@media (max-width: 599px) {
  body {
    font-size: 13px;
  }

  .contact-fab {
    bottom: 18px;
    right: 18px;
    top: auto;
    left: auto;
    width: 54px;
    height: 54px;
  }
}

/* Extra Small Phones (< 480px) */
@media (max-width: 479px) {
  body {
    font-size: 12px;
  }

  .contact-fab {
    bottom: 14px;
    right: 14px;
    top: auto;
    left: auto;
    width: 52px;
    height: 52px;
  }

  /* Header */
  .site-header {
    padding: 8px 3%;
    gap: 10px;
  }

  .logo {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .header-menu {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-menu a {
    font-size: 0.75rem;
  }

  /* About Section */
  .about-section {
    padding: 40px 0;
    min-height: auto;
  }

  .about-container {
    padding: 0 3%;
    gap: 15px;
  }

  .about-image img {
    border-radius: 12px;
  }

  .about-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .about-text {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .btn-learn {
    padding: 7px 18px;
    font-size: 0.8rem;
  }

  /* Portfolio */
  .portfolio-section {
    padding: 25px 3%;
  }

  .portfolio-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .carousel-container {
    padding: 0 3px;
  }

  .carousel-track {
    gap: 8px;
  }

  .portfolio-item {
    flex: 0 0 100%;
    border-radius: 10px;
  }

  .portfolio-item img {
    height: 160px;
  }

  .carousel-btn {
    padding: 6px 10px;
    font-size: 1rem;
  }

  .carousel-btn.left {
    left: 0;
  }

  .carousel-btn.right {
    right: 0;
  }

  .overlay h3 {
    font-size: 0.9rem;
    margin-bottom: 3px;
  }

  .overlay p {
    font-size: 0.75rem;
  }

  /* Footer */
  .site-footer {
    padding: 20px 3%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-info h3,
  .footer-socials h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .footer-info p,
  .footer-info a,
  .footer-socials a {
    font-size: 0.8rem;
  }

  .footer-bottom {
    padding-top: 10px;
    font-size: 0.7rem;
  }
}
