/* =========================================================
   Amaneddine
   Main Stylesheet
========================================================= */

/* ========= RESET ========= */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Inter",sans-serif;
    color:#222;
    background:#fff;
    line-height:1.7;
    overflow-x:hidden;

}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/* ========= VARIABLES ========= */

:root{

    --gold:#C5A46D;
    --dark:#111111;
    --white:#ffffff;
    --gray:#f7f7f7;
    --text:#222222;

    --transition:.35s ease;

    --container:1200px;

}

/* ========= CONTAINER ========= */

.container{

    width:min(92%,var(--container));
    margin:auto;

}

/* ========= HEADER ========= */

#header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    z-index:1000;

    transition:var(--transition);

}

#header.scrolled{

    background:white;

    box-shadow:0 6px 25px rgba(0,0,0,.08);

}

/* ========= NAVBAR ========= */

nav{

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

    height:90px;

}

.logo img{

    height:55px;

    transition:var(--transition);

}


/* Hero Section with Image Background */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* If using <img> tag */
.hero img.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* OR if using background-image on a div */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 800px;
}
#header.scrolled .logo img{

    height:45px;

}

.nav-links{

    display:flex;
    gap:45px;

}

.nav-links a{

    color:white;

    font-size:.95rem;

    letter-spacing:.08em;

    text-transform:uppercase;

    transition:var(--transition);

    font-weight:500;

}

#header.scrolled .nav-links a{

    color:#222;

}

.nav-links a:hover{

    color:var(--gold);

}

/* ========= MOBILE BUTTON ========= */

.mobile-toggle{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:2rem;

    cursor:pointer;

}

/* ========= HERO ========= */

.hero{

    position:relative;

    height:100vh;

    min-height:750px;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}

/* ========= VIDEO ========= */

.hero video{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

    z-index:-3;

}

/* ========= OVERLAY ========= */

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

    z-index:-2;

}

/* ========= HERO CONTENT ========= */

.hero-content{

    width:min(90%,900px);

    color:white;

    text-align:center;

    animation:fadeUp 1.2s ease;

}

.subtitle{

    display:block;

    color:var(--gold);

    font-size:.9rem;

    letter-spacing:.35em;

    margin-bottom:25px;

    text-transform:uppercase;

}

.color-gold {
    color:var(--gold);
}

.text-gold {
    color: var(--gold);
}
.hero h1{

    font-family:"Playfair Display",serif;

    font-size:4.8rem;

    line-height:1.1;

    font-weight:600;

    margin-bottom:35px;

}

.hero p{

    max-width:700px;

    margin:auto;

    font-size:1.2rem;

    font-weight:300;

    margin-bottom:45px;

}

/* ========= BUTTON ========= */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 42px;

    background:var(--gold);

    color:white;

    text-transform:uppercase;

    letter-spacing:.12em;

    font-size:.85rem;

    transition:var(--transition);

}

.btn:hover{

    background:white;

    color:#111;

    transform:translateY(-3px);

}

/* ========= SECTION ========= */

section{

    padding:110px 0;

}

/* ========= TITLES ========= */

.section-title{

    font-family:"Playfair Display",serif;

    font-size:3rem;

    margin-bottom:30px;

    color:#111;

}

.section-subtitle{

    color:var(--gold);

    text-transform:uppercase;

    letter-spacing:.2em;

    font-size:.9rem;

    margin-bottom:20px;

}

/* ========= ANIMATION ========= */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ========= RESPONSIVE ========= */

@media(max-width:992px){

    .hero h1{

        font-size:3.6rem;

    }

}

@media(max-width:768px){

    .nav-links{

        display:none;

    }

    .mobile-toggle{

        display:block;

    }

    .hero{

        min-height:650px;

    }

    .hero h1{

        font-size:2.8rem;

    }

    .hero p{

        font-size:1rem;

    }

}

