/*------------------------------------------------------------------

Project:	Treviso - One page multi purpose page
Version:	1.0
Last change:	17/08/2015 [...]
Designed by:	MOOZ Themes / www.MOOZthemes.com
Primary use:	One page

/*--------------------
Import Google Fonts
--------------------*/

/* main font for menu. */
@import url(http://fonts.googleapis.com/css?family=Roboto:400|Raleway:200,300,400,500,700,900);
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*--------------------
1. General
--------------------*/

body {
	margin: 0px;
	font-family: "Barlow", Sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 200;
	letter-spacing: 0.4px;
	font-family: "Barlow", Sans-serif;
	color: #232323;
}

p {
	font-family: 'Barlow', sans-serif;
	font-size: 17px;
	font-weight: 300;
	line-height: 28px;
	letter-spacing: 0.2px;
	color: #252525;
}

a:hover, a:focus, a:active, a.active {
    color: #FA8229;
}
a, a:hover, a:focus, a:active, a.active {
    outline: 0;
}

::selection {
    text-shadow: none;
    background: #fed136;
}

@media (min-width: 768px) {
	section {
	    padding: 150px 0;
	}
}

section {
	padding: 35px 0 60px;
}

/*--------------------
1.1 Reset bootstrap
--------------------*/

.row-0-gutter {
    margin-left: 0;
    margin-right: 0;
}

.col-0-gutter {
	padding-left: 0;
	padding-right: 0;
}

/*--------------------
2. Navigation
--------------------*/

.navbar-default {
	background-color: #F1F1F1;
	border-color: transparent
}
.navbar-default .navbar-brand {
	color: #fff;
    padding: 5px;
}


.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:active,.navbar-default .navbar-brand.active {
	color: #FA8229
}
.navbar-default .navbar-collapse {
	border-color: rgba(255,255,255,.02)
}
.navbar-default .navbar-toggle {
	background-color: #dd3063;
	border-color: #f98228
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #fff
}
.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus {
	background-color: #fed136
}
.navbar-default .nav li a {
    font-family: "Roboto",sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    border-bottom: 1px solid;
    border-color: #000;
    margin: 10px 15px;
    padding: 0 0 2px 0;
}

.navbar-default .nav li a:hover,.navbar-default .nav li a:focus {
	border-color: #991919;
	outline: 0
}

.navbar-default .navbar-nav>.active>a {
	border-radius: 0;
	color: #fff;
	background-color: #FA8229
}
.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus {
	color: #fff;
	background-color: #FA8229
}

@media (min-width:768px) {
	.navbar-default
	{
		background-color: transparent;
		padding: 40px 0 0px;
    	-webkit-transition:padding .3s;
		-moz-transition:padding .3s;
		transition:padding .3s;
		border:0
	}
	.navbar-default .navbar-brand {
		font-size: 2em;
		-webkit-transition:all .3s;
		-moz-transition:all .3s;
		transition:all .3s
        padding: 0px;
	}
	.navbar-default .navbar-nav>.active>a {
		border-radius: 3px
	}
	.navbar-default.navbar-shrink {
		background-color: #222;
		padding: 10px 0
	}
    .navbar-nav>li>a {
        padding-top: 15px;
        padding-bottom: 4px;
    }
}

/*--------------------
4. Sections
--------------------*/

.section-title {
	padding-bottom: 30px;
}

.section-title h2 {
	font-size: 45px;
	text-transform: uppercase;
}

.section-title p {
	font-size: 18px;
	font-weight: 300;
	line-height: 33px;
	margin: 25px 100px 30px 100px;
}

.mz-module .section-title {
    padding: 40px 0;
}

/*--------------------
4.1. About
--------------------*/

.mz-about-container {
  padding: 0 50px;
  overflow: hidden; /* prevents horizontal scroll */
  text-align: left;
}


.mz-module-about {
	padding: 20px;
}

.mz-about-default {
    background-color: #252525;
}

.mz-about-dark {
    background-color: #2B2B2B;
}

.mz-module-about h3 {
font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: #FFFFFF;
    letter-spacing: 2px;
    margin-bottom: 30px;
    }

.mz-module-about p {
	font-size: 14px;
	font-weight: 400;
	line-height: 27px;
	color: #9C9C9C;
}

.ot-circle {
	text-align: center;
	color: #E8E8E8;
	margin: 40px 0;
	font-size: 37px;
}

.mz-about-container {
  
}

.about-full-img {
  width: calc(100% + 100px);
  max-width: none;
  margin-left: -50px;
  margin-right: -50px;
  margin-bottom: 30px; display: block;
}padding-bottom: 30px;
/*--------------------
4.2. Skills
--------------------*/

.skills-text h2 {
    margin: 0 0 30px;
}

.skillbar-item {
    margin-bottom: 30px;    
}

.skillbar-item:last-child {
    margin-bottom: 60px;    
}

.skillbar {
    position: relative;
    display: block;
    width: 100%;
}

.skillbar-bar {
    display: block;
    background-color: #FFFFFF;
    height: 10px;
    width: 100%;
    border: 1px solid #D8D8D8;
    border-radius: 10px;
}

.skillbar h3 {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #3A3A3A;
    letter-spacing: 2px;    
    margin: 0;
    padding: 0 0 12px 0;
}

.skillbar-percent {
    color: #fff;
    background-color: #dd3063;
    float: left;
    height: 4px;
    margin: 2px 0;
    border-radius: 10px;
    border: 1px solid #dd3063;
}

/*--------------------
4.3. Portfolio (FIXED)
--------------------*/
/* ---------- Custom Modal Size ---------- */
.modal-dialog {
    max-width: 900px;   /* Adjust width here */
    width: 90%;         /* Responsive */
    margin: 30px auto;
}
/* CLICKABLE MODAL LINK — MUST BE ON TOP */
.ot-portfolio-item figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}
figure {
	position: relative;
	overflow: hidden;
	margin: 0 1px 1px 0;
	background: #726FB9;
	text-align: center;
	cursor: pointer;
}

