@font-face {
  font-family: 'Italiana-Regular';
  src: url('../fonts/Italiana-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BodoniModa';
  src: url('../fonts/static/BodoniModa_18pt-SemiBold.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DidactGothic';
  src: url('../fonts/DidactGothic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
  font-family: 'DidactGothic', serif;
  max-width: 100%;
}
.topnav {
  position: fixed;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 5px;
  padding-right: 15px;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99;
}
.logo img {
  height: 50px;
  width: auto;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  display: block;
  transition: 0.3s ease;
}

#myLinks {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  flex-direction: column;
  padding: 20px 0;
  text-align: center;
}

#myLinks a {
  color: #fff;
  text-decoration: none;
  font-family: 'DidactGothic';
  display: flex;               /* rozciąga link na cały blok */
  align-items: center;         /* wyrównanie tekstu pionowo */
  justify-content: center;     /* wyśrodkowanie w poziomie */
  padding: 15px 20px;
  transition: background 0.3s ease, transform 0.2s ease;
  border-radius: 12px;  
}

#myLinks a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  transform: scale(1.05); 
}

#myLinks.active {
  display: flex;
}

.hero{
    height: 100vh;
    max-width: 100vw;
    background-image: url(../images/heroMob.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.hero-content{
    text-align: center;
    padding: 10px;
}
.logo-box{
  font-family: 'Italiana-Regular';
  font-size: 20px;
  margin-bottom:60px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 10px;
  color: rgb(238, 241, 245);
}
.logo-box h1{
  font-weight: 400 !important;
}
.hero-description{
  font-size: 16px;
  margin-bottom: 40px;
  padding: 10px;
  font-family: 'Didact Gothic'; 
  font-weight: 400;
  line-height: 1.6;
  color: rgb(113, 113, 117);
}
.cta-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.cta-container a {
    display: inline-block;
    text-decoration: none;

    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;

    padding: 18px 60px;

    transition: all 0.3s ease;
}

.btn-primary-hero{
    background: #ffffff;
    color: rgb(31,31,32);
    border: 1px solid rgb(238,241,245);
}

.btn-secondary-hero{
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cta-container a:hover{
    opacity: 0.85;
}

.about {
  background: #f3f3f3;
  padding: 60px 24px;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-inner {
  text-align: center;
}

.about-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #666;
  margin-bottom: 10px;
}

.about-heading {
  font-family: 'Italiana-Regular';
  font-size: 28px;
  margin-bottom: 25px;
  color: rgb(20, 20, 32);
}

.about-content p {
  font-size: 12px;
  line-height: 1.4;
  color: rgb(113, 113, 117);
  margin-bottom: 16px;
}

.about-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #111;
  text-decoration: none;
  padding-bottom: 4px;
  transition: opacity .3s ease;
}

.about-cta:hover {
  opacity: .6;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.styles {
  padding: 4rem 1.5rem;
  background-color: #ffffff;
}
.container-styles {
  max-width: 1200px;
  margin: 0 auto;
}
.styles-header {
  text-align: center;
  margin-bottom: 3rem;
}
.styles-header h1 {
  font-family: 'Italiana-Regular';
  font-size: 28px;
  margin-bottom: 20px;
  color: rgb(20, 20, 32);
}
.styles-header p {
  font-family: 'DidactGothic';
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}
.styles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.style-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.style-card h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 0.8rem;
}

.style-card p {
  font-size: 14px;
  line-height: 1.4;
  color: #444;
}

.why-choose-me {
  padding: 60px 20px;
}
.why-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.styles-header h1 {
  font-family: 'Italiana-Regular';
  font-size: 28px;
  margin-bottom: 20px;
  color: rgb(20, 20, 32);
}
.styles-header h2 {
  font-family: 'Italiana-Regular';
  font-size: 18px;
  margin-bottom: 20px;
  color: rgb(20, 20, 32);
  line-height: 1.4;
}

.styles-header p {
  font-family: 'DidactGothic';
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}
.why-choose-me{
  background-color: #f3f3f3;
}
.why-header h1{
  text-align: center;
  font-family: 'Italiana-Regular';
  font-size: 28px;
  margin-bottom: 20px;
  color: rgb(20, 20, 32);
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(20, 20, 32);
}
.why-header h2{
  text-align: center;
  font-family: 'Italiana-Regular';
  font-size: 14px;
  margin-bottom: 15px;
  color: rgb(20, 20, 32);
}

.why-header p{
  text-align: center;
  font-family: 'DidactGothic';
  font-size: 12px;
  margin-bottom: 10px;
  color: rgb(20, 20, 32);
}
.why-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-box h3 {
  font-family: 'Italiana-Regular';
  font-size: 16px;
  margin-bottom: 10px;
  color: rgb(20, 20, 32);
}
.why-box p {
  font-family: 'DidactGothic';
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.why-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.portfolio {
  padding: 60px 20px;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 40px;
}

.portfolio-header h1 {
  font-family: 'Italiana-Regular';
  font-size: 28px;
  margin-bottom: 10px;
  color: rgb(20, 20, 32);
}

.portfolio-header p {
  font-family: 'DidactGothic';
  font-size: 14px;
  color: #666;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.portfolio-item {
  overflow: hidden;
  border-radius: 8px;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-cta {
  margin-top: 40px;
  text-align: center;
}

.portfolio-cta a {
  font-family: 'DidactGothic';
  font-size: 14px;
  color: rgb(20, 20, 32);
  text-decoration: underline;
  transition: 0.3s ease;
}

.portfolio-cta a:hover {
  opacity: 0.7;
}
.extra-tablet,
.extra-desktop {
  display: none;
}
.cta {
  min-height: 25vh;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.cta-content h1 {
  font-family: 'Italiana-Regular';
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.cta-content p {
  font-family: 'DidactGothic';
  font-size: 14px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #fff;
  color: #000;
  font-family: 'DidactGothic';
  font-size: 14px;
  padding: 14px 32px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-button:hover {
  background-color: #e5e5e5;
}

.reviews {
  padding: 60px 20px;
  background-color: #fff;
}

.reviews-header {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-header h1 {
  font-family: 'Italiana-Regular';
  font-size: 28px;
  margin-bottom: 10px;
  color: rgb(20, 20, 32);
}

.reviews-header p {
  font-family: 'DidactGothic';
  font-size: 14px;
  color: #666;
}


.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.review-card {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
}

.review-text {
  font-family: 'DidactGothic';
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.review-author {
  font-family: 'Italiana-Regular';
  font-size: 14px;
  color: rgb(20, 20, 32);
}
.contact {
  position: relative;
  background: url("../images/contBackground.JPG") center/cover no-repeat fixed;
  padding: 60px 20px;
  z-index: 1;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.6)
  );
  z-index: -1;
}

.contact-overlay {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px 20px;
  border-radius: 25px;
  margin-bottom: 25px;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: black;
}

.contact-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.contact-text {
  font-family: 'DidactGothic';
  font-size: 14px;
  margin-bottom: 20px;
}


.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.contact-link {
  font-family: 'DidactGothic';
  font-size: 14px;
  color: black;
  text-decoration: none;
  padding-bottom: 5px;
}
.contact-link img {
  height: 1em;      
  width: auto;      
  display: inline-block;
}

.contact-link:hover {
  opacity: 0.7;
}


.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 26px;
  height: 26px;
}


.contact-map {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}
.footer {
  background-color: #fff;
  padding: 25px 20px;
  text-align: center;
}

.footer p {
  font-family: 'DidactGothic';
  font-size: 13px;
  color: #000;
}

@media (min-width: 768px) {

  .hero {
    background-image: url('../images/heroTab.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
     display: flex;
    align-items: flex-end;
  }
  .hero-content{
    width: 50%;          
    margin-left: auto;   
    padding: 40px;
  }
.logo-box {
      font-size: 27px;
      line-height: 1.2;
      letter-spacing: 11px;
      margin-bottom: 30px;
}
.hero-description{
  font-size: 18px;
}
.cta-container {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0px;
    padding-left: 40px;
}
.cta-container a {
  font-size: 12px;
  padding: 12px 40px;
}
.about-heading {

    font-size: 32px;}
    .about-cta{
      font-size: 13px;
    }
 .about-container {
    flex-direction: row;
    align-items: center;
  }

  .about-inner,
  .about-image {
    width: 50%;
  }

  .about-inner {
    text-align: left;
    padding-right: 20px;
  }
.about-eyebrow {
    font-size: 22px;
}

.about-content p {
        font-size: 15px;
    }

.why-choose-me
 {
    padding: 30px 20px;
}
.why-container {
display: flex;
    align-items: stretch;
    flex-direction: row;
    gap: 5px;
}
  .why-content {
    width: 50%;
  }

  .why-image {
    width: 50%;
  }
  .why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-header h1 {
  font-size: 21px;
}
 .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .extra-tablet {
    display: block;
  }
  .contact-wrapper {
    flex-direction: row;
    align-items: stretch;
  }

  .contact-info,
  .why-content {
    width: 50%;
  }

  .contact-map {
    width: 50%;
    height: auto;
    min-height: 400px;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .styles-header h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 44px;
  }
      .styles-header h1 {
        font-size: 44px;
    }
        .why-header h1 {
        font-size: 44px;
    }
  .hero {
    background-image: url('../images/heroDes.png');
  }

  .menu-toggle {
    display: none; 
  }

  #myLinks {
    position: static; 
    display: flex !important; 
    flex-direction: row;
    gap: 30px;
    background: transparent;
    padding: 0 0 0 20px;
    text-align: left;
    font-size: 25px;
  }

  #myLinks a {
    padding: 10px 20px;
  }
   #myLinks a:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .logo img {
    height: 100px;
    width: auto;
  }
    .logo-box {
        font-size: 33px;}
            .cta-container a {
        font-size: 15px;}

        .styles-header p {
    font-size: 14px;}

  .extra-desktop {
    display: block;
  }

  .about-container {
    flex-direction: row;       
    align-items: center;         
    gap: 40px;                 
  }

  .about-inner {
    flex: 1;                  
    text-align: left;
    overflow-y: auto;                  
  }

 .about-image {
    flex: 1;                  
    display: flex;
    justify-content: center;
    align-items: center;        
  }

  .about-image img {
    width: auto;               
    max-height: 70vh;               
    object-fit: cover;         
    border-radius: 8px;
  }


  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-item img {
    transition: transform 0.4s ease;
  }

  .portfolio-item:hover img {
    transform: scale(1.05);
  }

.why-choose-me
 {
    padding: 30px 20px;
}
.why-container {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  gap: 5px;
}
  .why-content {
    width: 50%;
  }

  .why-image {
    width: 50%;
  }
  .why-image img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}
.why-header p {
  font-size: 14px;
  color: #666;
}
.why-header h1 {
  font-size: 27px;
}


  .about-heading {
    font-size: 44px;
  }

  .about-content p {
    font-size: 16px;
  }
  .portfolio {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 60px;
  }

    .portfolio-grid {
    flex: 1; 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .portfolio-item {
    aspect-ratio: 1 / 1;
  }

  .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .reviews-header h1 {
    font-size: 32px;
  }
}


@media (min-width: 1260px) {
  .logo-box h1{
    font-size: 70px;
  }
    .about {
    padding: 60px 40px;
  }
    .about-container {    
    height: 90vh;   
        padding-left: 100px;
    padding-right: 100px;                     
  }
  .why-header p {
        font-size: 15px;
    }
    .why-header h2 {
    font-size: 16px;}
    .why-box p {
    font-size: 14px;}
    .portfolio-header p {
    font-size: 14px;}
  .styles-grid {
    gap: 3rem;
  }
   .styles-grid {
    grid-template-columns: repeat(4, 1fr); 
  }

  .style-card img {
    height: 300px;
  }
  .portfolio-header h1 {
    font-size: 44px;}
        .reviews-header h1
 {
        font-size: 44px;
    }
    .review-text{
      font-size: 16px;
    }
    .portfolio-cta a {
    font-size: 16px;}
    .about-cta {
    font-size: 13px;}
        .why-header p {
        font-size: 17px;
    }
    .why-box h3 {
    font-size: 17px;}
        .why-image img
 {
        max-height: 80vh;}
            .why-box p
 {
        font-size: 15px;
        line-height: 1.4;
    }
    .contact-text, .contact-link {
    font-size: 17px;}
    .footer p {
      font-size: 16px;
    }
}