@media(max-width:500px){

    .hero h1{

        font-size:2.2rem;

    }

    .subtitle{

        letter-spacing:.25em;

        font-size:.75rem;

    }

    .btn{

        width:100%;

        padding:16px;

    }
}

    /* =====================================
   MOBILE NAVIGATION
===================================== */

@media (max-width:768px){

    .nav-links{

        position:fixed;

        top:90px;

        right:-100%;

        width:280px;

        height:calc(100vh - 90px);

        background:white;

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:flex-start;

        padding-top:50px;

        gap:35px;

        transition:.4s;

        box-shadow:-5px 0 20px rgba(0,0,0,.08);

    }

    .nav-links.active{

        right:0;

    }

    .nav-links a{

        color:#222 !important;

    }

    .mobile-toggle{

        display:block;

    }

}
.nav-links a.active{

    color:var(--gold) !important;

}



#scrollTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:50px;

    height:50px;

    border:none;

    background:var(--gold);

    color:white;

    cursor:pointer;

    border-radius:50%;

    font-size:20px;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

#scrollTop.show{

    opacity:1;

    visibility:visible;

}

#scrollTop:hover{

    transform:translateY(-5px);

}
.fade{

    opacity:0;

    transform:translateY(50px);

    transition:1s;

}

.fade.show{

    opacity:1;

    transform:translateY(0);

}
/* ==========================
   SERVICES SECTION
========================== */

.services{
    background:#071c36;
    padding:110px 0;
    position:relative;
}

.services::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.08));
    pointer-events:none;
}

.services .container{
    position:relative;
    z-index:2;
}

.section-subtitle{
    display:block;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:.85rem;
    color:#c9a45b;
    font-weight:600;
    margin-bottom:15px;
}

.section-title{
    text-align:center;
    color:#fff;
    font-size:3rem;
    font-weight:700;
    margin-bottom:70px;
}

/* ==========================
   GRID
========================== */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(380px,1fr));
    gap:40px;
}

/* ==========================
   CARD
========================== */

.service-card{
    background:#0b2548;
    border:1px solid rgba(201,164,91,.18);
    border-radius:16px;
    padding:40px;
    transition:all .35s ease;
    box-shadow:0 15px 35px rgba(0,0,0,.18);
    position:relative;
    overflow:hidden;
}

.service-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:#c9a45b;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 45px rgba(0,0,0,.35);
    border-color:#c9a45b;
}

/* ==========================
   TEXT
========================== */

.service-card h3{
    color:#c9a45b;
    font-size:2rem;
    margin-bottom:25px;
    font-weight:700;
}

.service-card p{
    color:#f3f3f3;
    font-size:1rem;
    line-height:1.9;
    margin-bottom:18px;
}

.service-card p:last-child{
    margin-bottom:0;
}

/* Make numbered items easier to read */
.service-card p:not(:first-of-type){
    padding-left:18px;
    border-left:2px solid rgba(201,164,91,.35);
}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .services{
        padding:80px 0;
    }

    .services-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .service-card{
        padding:30px;
    }

    .section-title{
        font-size:2.2rem;
        margin-bottom:45px;
    }

}
.scroll-indicator{

    position:absolute;

    bottom:45px;

    left:50%;

    transform:translateX(-50%);

}

.scroll-indicator span{

    display:block;

    width:2px;

    height:70px;

    background:white;

    position:relative;

    overflow:hidden;

}

.scroll-indicator span::after{

    content:"";

    position:absolute;

    top:-30px;

    left:0;

    width:100%;

    height:30px;

    background:var(--gold);

    animation:scrollDown 2s infinite;

}

@keyframes scrollDown{

0%{

top:-30px;

}

100%{

top:70px;

}

}

.stats{

    background:#111;

    color:white;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    text-align:center;

    gap:40px;

}

.stat h2{

    font-size:3.5rem;

    color:var(--gold);

    font-family:"Playfair Display",serif;

}

.stat p{

    letter-spacing:.12em;

    text-transform:uppercase;

    margin-top:10px;

    color:#ddd;

    font-size:.9rem;

}