figcaption {
	position: absolute;
	inset: 0;
}

/* ---------- Bubba Effect ---------- */

figure.effect-bubba {
	position: relative;
	background: #000;
	margin-bottom: 1px;
	overflow: hidden;
}

/* IMAGE (bottom layer) */
figure.effect-bubba img {
	position: relative;
	z-index: 0;
	opacity: 0.85;
	transition: opacity 0.35s ease;
}

/* DARK OVERLAY (middle layer) */
figure.effect-bubba::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.30);
	opacity: 1;
	transition: opacity 0.35s ease;
	z-index: 1;
}

/* TEXT CONTAINER (top layer) */
figure.effect-bubba figcaption {
	position: absolute;
	inset: 0;
	z-index: 3;
}

/* BORDER ANIMATION */
figure.effect-bubba figcaption::before,
figure.effect-bubba figcaption::after {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	content: '';
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
	z-index: 2;
}

figure.effect-bubba figcaption::before {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transform: scale(0,1);
}

figure.effect-bubba figcaption::after {
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	transform: scale(1,0);
}

/* TEXT */
figure.effect-bubba h2 {
	position: relative;
	z-index: 4;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	padding-top: 30%;
	transform: translate3d(0,-20px,0);
	transition: transform 0.35s ease;
}

figure.effect-bubba p {
	position: relative;
	z-index: 4;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	padding: 20px 2.5em;
	opacity: 0;
	transform: translate3d(0,20px,0);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ---------- HOVER STATE ---------- */

figure.effect-bubba:hover::before {
	opacity: 0.3;
}

figure.effect-bubba:hover img {
	opacity: 0.5;
}

figure.effect-bubba:hover figcaption::before,
figure.effect-bubba:hover figcaption::after {
	opacity: 1;
	transform: scale(1);
}

figure.effect-bubba:hover h2,
figure.effect-bubba:hover p {
	opacity: 1;
	transform: translate3d(0,0,0);
}
/*--------------------
4.4. Dark Short section (counters, quote, etc)
--------------------*/

.light-bg {
    background: #f1f1f1;
}

/*--------------------
4.5. Intro Text
--------------------*/

.intro-section {
	padding: 60px 0 0 0;
	margin: 0;
}

.intro-section .section-title {
/*	padding: 0px 85px; */
	text-align: justify;	
}

.intro-section p {
	font-size: 14px;
	color: #6B6B6B;
	font-weight: 500;
	line-height: 32px;
	padding: 47px;
	font-family: "Raleway";
	margin: 0;
	background-color: #F9F9F9;
}

/*--------------------
4.6. Team
--------------------*/

.team-item {
    text-align: center;
    background-color: #F5F5F5;
}

.team-item h3 {
font-size: 25px;
    font-weight: 300;
    margin: 30px 0 20px;
    text-transform: uppercase;
}

.team-item .team-position {
color: #565656;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.team-item p {
	font-size: 13px;
	font-weight: 500;
	color: #848484;
	padding: 18px 30px 35px 30px;
	line-height: 24px;
}

/*--------------------
4.7. Contacts
--------------------*/

section#contact form {
    width: 60%;
    margin: 15px auto;
}

section#contact.form-group {
margin-bottom: 25px;
}

section#contact .form-group input, section#contact .form-group textarea {
    padding: 15px;
    border: 1px solid #BBBBBB;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
    font-size: 13px;
}

.contact h3 {
    margin-bottom: 30px;
}

.contact p {
    font-size: 13px;
}

