/* RESET BASE */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* COLORS */
:root {
    --primary-color: #ff3131;
    --second-color: #1C2526;
    --gunmetal-gray: #353535;
    --white: #ffffff;
    --black: #000000;
    --agency: #171717;
}

/*** BEGIN GLOBAL STYLES ***/
body {
    background-color: var(--gunmetal-gray);
    color: var(--black);
    line-height: 1.6;
}
.row {
    height: auto;
    border: none;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.hidden {
    display: none;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* Begin Hero */
.hero-intro {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}
.hero-about {
    background: url('../assets/about_hero.jpg') no-repeat center center/cover;
}
.hero-services {
    background: url('../assets/services_hero.jpg') no-repeat center center/cover;
}
.hero-gallery {
    background: url('../assets/gallery_hero.jpg') no-repeat center center/cover;
}
.hero-contacts {
    background: url('../assets/contacts_hero.jpg') no-repeat center center/cover;
}
.hero-intro h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-intro p {
    font-size: 1.2rem;
    color: var(--white);
}
/* End Hero */
/*** BEGIN GLOBAL STYLES ***/


/*** Begin Header ***/
header {
    background-color: var(--second-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.nav-wrapper{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-wrapper-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-link {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
}
.nav-logo-img{
    width: 5vw;
}
.nav-menu-large{
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-menu-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}
.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 768px) {
    .nav-logo-img{
        width: 10vw;
    }
    .nav-menu-large {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background-color: var(--second-color);
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-menu-large.active {
        display: flex;
    }

    .nav-menu-large li {
        margin: 10px 20px;
    }

    .hamburger {
        display: flex;
    }
}
/*** End Header ***/



/*** Begin Homepage ***/
/* Begin Hero */
.hero {
    height: 100vh;
    background: url('../assets/homepage_hero.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--white);
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
/* End Hero */
/* Begin Intro Section */
.intro {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.intro h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
/* End Intro Section */
/* Begin Services Preview Section */
.services-preview {
    padding: 80px 0;
    background-color: var(--second-color);
    color: var(--white);
    text-align: center;
}

.services-preview h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.service-card {
    background-color: #2E2E2E;
    padding: 30px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
}

.service-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
}
/* End Services Preview Section */
/* Begin Gallery Preview Section */
.gallery {
    background-color: var(--white);
}
.gallery-preview {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.gallery-preview h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 80%;
    margin: auto;
    padding: 50px 0;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}
/* End Gallery Preview Section */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .cta-button {
        padding: 10px 20px;
    }

    .intro h2,
    .services-preview h2,
    .gallery-preview h2 {
        font-size: 28px;
    }
}
@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .intro,
    .services-preview,
    .gallery-preview {
        padding: 40px 0;
    }
}
/*** End Homepage ***/




/*** Begin Services ***/
.cta-section {
    background-color: white;
    padding: 50px;
}
.cta-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/*** End Services ***/



/*** Begin About Us ***/
.about {
    padding: 4rem 0;
    background: #f9f9f9;
}
.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
/* Begin Values Section */
.values {
    padding: 4rem 0;
    background-color: var(--white);
}

.values h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.value-item {
    text-align: center;
    background-color: var(--gunmetal-gray);
    border-radius: 10px;
    padding: 20px;
    color: var(--white);
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
/* End Values Section */
/*** End About Us ***/





/*** Begin Contact ***/
.contact-page {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    padding: 50px 0;
  }
  
  .contact-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .contact-intro p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
  }
  
.form-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 30%;
}
  
.form-group,
.form-group-double {
    margin-bottom: 20px;
}
  
.form-group label,
.form-group-double label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
  
.form-group input,
.input,
.form-group textarea,
.form-group-double input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
.form-group-privacy {
    display: flex;
    flex-direction: row;
}
.contact-info {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-info h2 {
    font-size: 1.8rem;
}
.privacy-checkbox {
    width: 25px;
    height: 25px;
    accent-color: var(--primary-color);
    margin-right: 10px;
}
.dots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
  }
  .dot {
    height: 20px;
    width: 20px;
    margin-right: 10px;
    border-radius: 10px;
    background-color: #ffc2c2;
    animation: pulse 1.5s infinite ease-in-out;
  }
  .dot:last-child {
    margin-right: 0;
  }
  .dot:nth-child(1) {
    animation-delay: -0.3s;
  }
  .dot:nth-child(2) {
    animation-delay: -0.1s;
  }
  .dot:nth-child(3) {
    animation-delay: 0.1s;
  }
  @keyframes pulse {
    0% {
      transform: scale(0.8);
      background-color: #ffc2c2;
      box-shadow: 0 0 0 0 rgba(255, 195, 195, 0.7);
    }
  
    50% {
      transform: scale(1.2);
      background-color: var(--primary-color);
      box-shadow: 0 0 0 10px rgba(255, 195, 195, 0);
    }
  
    100% {
      transform: scale(0.8);
      background-color: #ffc2c2;
      box-shadow: 0 0 0 0 rgba(255, 195, 195, 0.7);
    }
  }
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1070px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min-resolution: 192dpi) and (max-width: 1070px), only screen and (min-resolution: 2dppx) and (max-width: 1070px) {
    .contact-page {
        flex-direction: column;
        align-items: center;
    }
    .form-container {
        width: 90%;
    }
    .contact-form {
        width: 90%;
    }
    .contact-info {
        width: 90%;
        margin: 20px 0;
    }
}
/*** End Contact ***/



/*** Begin Footer ***/
footer {
    background-color: var(--gunmetal-gray);
    color: var(--white);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    width: 33%;
}

.footer-logo-img{
    width: 50%;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.footer-contact p {
    margin: 5px 0;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    font-size: 14px;
}

.footer-logo-container{
	display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo{
	max-width: 80%;
	height: auto;
}
.footer-signature{
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    justify-content: center;
    background-color: var(--agency);
}
.footer-link, .footer-link:visited {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}
.footer-privacy-link{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    display: flex;
    flex-direction: row;
}
.footer-privacy-link-item{
	margin-left:10px;
	font-size: 16px;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1070px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min-resolution: 192dpi) and (max-width: 1070px), only screen and (min-resolution: 2dppx) and (max-width: 1070px) {
.footer-row-ex{ padding-right: 0; }
.footer-signature{ flex-direction: column; }
.row {
    flex-direction: column;
    align-items: center;
}
.footer-content { width: 90%; }
}
/*** End Footer ***/