@import url(../css/author.css);
@import url(../css/alexandria.css);

/* variables */
:root {
    --c-dark: #212529;
    --c-brand: #eb2829;
    --c-brand-light: #e75d5d;
    --c-brand-rgb: 235, 40, 41;
    --c-body: #727272;
    --font-base: "Author", sans-serif;
    --font-base-ar: "Alexandria", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
    --box-shadow-dark: 0px 15px 25px rgba(0, 0, 0, 1);
    --transition: all 0.5s ease;
}

/* reset & helpers */

html {
    overflow-x: clip;
}


body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
    overflow-x: clip;
}

body:lang(ar-AR){font-family: var(--font-base-ar);}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color:var(--c-brand-light);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 140px;
    padding-bottom: 140px;   
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

.theme-shadow-dark {
    box-shadow: var(--box-shadow-dark);
}

.image-zoom {
    position: relative;
    overflow: hidden;
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img{
    transition: var(--transition);
} 

.image-zoom:hover .image-zoom-wrapper img{
    transform: scale(1.1);
}

/* navbar */

.navbar {
    box-shadow: var(--box-shadow);
}

.logo {
    max-width: 30%;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: large;
    color: var(--c-dark);
}

.navbar-brand {
    max-width: 50%;
}

.navbar-toggler {
  border: 0; /* Remove the default border */
  box-shadow: none; /* Remove the default box-shadow */
}

.navbar-toggler:focus,
.navbar-toggler:active {
  border: 0; /* Ensure no border on focus/active */
  box-shadow: none; /* Ensure no shadow on focus/active */
  background-color: rgba(var(--c-brand-rgb), 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--c-brand);
}

/* button */
.btn {
    font-weight: 600;
    font-size: 28px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
}

.btn-brand {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}

/* hero */
#home {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0), rgba(var(--c-brand-rgb), 0)), url(/assets/images/cover.png);
    background-position: center;
    background-size: cover;
}

.home-logo {
    max-height: min(50%, 250px);
    max-width: min(70%, 750px);
}

/* section title */
.section-title {
    margin-bottom: 60px;
}

.section-title .line{
    width: 60px;
    max-width: 100%;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
    
}

.section-title p{
    max-width: min(500px, 100%);
    margin-left: auto;
    margin-right: auto;
}

/* ICONBOX */
.iconbox {
    width: 25px;
    max-width:100%;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 20px;
    flex: none;
}

/* counter */
#counter {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0), rgba(var(--c-brand-rgb), 0)), url(/assets/images/10016491_27230.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#counter h1{
    font-size: 50px;
}

#counter h2{
    font-size: 45px;
}

/* depo */
#depo h1{
    font-size: 60px;
}

#depo p{
    font-size: 20px;
    font-weight: 500;
}

#depo .ar{
    font-size: 18px;
}

/* gallery */
.gallery-item .iconbox{
    background-color: var(--c-brand);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 50px;
    height: 50px;
    font-size: 40px;
}

.gallery-item:hover .iconbox{
    opacity: 1;
    top: 50%;
}

/* contact */
#contact-us {
    position: relative;
    z-index: 2;
}

#contact-us::after {
    content: "";
    width: 100%;
    height: 70%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contact-us a {
    font-weight: 600;
    font-size: 15pt;
    color: var(--c-dark);
}

/* footer */

footer {
    padding-top: 100px;
}

.footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.7);
}
