/*==================================================
  ART GLASS TIFFANY
  Version 1.0
==================================================*/

:root{

    --brand-green:#234536;

    --brand-bronze:#8B5A2B;

    --brand-ivory:#F6F2EA;

    --brand-gold:#C9A25D;

    --brand-text:#3B3B3B;
	
 /* لون العناوين البرونزية الداكنة */
    --brand-bronze-dark: #73532A;


}

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

html{
    scroll-behavior:smooth;
}

body{

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

    background:#f5f1e8;

    color:#333;

    overflow-x:hidden;

}


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

.hero{

    width:100%;

    min-height:100vh;

    background-image:url("../Images/hero.jpg");

    background-position:center center;

    background-repeat:no-repeat;

    background-size:cover;

    display:flex;

    align-items:flex-start;

    padding-left:100px;

    padding-top:160px;

    position:relative;

}

.hero-content{

    width:620px;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    transform:translate(120px,-10px);

}


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

.header{

    width:90%;
    height:95px;

    position:fixed;

    top:25px;

    left:50%;

    transform:translateX(-50%);

    z-index:9999;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 30px;

    border-radius:22px;

}

.logo{

    display:flex;

    align-items:center;

    gap:18px;

}

.logo-text{

    display:flex;

    flex-direction:column;

    white-space:nowrap;

}

.logo{

    display:flex;

    align-items:center;

    gap:18px;

    flex-shrink:0;

}

.logo img{

    width:100px;

}



.logo-text h1{

    font-family:'Cormorant Garamond',serif;

    font-size:34px;

    font-weight:700;

    color:#264132;

    letter-spacing:.5px;

}

.logo-text span{

    display:block;

    margin-top:4px;

    font-size:12px;

    letter-spacing:3px;

    color:#8f6d36;

}


nav{

    display:flex;

    gap:30px;
	
	margin-left:60px;

}

nav a{

    font-family:'Cormorant Garamond', serif;

    font-size:22px;

    font-weight:700;

    letter-spacing:0.5px;

    color:#353535;

    text-decoration:none;

    position:relative;

    transition:all .35s ease;

}

nav a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    width:0;

    height:0px;

    background:#caa65b;

    transform:translateX(-50%);

    transition:.35s ease;

}

nav a:hover{

    color:#ffffff;

    font-weight:800;

    transform:translateY(-2px);

}

nav a:hover::after{

    width:100%;

}

.flags{

    display:flex;

    align-items:center;

    gap:22px;

}

.flags img{

    width:40px;

    cursor:pointer;

    transition:all .30s ease;

}

.flags img:hover{

    transform:translateY(-1px) scale(1.10);

    filter:brightness(1.10);

}

.flags img:hover{
    ...
}

.flag{

    position:relative;

    display:inline-flex;

    justify-content:center;

    align-items:center;

}

.flag span{

    position:absolute;

    top:28px;

    left:50%;

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

    background:rgba(255,250,240,.95);

    color:#234536;

    border:1px solid rgba(202,166,91,.45);

    border-radius:12px;

    padding:3px 8px;

    font-size:11px;

    font-weight:600;

    letter-spacing:1px;

    white-space:nowrap;

    opacity:0;

    visibility:hidden;

    transition:all .25s ease;

    pointer-events:none;

}

.flag:hover span{

    opacity:1;

    visibility:visible;

    transform:translateX(-50%) translateY(0);

}


/*=============================
  GALLERY DROPDOWN
==============================*/

.gallery-menu{
    position:relative;
}

.dropdown{

    position:absolute;

    top:100%;

    left:-30px;

    width:300px;

    padding:10px 0;

    background:inherit;

    backdrop-filter:inherit;
    -webkit-backdrop-filter:inherit;

    border-left:inherit;
    border-right:inherit;
    border-bottom:inherit;

    border-top:none;

    border-radius:0 0 22px 22px;

    box-shadow:inherit;

    opacity:0;

    visibility:hidden;

    transform:translateY(-12px);

    transition:
        opacity .35s ease,
        transform .35s ease;

    overflow:hidden;

    z-index:-1;

}