/* Clients Section */

.clients-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.clients-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 600;
}


.clients-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}


.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollClients 25s linear infinite;
}


.client-logo {
    width: 180px;
    height: 100px;
    margin: 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}


.client-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* Infinite scrolling animation */

@keyframes scrollClients {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* Pause when hovering */

.clients-slider:hover .clients-track {
    animation-play-state: paused;
}


/* Mobile */

@media(max-width:768px) {

    .client-logo {
        width: 130px;
        margin: 0 20px;
    }

    .clients-track {
        animation-duration: 18s;
    }

}

/* ==========================
   Team Section
========================== */

.team-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.team-container {
    max-width: 1200px;
    margin: auto;
}


.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-header h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.team-header p {
    max-width: 700px;
    margin: auto;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}


/* Team Grid */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


/* Member Card */

.team-member {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}


.team-member:hover {
    transform: translateY(-8px);
}


.team-member img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 25px;
}


.team-member h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #222;
}


.team-member span {
    display: block;
    color: #777;
    font-size: 15px;
    margin-bottom: 15px;
}


.team-member p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* Responsive */

@media (max-width: 900px) {

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

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

}

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

.contact-section {
    padding: 90px 20px;
    background-color: #f7f7f7;
}


.contact-container {
    max-width:1200px;
    margin:auto;
}


.contact-header {
    text-align:center;
    margin-bottom:60px;
}


.contact-header h2 {
    font-size:36px;
    margin-bottom:15px;
    color:#222;
}


.contact-header p {
    color:#666;
    max-width:700px;
    margin:auto;
    line-height:1.8;
}



.contact-content {

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

}



.contact-info h3 {

    font-size:28px;
    margin-bottom:20px;

}


.contact-info p {

    color:#666;
    line-height:1.8;
    margin-bottom:30px;

}


.contact-item {

    margin-bottom:20px;

}


.contact-item strong {

    display:block;
    color:#222;
    margin-bottom:5px;

}


.contact-item span {

    color:#666;

}



/* Form */

.contact-section{
    padding:100px 20px;
    background:#fff;
}

.contact-container{
    max-width:1200px;
    margin:auto;
}

.contact-header{
    text-align:center;
    margin-bottom:70px;
}

.contact-header h2{
    font-size:42px;
    color:#222;
    margin-bottom:15px;
}

.contact-header p{
    color:#777;
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

.contact-content{
    display:grid;
    grid-template-columns:40% 60%;
    gap:80px;
}

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

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

.contact-item strong{
    display:block;
    margin-bottom:8px;
    color:#222;
}

.contact-item span{
    color:#666;
}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:16px;

    border:none;
    border-bottom:2px solid #ddd;

    background:transparent;

    margin-bottom:25px;

    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;
    border-color:var(--primary-color);

}

.contact-form button{

    background:var(--gold);

    color:#fff;

    border:none;

    padding:15px 40px;

    cursor:pointer;

    transition:.3s;
}

.contact-form button:hover{

    opacity:0.5;

}

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


.site-footer {

    
    background:#071c36;
    color:white;

    padding-top:60px;

}


.footer-container {

    max-width:1200px;
    margin:auto;

    padding:0 20px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:40px;

}



.footer-column h3 {

    font-size:22px;

    margin-bottom:20px;

}


.footer-column p {

    color:#bbb;

    line-height:1.8;

}


.footer-column ul {

    list-style:none;

    padding:0;

}


.footer-column li {

    margin-bottom:10px;

}


.footer-column a {

    color:#d8d8d8;

    text-decoration:none;

    transition:0.3s;

}


.footer-column a:hover {

    color:var(--primary-color);

}



.footer-bottom {

    margin-top:50px;

    padding:20px;

    text-align:center;

    border-top:1px solid #444;

}


.footer-bottom p {

    margin:0;

    color:#aaa;

}



@media(max-width:800px){

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;

    }

}