/* ===========================
   Gabor Enterprises
   Main Stylesheet
=========================== */
/* Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Source Sans 3', Arial, sans-serif;
    line-height:1.6;
    color:#333;
    background:#f7f7f7;
}


h1, h2, h3, h4,
nav a,
.hero-button{
    font-family:'Montserrat', Arial, sans-serif;
}

.container{
    width:95%;
    max-width:1320px;
    margin:auto;
}

/* ===========================
   Header
=========================== */

header{
    background:#f2e6d6;
    border-bottom:1px solid #ddd;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.header-main{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}


/* Logo + Text */

.header-left{
    display:flex;
    align-items:center;
    gap:25px;
}

.logo{
    width:280px;
    height:auto;
}

.header-info{
    border-left:3px solid #d4af37;
    padding-left:20px;
}

.tagline{
    font-size:14px;
    font-weight:600;
    color:#444;
    margin-bottom:3px;
}

.service-area{
    font-size:13px;
    color:#777;
}


/* Right Side */

.header-right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}


/* Phone */


.header-phone{
    text-align:right;
    color: black;
    font-size:17px;
    font-weight:bold;
    line-height:1.2;
}

.header-phone span{
    display:inline;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#777;
    margin-right:8px;
}


/* ===========================
   Navigation
=========================== */

nav{
    background:#f2e6d6;
    padding:18px 0 12px;
}