.contact .day {
    display: inline-block;
    width: 80px;
}

.contact i {
    margin-right: 5px;
}

/*--------------------
5. Footer
--------------------*/

footer {
    padding: 30px;
    background-color: #000;    
}

footer p {
    color: #B7B7B7;
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1.6px;
}

footer p a {
    color: #fff;
}

footer p a span {
    color: #FF9F46;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

/*--------------------
6. Modal
--------------------*/

.modal-content {
	border-radius: 0;	
}
.modal-header .close {
	font-size: 30px;	
}
.modal-title {    
	text-transform: uppercase;
	font-size: 23px;
}

.modal-body {
	padding: 0;
}

.modal-body p {
	margin: 30px 20px;
	color: #2D2D2D;		
}

.modal-body img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-works {
font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    margin: 25px 20px;
}

.modal-works span {
	background-color: #f98228;
    margin-right: 15px;
    padding: 5px 10px;
}

/*--------------------
7. Components
--------------------*/

.btn-xl:hover, .btn-xl:focus, .btn-xl:active, .btn-xl.active, .open .dropdown-toggle.btn-xl {
    color: #fff;
    background-color: #FA8229;
    border-color: #f6bf01;
}

.btn:hover, .btn:focus, .btn:active, .btn.active, .open .dropdown-toggle.btn {
    color: #fff;
    background-color: #27479D;
    border-color: #27479D;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-xl {
    color: #fff;
     background-color: #726FB9;
    border-color: #726FB9;
    font-family: "Robot",sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 3px;
    font-size: 18px;
    padding: 20px 40px;
}

/* Back to top button
---------------------------------- */
#back-top {
    position: fixed;
    z-index: 1000;
    bottom: 40px;
    right: 50px;
}
#back-top a {
    width: 60px;
    height: 60px;
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    background: #A9A9B1;
    /* background color transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    background: #fed136;
}
/* arrow icon (span tag) */
#back-top i {
    margin-top: 15px;
    font-size: 28px;
}

@media only screen
and (min-width : 320px)
and (max-width : 480px) {
#back-top {
    position: fixed;
    bottom: 10px;
    right: 30px;
}
#back-top a {
    width: 40px;
    height: 40px;
}
#back-top i {
    margin-top: 7px;
    font-size: 20px;
}
}

 /* ... Instagram Reels ... */
.reels-wrapper {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

/* Desktop: 2 columns */
.reels-wrapper .instagram-media {
  flex: 1 1 50%;
  max-width: 245px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Mobile fix */
@media (max-width: 600px) {
  .reels-wrapper {
    flex-direction: column;
  }

  .reels-wrapper .instagram-media {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* VERY IMPORTANT — reset iframe height */
  .reels-wrapper iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16;
  }
}

@media (min-width: 768px) {
    /* ... your existing navbar-default code ... */

    /* 1. Control the size of the logo image on Desktop */
    .navbar-brand img {
        height: 50px;       /* Adjust this value to your preferred desktop size */
        width: auto;        /* Keeps the logo from stretching */
        display: inline-block;
        -webkit-transition: all .3s; /* Matches the transition effect of your theme */
        transition: all .3s;
    }

    /* 2. Optional: Shrink the logo when scrolling */
    /* This works if your theme adds the 'navbar-shrink' class on scroll */
    .navbar-shrink .navbar-brand img {
        height: 35px; 
    }
}
@media (max-width: 767px) {
    .mz-module-about {
        /* Very tight vertical spacing for mobile */
        padding: 15px 10px 25px 10px !important;
    }

    .ot-circle {
        /* Minimal margin for mobile icons */
        margin: 10px 0 5px 0 !important;
        font-size: 30px;
    }

    .mz-module-about h3 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
	.navbar-brand img {
        height: 40px !important; /* Adjust this number to the desired mobile size */
        width: auto !important;
        display: inline-block !important;
    }

    .navbar-default .navbar-brand {
        padding-top: 15px !important;
        padding-bottom: 20px !important;
        height: auto !important;
    }

    .navbar-default .navbar-toggle {
        /* This pushes the button down from the top edge */
        margin-top: 18px !important; 
        
        /* This ensures the grey bar has space at the bottom too */
        margin-bottom: 10px !important;
        
        /* Optional: adjust the right-hand spacing if it's too close to the edge */
        margin-right: 15px;
    }
	.section-title p {
        /* Reduce side margins so text can spread out on mobile */
        margin-left: 15px !important;
        margin-right: 15px !important;
        
        /* Optional: Tighten up the top/bottom spacing too */
        margin-top: 15px !important;
        margin-bottom: 20px !important;
        
        /* Adjust font size and line height for better mobile readability */
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .section-title h2 {
        font-size: 30px !important; /* Makes the heading fit better on one line */
    }
}