.gallery-menu:hover .dropdown{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.dropdown a{

    display:block;

    padding:18px 34px;

    color:#234536;

    font-family:'Cormorant Garamond',serif;

    font-size:22px;

    font-weight:700;

    text-decoration:none;

    transition:.30s;

}

.dropdown a:last-child{

    border-bottom:none;

}

.dropdown a:hover{

    color:#ffffff;

    background:rgba(255,255,255,.08);

    padding-left:42px;

}



.hero-top{

    display:block;

    font-family:'Cormorant Garamond',serif;

    font-size:19px;

    letter-spacing:2.5px;

    color:#8f6d36;

    margin-bottom:10px;

}

.hero-title{

    font-family:'EB Garamond', serif;

    font-size:110px;

    font-weight:600;

    line-height:.9;

    color:#16382f;
	
	margin-top:5px !important;

    margin-bottom:0px;
	
	opacity:0;
    transform:translateY(15px);
    transition:opacity .8s ease, transform .8s ease;

}

.hero-subtitle{

    font-family:'Cormorant Infant', serif;

    font-size:78px;

    font-weight:500;

    color:#6f4d22;
	
	opacity:0;
    transform:translateY(15px);
    transition:opacity .8s ease, transform .8s ease;

}

.hero-services{

    margin-top:0px;

    font-family:'Cormorant Garamond', serif;

    font-size:22px;

    line-height:1.8;

    color:#3d3d3d;

    text-align:center;

    opacity:0;

    transform:translateY(12px);

    transition:opacity .9s ease, transform .9s ease;

}

.hero-services.show{

    opacity:1;

    transform:translateY(0);

}

.hero-author{

    margin-top:16px;

    text-align:center;

}

.hero-author span{

    display:block;

    font-family:'Cormorant Garamond', serif;

    font-size:23px;

    font-style:italic;

    color:#5b4a32;

    margin-bottom:7px;

}

.hero-author h3{

    font-family:'Allura', cursive;

    font-size:68px;

    font-weight:400;

    color:#234536;

    line-height:1;

}

.hero-divider{
    width:85px;
    height:auto;
    display:block;
    margin:18px auto;
    opacity:.95;
}

.ornament-top{

    display:block;

    width:165px;

    height:auto;

    margin:0 auto 12px;

    opacity:.95;

}

.ornament-middle{

    display:block;

    width:125px;

    height:auto;

    margin:4px auto 5px;

}



.ornament-bottom{

    display:block;

    width:150px;

    height:auto;

    margin:14px auto 0;

}


/* ===========================
   Hero Intro Animation
=========================== */

.reveal{

    opacity:0;

    transform:translateY(10px);

    transition:
        opacity 2s ease,
        transform 1.6s cubic-bezier(.22,.61,.36,1);

}

.reveal.show{

    opacity:1;

    transform:translateY(0);

}


/* ===========================
   Hero Intro Animation
=========================== */

.reveal{

    opacity:0;

    transform:translateY(18px) scale(.96);

    transition:
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(.22,.61,.36,1);

}

.reveal.show{

    opacity:1;

    transform:translateY(0) scale(1);

}

/* ===== Hero Title Special Animation ===== */

.hero-title.reveal{

    transition:
        opacity 2s ease,
        transform 2s cubic-bezier(.22,.61,.36,1);

}

.hero-subtitle.reveal{

    transition:
        opacity 1.2s ease,
        transform 1.2s ease;

}

.hero-author h3.reveal{

    transition:
        opacity 1.8s ease,
        transform 1.8s cubic-bezier(.22,.61,.36,1);

}

.signature{

    width:300px;

    display:block;

    margin:12px auto 0;

    opacity:1;

    clip-path: inset(0 100% 0 0);

    animation: signReveal 3.5s ease forwards;

    animation-play-state: paused;

}

@keyframes signReveal{

    from{

        clip-path: inset(0 100% 0 0);

    }

    to{

        clip-path: inset(0 0 0 0);

    }

}

     .hero-title.show,
     .hero-subtitle.show{

    opacity:1;

    transform:translateY(0);

}

.ornament-top{

    opacity:0;

    transform:translateY(-6px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.ornament-top.show{

    opacity:1;

    transform:translateY(0);

}


/*======================================
        GALLERY WINDOWS PAGE
======================================*/
      
	  body.gallery-page{

    background-image:url("../Images/gallery-background.png");

    background-position:center top;

    background-size:cover;

    background-repeat:no-repeat;

    background-attachment:fixed;

    background-color:#f5f1e8;

}


.gallery-hero{

    width:100%;

    min-height:700px;

    background:transparent;

    padding-top:140px;

    overflow:hidden;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    position:relative;

}
.gallery-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(245,241,232,.12);

    pointer-events:none;

}

.gallery-overlay{

    width:100%;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    position:relative;

    z-index:2;

    transform: translateY(-200px);

}

.gallery-hero h1{

    margin:0;

    font-family:'Forum', serif;

    font-size:70px;

    font-weight:400;

    color:#234536;

    letter-spacing:1px;

}

.gallery-hero p:first-of-type{

    margin-top:0px;

    margin-bottom:8px;

    font-family:'Cormorant Garamond', serif;

    font-size:24px;

    font-weight:500;

    color:#8A6A36;

}

.gallery-hero p:last-of-type{

    margin:0;

    font-family:'Cormorant Garamond', serif;

    font-style:italic;

    font-size:18px;

    font-weight:400;

    color:#6F5A3A;

}

.gallery-divider{

    width:150px;

    height:auto;

    margin:30px auto 35px;

    display:block;

    opacity:.95;
	
	position:relative;
    top:-10px;

}

.gallery-intro{

    display:flex;

    justify-content:center;

    margin-top:-410px;

    margin-bottom:60px;

}


/*======================================
        FEATURED WINDOW
======================================*/

.featured-window{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;
	
	margin-top:-80px;

    margin-bottom:110px;

}

.featured-card{

    width:min(900px,90%);

    background:#ffffff;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 18px 45px rgba(0,0,0,.10);

    transition:.45s ease;

}

.featured-card:hover{

    transform:translateY(-8px);

    box-shadow:0 28px 60px rgba(0,0,0,.16);

}

.featured-card img{

    width:100%;

    display:block;

    object-fit:cover;

}


/*======================================
        FIXED PAGE BACKGROUND
======================================*/

.page-background{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background-image:url("../Images/gallery-background.png");

    background-position:center;

    background-size:cover;

    background-repeat:no-repeat;

    z-index:-1;

}

/*======================================
        FEATURED INFO
======================================*/

.featured-info{

    text-align:center;

    margin-top:30px;

    max-width:700px;

}

.featured-info h2{

    margin:0;

    font-family:'Forum', serif;

    font-size:34px;

    font-weight:400;

    color:#234536;

}

.featured-info p{

    margin:10px 0 6px;

    font-family:'Cormorant Garamond', serif;

    font-size:22px;

    color:#8A6A36;

}

.featured-info span{

    display:block;

    font-family:'Cormorant Garamond', serif;

    font-style:italic;

    font-size:18px;

    color:#6F5A3A;

}

/*======================================
        VIEW PROJECT LINK
======================================*/

.project-link{

    display:inline-block;

    margin-top:0px;

    padding:12px 26px;

    font-family:'Cormorant Garamond', serif;

    font-size:22px;

    font-style:italic;

    color:var(--brand-green);

    text-decoration:none;

    letter-spacing:.5px;

    border:1px solid transparent;

    border-radius:40px;

    transition:all .35s ease;

}

.project-link:hover{

    color:var(--brand-bronze);

    background:rgba(255,255,255,.22);

    border:1px solid rgba(201,162,93,.55);

    box-shadow:0 8px 24px rgba(0,0,0,.08);

    transform:translateY(-2px);

}

/*======================================
        PROJECT DIVIDER
======================================*/

.project-divider{

    display:block;

    width:150px;

    height:auto;

    margin:-2px auto 0;

    opacity:.70;

    transition:.35s ease;

}

.project-divider:hover{

    opacity:1;

    transform:scale(1.05);

}

/* ===== Gallery Page Dropdown ===== */

body.gallery-page .dropdown{

    background:rgba(246,242,234,.85);

    padding:12px 0;

    border:1px solid rgba(255,255,255,.35);

    border-top:none;

    border-radius:0 0 22px 22px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

body.gallery-page .dropdown a{

    display:block;

    padding:18px 30px;

    background:transparent;

    color:#234536;

    text-decoration:none;

}

body.gallery-page .dropdown a:hover{

    color:#ffffff;

}

/* ==================================================
   MOBILE HEADER — VIEWPORT ANCHORED
   ================================================== */

/* ==================================================
   MOBILE HEADER — VIEWPORT ANCHORED
   Fixes horizontal overflow on Gallery pages.
   The document can be wider than the phone viewport,
   so left:50% would center the header in the wide
   document instead of the visible mobile screen.
   ================================================== */

@media (max-width:768px){

    .header{
        width:calc(100vw - 24px) !important;
        max-width:none !important;
        left:12px !important;
        right:auto !important;
        transform:none !important;
        box-sizing:border-box !important;
        direction:ltr !important;
    }

}