.nav-menu{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:30px;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-menu > li{
    position:relative;
}

.nav-menu > li > a{
    display:flex;
    align-items:center;
    color:#7A1E1E;
    text-decoration:none;
    font-family:'Montserrat', sans-serif;
    font-weight:700;
    font-size:17px;
    text-transform:uppercase;
    transition:.3s;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active{
    color:#b8941f;
}
/* ===========================
   Dropdown Menu
=========================== */

.nav-arrow{

    display:inline-block;

    width:7px;
    height:7px;

    margin-left:8px;
    margin-top:-3px;

    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;

    transform:rotate(45deg);

    transition:transform .25s ease;

}

.dropdown:hover .nav-arrow{

    transform:rotate(-135deg);

}

.dropdown-menu{

    position:absolute;

    top:calc(100% + 18px);
    left:50%;
    transform:translateX(-50%);

    min-width:260px;

    padding:10px 0;
    margin:0;

    list-style:none;

    background:#ffffff;

    border-top:4px solid #d4af37;
    border-radius:8px;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    opacity:0;
    visibility:hidden;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index:1000;

}

.dropdown:hover .dropdown-menu{

    opacity:1;
    visibility:visible;

    transform:translateX(-50%) translateY(6px);

}

.dropdown-menu li{

    width:100%;

}

.dropdown-menu li a{

    display:block;

    padding:12px 20px;

    color:#555;
    text-decoration:none;

    font-size:15px;
    font-weight:600;

    text-transform:none;

    transition:.25s;

}

.dropdown-menu li a:hover{

    background:#faf3f3;
    color:#7A1E1E;

    padding-left:26px;

}
/* ===========================
   Company Intro Hero
=========================== */

.company-hero{

    background-image:url("images/home-image.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    /* creates the moving effect while scrolling */
    background-attachment:fixed;

    height:380px;

    color:white;
    position:relative;
    overflow:hidden;

}

.company-overlay{

    /* darker gray transparent overlay */
    background:rgba(40,40,40,.55);

    width:100%;
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

}

.company-hero h1{

    font-size:34px;
    max-width:850px;
    margin:0 auto 15px;
    line-height:1.25;
    font-weight:700;

}


.company-hero p{

    font-size:17px;
    max-width:750px;
    margin:auto;
    line-height:1.6;


}
/* ===========================
   Company Intro Modern Section
=========================== */

.company-intro{

    background:#f7f7f7;
    padding:80px 20px;

}


.intro-grid{

    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:50px;
    align-items:center;

}


.intro-text h2{

    color:#7A1E1E;
    font-family:'Montserrat', sans-serif;
    font-size:38px;
    margin-bottom:25px;
    line-height:1.2;

}


.intro-text p{

    color:#555;
    font-size:18px;
    line-height:1.8;
    margin-bottom:20px;

}


/* Certification Card */

.certification-card{

    background:white;
    padding:40px;
    border-radius:12px;

    box-shadow:
    0 15px 35px rgba(0,0,0,.12);

    border-top:5px solid #d4af37;

    text-align:center;

}


.cert-icon{

    width:60px;
    height:60px;

    margin:0 auto 20px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#7A1E1E;
    color:white;

    border-radius:50%;

    font-size:30px;
    font-weight:bold;

}


.certification-card h3{

    font-family:'Montserrat', sans-serif;
    color:#7A1E1E;

    font-size:24px;
    margin-bottom:15px;

}


.certification-card p{

    color:#555;
    font-size:16px;
    line-height:1.7;

}


/* Mobile */

@media(max-width:768px){

    .intro-grid{

        grid-template-columns:1fr;
        gap:30px;

    }


    .intro-text h2{

        font-size:30px;

    }

}
/* ===========================
   Button
=========================== */

.button{
    background:#d4af37;
    color:#222;
}

.button:hover{
    background:#e5bf46;
}

/* ===========================
   Sections
=========================== */


section h2{
    color:#003366;
    margin-bottom:20px;
}

/* ===========================
   Services
=========================== */

.services{
    background:#fff;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:30px;
}

.card{
    background:#f7f7f7;
    padding:25px;
    border-radius:8px;
    box-shadow:0 0 10px rgba(0,0,0,.10);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card h3{
    color:#003366;
    margin-bottom:15px;
}

/* ===========================
   Gallery
=========================== */

.gallery{
    background:#fff;
}

.gallery h2{
    text-align:center;
    margin-bottom:30px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.gallery-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:8px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

/* ===========================
   Contact
=========================== */

.contact{
    text-align:center;
}

.contact a{
    color:#003366;
    text-decoration:none;
}

.contact a:hover{
    text-decoration:underline;
}

/* ===========================
   About & Services Feature
=========================== */

.feature-content-section{

	background:#efefef; 
    padding:80px 20px 10px 20px;

}


.feature-row{

    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:60px;

    margin-bottom:80px;

}


.feature-row.reverse{

    direction:rtl;

}


.feature-row.reverse .feature-text{

    direction:ltr;

}


.feature-image img{

    width:100%;
    height:350px;

    object-fit:cover;

    border-radius:8px;

}


.feature-text h2{

    color:#7A1E1E;

    font-family:'Montserrat', sans-serif;

    font-size:36px;

    margin-bottom:20px;

}


.feature-text p{

    color:#555;

    font-size:18px;

    line-height:1.8;

    margin-bottom:20px;

}

.feature-text p:last-of-type{
    margin-bottom:0;
}


.feature-text a{

    display:inline-block;

    color:#7A1E1E;

    font-family:'Montserrat', sans-serif;

    font-weight:600;

    text-decoration:none;

    border-bottom:2px solid #d4af37;

    padding-bottom:5px;

    transition:.3s;

}


.feature-text a:hover{

    color:#5E1717;

}

/* ===========================
   Projects Highlight
=========================== */

.projects-highlight{
    background:#faf3f3;          /* Very light red tint */
    padding:90px 20px;
    border-top:1px solid #ecd8d8;
	border-bottom:1px solid #ecd8d8;
}

.projects-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:70px;
    align-items:center;
}

/* Left Side */

.projects-left{
    text-align:center;
}

.section-label{
    display:block;
    color:#b8860b;
    font-size:13px;
    letter-spacing:2px;
    font-weight:700;
    margin-bottom:10px;
    text-transform:uppercase;
}

.projects-left h2{
    color:#7A1E1E;
    font-size:36px;
    font-family:'Montserrat', sans-serif;
    margin-bottom:20px;
}

.projects-left p{
    color:#555;
    font-size:18px;
    line-height:1.8;
    max-width:700px;
    margin:0 auto 35px;
}

.projects-button{
    display:inline-block;
    background:#7A1E1E;
    color:#fff;
    padding:14px 38px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.projects-button:hover{
    background:#5E1717;
    transform:translateY(-2px);
}

/* Right Side */

.projects-right{
    background:#fff;
    border:1px solid #ead7d7;
    border-radius:12px;
    padding:40px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.project-stat{
    text-align:center;
    font-size:20px;
    font-weight:600;
    color:#666;
    margin-bottom:30px;
}

.project-stat span{
    display:block;
    font-size:56px;
    color:#d4af37;   /* Brand gold */
    line-height:1;
    margin-bottom:8px;
    font-weight:700;
}
.projects-right ul{
    list-style:none;
    padding:0;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px 30px;
}

.projects-right li{
    color:#444;
    font-size:17px;
}

@media(max-width:900px){

    .projects-grid{
        grid-template-columns:1fr;
    }

    .projects-right ul{
        grid-template-columns:1fr;
    }
}

/* ===========================
   Main Hero CTA
=========================== */

.main-hero{

    background:#f7f7f7;
    padding:110px 20px;
    text-align:center;

}

.hero-content{

    max-width:900px;
    margin:0 auto;

}

.hero-content h2{

    color: black;
    font-family:'Montserrat', sans-serif;
    font-size:40px;
    font-weight:700;
    line-height:1.15;
    margin-bottom:25px;

}

.hero-content p{

    color:black;
    font-size:20px;
    line-height:1.8;
    max-width:760px;
    margin:0 auto 45px;

}

.hero-outline-button{

    display:inline-block;

    padding:18px 46px;

    background:#d4af37;
    color:#7A1E1E;

    text-decoration:none;
    font-family:'Montserrat', sans-serif;
    font-size:16px;
    font-weight:700;
    letter-spacing:.5px;

    border-radius:50px;

    transition:.3s;

}

.hero-outline-button:hover{

    background:#b8941f;
    color:#fff;

    transform:translateY(-3px);

}


@media(max-width:768px){

    .main-hero{
        padding:80px 20px;
    }

    .hero-content h2{
        font-size:36px;
    }

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

}
/* ===========================
   Footer Image Banner
=========================== */

.footer-image{

    background-image:url("images/hero.jpg");
    background-repeat:no-repeat;
    background-position:center center;
    background-size:100% auto;

    height:220px;
    width:100%;

}

/* ===========================
   Footer
=========================== */

footer{
	background:#7A1E1E;
    color:#fff;
    padding:45px 60px;
    margin-top: 0;
    border-top:4px solid #5E1717;

}

.footer-container{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    align-items:start;
    max-width:1300px;
    margin:0 auto;
}
.footer-left{
    justify-self:start;     /* stays toward the left edge */
}

.footer-center{
    justify-self:center;    /* perfectly centered */
    text-align:center;
}

.footer-right{
    justify-self:end;
    text-align:right;
    max-width:220px;
}
/* ===========================
   Left - Quick Links
=========================== */



.footer-left h4{
    font-size:18px;
    font-weight:bold;
    color:#fff;
    margin-bottom:15px;
}

.footer-left ul{
    list-style:none;
    padding:0;
}

.footer-left ul li{
    margin-bottom:10px;
}

.footer-left ul li a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.footer-left ul li a:hover{
    color:#ffc107;
}

/* ===========================
   Center
=========================== */

.footer-center{
    text-align:center;
}

.footer-center p{
    margin:6px 0;
    color:#fff;
}

/* ===========================
   Right - Contact Info
=========================== */

.footer-right h4{
    font-size:18px;
    font-weight:bold;
    color:#fff;
    margin-bottom:15px;
}

.footer-right p{
    margin:10px 0;
    color:#fff;
    line-height:1.5;
	word-wrap:break-word;
    overflow-wrap:break-word;
}

.footer-right strong{
    font-weight:bold;
}

.footer-right a{
    color:#fff;
    text-decoration:none;
}

.footer-right a:hover{
    color:#ffc107;
}

/* ===========================
   Back to Top
=========================== */

.back-to-top{
    display:inline-block;
    margin-top:10px;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.back-to-top:hover{
    color:#ffc107;
}

#menuToggle{
    display:none;
}

.mobile-nav,
.nav-overlay{
    display:none;
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 950px) {

	.header-main{
        flex-direction:column;
        gap:20px;
    }

    .header-left{
        flex-direction:column;
        text-align:center;
    }

    .header-info{
        border-left:none;
        border-top:3px solid #d4af37;
        padding-left:0;
        padding-top:10px;
    }

    .header-right{
        align-items:center;
    }

    /* Keep the nav horizontal on tablets */
	.nav-menu{
		justify-content:center;
		flex-wrap:wrap;
		gap:20px;
	}

	/* Hide dropdown arrows */
	.nav-arrow{
		display:none;
	}

	/* Hide all dropdown menus */
	.dropdown-menu{
		display:none !important;
	}

	/* Make every top-level link behave like a normal link */
	.nav-menu > li > a{
		justify-content:center;
	}

}

@media (max-width:768px){
	/* Overlay */
	.nav-overlay{
		position:fixed;
		inset:0;
		background:rgba(0,0,0,.45);
		display:none;
		z-index:998;
	}

	.nav-overlay.active{
		display:block;
	}

	/* Mobile Menu */
	.mobile-nav{
		display:block;
		position:fixed;
		top:0;
		left:-320px;
		width:300px;
		height:100vh;
		overflow-y:auto;

		background:#f2e6d6;          /* Same as header */

		transition:left .3s ease;
		z-index:99999;

		box-shadow:8px 0 25px rgba(0,0,0,.15);
	}

	.mobile-nav.active{
		left:0;
	}

	/* Header */
	.mobile-nav-header{
		display:flex;
		justify-content:space-between;
		align-items:center;

		padding:20px 24px;

		border-bottom:1px solid #ddd;
	}

	.mobile-nav-header h3{
		margin:0;
		color:#7A1E1E;
		font-family:'Montserrat',sans-serif;
		font-size:22px;
	}

	#closeMenu{
		background:none;
		border:none;
		color:#7A1E1E;
		font-size:34px;
		cursor:pointer;
		transition:.25s;
	}

	#closeMenu:hover{
		color:#b8941f;
	}

	/* Menu */
	.mobile-nav ul{
		list-style:none;
		margin:0;
		padding:18px 0;
	}

	.mobile-nav li{
		margin:0;
	}

	/* Links */
	.mobile-nav a{
		display:block;

		padding:14px 28px;

		color:#7A1E1E;
		text-decoration:none;

		font-family:'Montserrat',sans-serif;
		font-size:16px;
		font-weight:700;

		transition:.25s;
	}

	.mobile-nav a:hover{
		background:#e9dac5;
		color:#b8941f;
		padding-left:36px;
	}

	/* Section headings */
	.mobile-nav .menu-title{
		padding:20px 28px 8px;

		color:#777;
		font-size:12px;
		font-weight:700;
		letter-spacing:1.5px;
		text-transform:uppercase;

		cursor:default;
	}

    .header-main{
        display:flex;
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        gap:15px;
    }

    /* Left side */
    .header-left{
        display:flex;
        flex-direction:row;   /* add this */
        align-items:center;
        gap:15px;
    }

    .logo{
        width:180px;
        height:auto;
    }

    /* Right side */
    .header-right{
        display:flex;
        flex-direction:column;
        align-items:flex-end;
    }

    .header-phone{
        text-align:right;
        font-size:15px;
        line-height:1.2;
    }

    .header-phone span{
        display:block;
        font-size:11px;
        margin:0;
    }

    /* Desktop nav hidden */
    .desktop-nav{
        display:none;
    }

    /* Hamburger */
    #menuToggle{
        display:flex;
        align-items:center;
        justify-content:center;

        width:46px;
        height:46px;

        border:none;
        border-radius:6px;

        background:#7A1E1E;
        color:#fff;

        font-size:28px;
        cursor:pointer;
    }
    
    .hero{
        height:400px;
    }

    .hero h2{
        font-size:2rem;
    }

    .hero p{
        font-size:1rem;
        padding:0 20px;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }
	.feature-row,
    .feature-row.reverse{

        grid-template-columns:1fr;
        direction:ltr;

        gap:30px;

        margin-bottom:50px;

    }


    .feature-image img{

        height:250px;

    }


    .feature-text h2{

        font-size:30px;

    }
	footer{
        padding:35px 20px;
    }

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

    .footer-left,
	.footer-center,
	.footer-right{
		width:100%;
		text-align:center;
		justify-self:center;
		max-width:none;
	}

    .footer-left ul li{
        margin-bottom:8px;
    }

    .back-to-top{
        margin-top:15px;
    }

}

@media (max-width:500px){

    .nav-menu{
        flex-direction:column;
        gap:12px;
    }

}