/* 
  Josue Palma Photography 
  Copyright © 2025 Josue Palma
  All rights reserved.

  Theme design & code by Josue Palma.
  For personal and portfolio use only.
  Contact: josuepalmaphotography.com
*/

@font-face {
  font-family: 'Editor';
  font-style: normal;
  font-weight: 400;
  src: url(fonts/editorsnotedisplay-medium.woff) format('woff2');
  /* unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */
}
@font-face {
  font-family: 'Editor Italic';
  /* font-style:italic; */
  font-weight: 400;
  src: url(fonts/editorsnotedisplay-mediumitalic.woff) format('woff2');
  /* unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */
}
@font-face {
  font-family: 'Impact';
  /* font-style:italic; */
  font-weight: 400;
  src: url(fonts/impact.woff) format('woff2');
  /* unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; */
}

body{

    --color-text: #353330;
	--color-bg: #eee9dd;
	--color-bg: #F6F3EF;
	--color-bg: rgba(249, 248, 250, 1);
	/* --color-bg: #f0f0f0; */
	--color-link: #000;
	--color-link-hover: #000;
	--color-heading: #111;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	--ratio: 0.95;
	--grid-item-height: 32vw;
	--grid-item-width: calc(var(--grid-item-height) * var(--ratio));
	--thumb-height: 5vw;
	--thumb-width: calc(var(--thumb-height) * var(--ratio));

    background: var(--color-bg);
    margin: 0;
    padding: 0; 
    
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    display: flex;
    min-height: 100vh;
    /* background-image: url("https://josuepalma.com/portfolio/assets/img/bg-2021.jpg"); */

}


h1{
    font-family: 'Source Serif 4';
    font-family: "Editor", serif;

    font-optical-sizing: auto;
    font-style: normal;

    font-size: 26px;
    font-weight: 300;
    line-height: 30px;
    margin: 0;
    /* color: #222; */

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* background: -webkit-linear-gradient(#ad5389, #3c1053);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */

    font-family: "Playfair Display";
    text-transform: unset;
    letter-spacing: unset;
    /* font-style: italic; */
    font-weight: 700;
}


h2, h3, h4{
    /* text-transform: uppercase;  */
    font-family: "Editor", serif;
    font-weight: 400; 
    font-optical-sizing: auto;
    letter-spacing: .02rem;

}

h2{
    font-size: 26px;
    font-size: 1.8rem;
}

h3{
    font-size: 1.4rem;
    line-height: 2.4rem;
}

h4{
    font-size: 1.2rem;
    font-kerning: 50px;
    letter-spacing: 0;
    font-weight: 500;
}

main#session form{
    margin: 4rem 0;
}

label{
    display: block;
    font-family: "IBM Plex Sans", serif;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;

}
input{
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    margin: 10px 0;
    /* width: 70%; */

    border-radius: 5px;
    font-family: "IBM Plex Sans", serif;

}

textarea{
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    margin: 10px 0;
    border-radius: 5px;
    width: 80%;
    height: 60px;
    font-family: "IBM Plex Sans", serif;
}


hr{
    margin: 30px 0 20px 0;
    border: 1px solid #eee
}


table{
    width: 96%;
    margin: 30px 2%;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* font-family: "Source Serif 4", serif; */

}

th{
    background: #444;
    color: #fff;
    padding: 15px;
}

tr{
    border-bottom: 1px solid #ccc;
    text-align: left;
}
td{
    padding: 10px
}

tr:nth-child(even) {
    /* background: #fff */
}


a{
    font-weight: 800;
    color: #000;
    text-decoration: none;
}

/* Custom Buttom */

a.btn{
    display: inline-block;
    padding: 10px 30px;
    background: #222;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    /* font-family: "Playfair Display", serif; */
    font-family: "IBM Plex Sans", serif;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1rem;
    /* letter-spacing: .08rem; */
    margin: 1rem 0;
    letter-spacing: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}



a.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.5s ease;
}

a.btn:hover{
    background: #000;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

a.btn:hover::before {
    left: 100%;
}

a.btn.centered{
    text-align: center;
    display: block;
    width: 70%;
    margin: 1rem auto;
}

/* Submit Button Styling */
button.btn,
button[type="submit"],
input[type="submit"] {
    display: inline-block;
    padding: 10px 30px;
    background: #222;
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1rem;
    margin: 1rem 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
button[type="submit"]:before,
input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.5s ease;
}
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

button[type="submit"]:hover::before, 
input[type="submit"]:hover::before {
    left: 100%;
}

button[type="submit"]:active,
input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/*  */

  /* Mobile Header Styles */
  header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 150;
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    text-align: center;
}

header h1 {
    font-size: 26px;
    margin: 2px 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    letter-spacing: .06px;
    text-transform: uppercase;
}

header h2 {
    font-size: 10px;
    margin: 2px 0 0 10px;
    font-family: "IBM Plex Sans", serif;
    font-weight: 300;
    letter-spacing: 9.9px;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    header {
        display: block;
    }
    
    /* Add top padding to main to account for fixed header */
    main {
        padding-top: 80px;
    }
}

/* Pulse dot for small notification indicators (mobile app style) */
.pulse-dot {
    position: relative;
    display: inline-block;
    width: 0; /* element itself doesn't need width, pseudo will render the dot */
}

.pulse-dot::after {
    content: "";
    position: absolute;
    top: -13px;
    right: -5px;
    width: 4px;
    height: 4px;
    background: #777; /* red notification color */
    border-radius: 50%;
    /* box-shadow: 0 0 0 rgba(255, 59, 48, 0.6); */
    transform: scale(1);
    animation: pulseDot 1.6s ease-out infinite;
    pointer-events: none;
    border: 2px solid white; /* gives a small white ring like app icons */
}

@keyframes pulseDot {
    0% {
        transform: scale(0.9);
        /* box-shadow: 0 0 0 0 rgba(255,200,208, 0.6); */
        opacity: 1;
    }
    70% {
        transform: scale(1.6);
        /* box-shadow: 0 0 0 10px rgba(255,59,48, 0); */
        opacity: 0;
    }
    100% {
        transform: scale(1.6);
        /* box-shadow: 0 0 0 0 rgba(255,59,48, 0); */
        opacity: 0;
    }
}

/* Glassy Button Variants */

/* Glassy White Button */
a.btn-glass-white {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

a.btn-glass-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

a.btn-glass-white:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.4);
    /* box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2); */
    transform: translateY(-2px);
}

a.btn-glass-white:hover::before {
    left: 100%;
}

/* Glassy Black Button */
a.btn-glass-black {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); */
    transition: all 0.3s ease;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

a.btn-glass-black::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

a.btn-glass-black:hover {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-decoration: none;
    border-color: rgba(0, 0, 0, 0.5);
    /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); */
    transform: translateY(-2px);
}

a.btn-glass-black:hover::before {
    left: 100%;
}

/* Centered variants for glassy buttons */
a.btn-glass-white.centered,
a.btn-glass-black.centered {
    text-align: center;
    display: block;
    width: 70%;
    margin: 1rem auto;
}

/* aside */

#sidebar-toggle {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    width: 55px;
    height: 55px;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
}

#sidebar-toggle:hover {
    background: #f8f9fa;
    color: #1a1a1a;
    transform: scale(1.05);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

aside{
    position: fixed;
     top: 0;
    left: 0;
    width: 312px;
    height: 100vh;
    padding: 60px 45px 10px 50px;
    outline: 0;
    z-index: 101;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
    color: var(--color-text);
    /* width: clamp(280px, 24vw, 420px); */
    background: var(--color-bg);  
    background: #fff;
}

aside h1{
    font-size: 26px;
    margin: 2px 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    letter-spacing: .06px;
    text-transform: uppercase;
    /* font-weight: normal */
    }

aside h2{
    font-size: 10px;
    margin: 2px 0;
    font-family: "IBM Plex Sans", serif;
    font-weight: 300;
    letter-spacing: 9.9px;
    text-transform: uppercase;
    /* font-weight: normal */
    }
aside h3{
    font-size: 13px;
    margin: 20px 0;
    text-transform: uppercase;
    font-weight: normal;
    color: #888
}
aside h4{
    font-size: .9rem;
    text-transform: uppercase;
    margin: 10px 0;
    font-weight: 600;
    font-family: "Playfair Display", serif;
}

aside nav ul{
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.25em;

    padding: 0 0 0 10px;
    list-style-type: none;
}

aside nav ul li a{
    text-decoration: none;
    color: #9c9c9c;
    color: #353330;
    /* color: #fff; */
    display: block;
    margin: 10px 0;
    font-weight: 400;
    letter-spacing: .05em;
   
    transition: all 0.2s cubic-bezier(.77,0,.18,1);
    /* ...existing code... */
}

aside nav ul li a:hover{
    color: #000;
    margin-left: 10px;
}




/* pages */

main{
    flex: 1 1 0%;
    margin-left: 312px;
    /* margin-left:clamp(280px, 24vw, 420px); */
    padding-left: 0;
    /* box-sizing: border-box; */
    /* margin: 0 auto; */
    /* background: #eee; */
    background: #fffbf6;
    background: #eee;
    background: rgba(250, 250, 250, 1);
    font-size: .9rem;
}



/* grid system */

.grid {
    display: flex;
    flex-wrap: wrap;
    /* margin-left: -12px;
    margin-right: -12px; */
    width: 100%;
}

.grid-col {
    /* padding-left: 12px;
    padding-right: 12px; */
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
}

/* Column width helpers */
.col-1-2  { flex: 0 0 50%;   max-width: 50%; }
.col-1-3  { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-2-3  { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-1-4  { flex: 0 0 25%;   max-width: 25%; }
.col-3-4  { flex: 0 0 75%;   max-width: 75%; }
.col-1-5  { flex: 0 0 20%;   max-width: 20%; }
.col-2-5  { flex: 0 0 40%;   max-width: 40%; }
.col-3-5  { flex: 0 0 60%;   max-width: 60%; }
.col-4-5  { flex: 0 0 80%;   max-width: 80%; }
.col-full { flex: 0 0 100%;  max-width: 100%; }

/* Padding utility classes for grid columns (does not affect width) */
.col-pad-xs { padding: 4px !important; box-sizing: border-box}
.col-pad-s  { padding: 12px !important; box-sizing: border-box}
.col-pad-m  { padding: 24px !important; box-sizing: border-box}
.col-pad-l  { padding: 60px 40px 0 !important; box-sizing: border-box; }
.col-pad-xl { padding: 8rem !important; box-sizing: border-box; }
.col-pad-text { padding: 3rem 10rem !important; box-sizing: border-box; }

/* gallery columns */

.gallery{
    width: 100%; 
    position: relative;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
}

.column {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 33%;
}

.column-double {
     position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* width: 33%; */
    width: 66.3%;
}

.column:first-child{
    /* height: 100vh; */
    /* flex-direction: column-reverse; */
}
.column:nth-child(3n){
    /* height: 100vh; */
    /* flex-direction: column-reverse; */
}
 
.wrap{
    overflow: hidden;
    height: 100%;
    /* border: 1px solid purple */
}

.wrap-item {
    position: relative;
    display: block;
    will-change: transform; 
    height: 100%;
    overflow: hidden;
}

.item{
    margin: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.wrap-photo{
    /* width: var(--grid-item-width);
    height: var(--grid-item-height); */
    /* width: 30%; */
    height: 100%;
    /* aspect-ratio: 2 / 3; */
    position: relative;
    /* border-radius: 8px; */
    /* cursor: pointer; */
    /* margin: 8vh 1vw 0; */
    /* overflow: hidden; */

    /* border: 1px solid red; */
    overflow: hidden;
}

/* Fallback for mobile devices where fixed attachment doesn't work well */
@media (max-width: 768px) {
    .photo-fixed {
        background-attachment: scroll !important;
    }
    
}

.photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 20%;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    
    background-size: 100%;
    transform: scale(1);
    transition: all 0.2s ease-in;
}

.photo.portrait{aspect-ratio: 2 / 3;}
.photo.horizontal{aspect-ratio: 3/2;}

/* when no photo is added */
.wrap-photo{
    /* background-image: url("../images/not-found.jpg"); */
    background-size: cover;
}

.photo:hover{
    transform: scale(1.2);
    transition: all 0.3s ease-out;
}

/* Screen-reader / SEO only — visible to crawlers, hidden visually */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.item.text{
    margin: 10px;
    text-align: center;
    border: 1px dotted #ccc;
    height: 96%;
    overflow: normal;
    /* background: #F6F3EF; */
    /* background:#333; */
     display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Overlay text base style */
.photo-overlay-text {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    /* flex-direction: column; */
    pointer-events: none;
    z-index: 2;
    padding: 2vw;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.2rem;
 font-size: clamp(1.2rem, 2vw, 4rem) ; line-height: 1.05; 
 /* background: linear-gradient( rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0.5) ); */

}

.photo-overlay-text span{
    /* backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .2);
    padding: 10px;
    border-radius: 5px; */

}

.photo-overlay-topleft    { align-items: flex-start; justify-content: flex-start; }
.photo-overlay-topcenter  { align-items: flex-start; justify-content: center; }
.photo-overlay-topright   { align-items: flex-start; justify-content: flex-end; }
.photo-overlay-centerleft { align-items: center; justify-content: flex-start; }
.photo-overlay-center     { align-items: center; justify-content: center; }
.photo-overlay-centerright{ align-items: center; justify-content: flex-end; }
.photo-overlay-bottomleft { align-items: flex-end; justify-content: flex-start; }
.photo-overlay-bottomcenter{ align-items: flex-end; justify-content: center; }
.photo-overlay-bottomright{ align-items: flex-end; justify-content: flex-end; }
 
/* Base title style */
.title {
    margin: 0 0 0.5em 0;
    font-weight: 200;
    line-height: 1.08;
    letter-spacing: 0;
}

/* Font families */
.playfair   { font-family: "Playfair Display", serif; letter-spacing: -0.02em; font-size: 1.1rem;  }
.editor     { font-family: "Editor", serif; }
.editor-italic     { font-family: "Editor Italic", serif; }
.impact     { font-family: "Impact", sans-serif; letter-spacing: -.09rem; }
.ibm     { font-family: "IBM Plex Sans", sans-serif;  letter-spacing: 0.18em; }

.editor.paragraph{
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    /* line-height: 1.8; */
    font-weight: 300;
    margin: 20px 0;
    /* max-width: 800px; */
    /* text-align: justify; */
}

/* Size modifiers */
.big    { font-size: clamp(2rem, 4vw, 4rem) ; line-height: .9; }
.medium { font-size: clamp(1.5rem, 3vw, 3rem); }
.normal { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
.mini { font-size: 0.7rem; font-weight: 300; }



/* Style modifiers */
.cursive { font-style: italic; }
.upper   { text-transform: uppercase;   }
.lower   { text-transform: lowercase; }
.underline { border-bottom: 3px solid #e0c36e; display: inline-block; padding-bottom: 0.1em; }
.shadow  { text-shadow: 2px 6px 18px rgba(0,0,0,0.12); }
.bold   { font-weight: 700; }

.dark{ color: #222; }
.light{ color: #f5f5f5  !important; }

.text-white{ color: #fff !important; }

.centered { text-align: center !important;  }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; margin: 20px 0;}
.text-justify { text-align: justify !important; margin: 20px 0;}

.padding-small {padding: 10px !important;}
.padding-big { padding: 0.7em 0 !important;}

.margin-small { margin: 20px 0 !important; }

.margin-title{
    margin: 4rem 0 !important
}
.margin-title-h{
    margin: 0 2rem !important
}
.no-margin { margin: 3px !important; }

/* Title color variations by shades of gray */
.gray-900 { color: #111111; }
.gray-800 { color: #222222; }
.gray-700 { color: #444444; }
.gray-600 { color: #666666; }
.gray-500 { color: #888888; }
.gray-400 { color: #aaaaaa; }
.gray-300 { color: #cccccc; }
.gray-200 { color: #e0e0e0; }
.gray-100 { color: #f5f5f5; }

/* Editorial background color variations */
.bg-editorial-main    { background: rgba(163,208,208,1);  padding: 40px;    }
.bg-editorial-light   { background: rgba(163,208,208,0.15); }
.bg-editorial-mid     { background: rgba(163,208,208,0.35); }
.bg-editorial-dark    { background: rgba(120,170,170,1); }
.bg-editorial-accent  { background: rgba(208,200,163,0.35); }
.bg-editorial-cream   { background: #f6f3ef; }
.bg-editorial-white   { background: #fff; }
.bg-editorial-gray    { background: #f5f5f5; }

.bg-editorial-pink    { background: rgba(240, 32, 202, 0.9); }
.bg-editorial-blue    { background: #68C1C9; }


/* Background Variations */
.bg-01{
    background: #E7E1D6;
    background: #fffbf6;
    background: rgba(248, 248, 250, 1);
    padding: 40px;
    box-sizing: border-box;
}

.bg-black{
    background: #222;
    background: #000;
    color: #fff;
    padding: 40px;   
}

.bg-black-2{
    background: #222;
    color: #fff;
    /* padding: 40px;    */
}
 

/* first letter */

/* Add this to your theme.css */
.drop-cap::first-letter {
    float: left;
    font-size: 2.6em; /* Adjust size as needed */
    line-height: 0.8;
    padding-right: 8px;
    padding-top: 4px;
    font-family: "Playfair Display", serif;
    font-weight: 400;
}

/* Alternative with more styling */
.drop-cap-editorial::first-letter {
    float: left;
    font-size: clamp(3rem, 8vw, 5rem); /* Responsive sizing */
    line-height: 0.75;
    padding-right: 10px;
    padding-top: 2px;
    margin-right: 4px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #2c2c2c;
    text-transform: uppercase;
}

/* For a more elegant serif style */
.drop-cap-serif::first-letter {
    float: left;
    font-size: 4.5em;
    line-height: 0.8;
    padding-right: 8px;
    padding-top: 6px;
    font-family: "Editor", serif;
    font-weight: 300;
    color: #1a1a1a;
}

/* Sticky Section Classes */
.sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 100;
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
    z-index: 100;
}

/* Sticky with background variations */
.sticky-glass {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sticky-solid {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-dark {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Mobile adjustments */
@media (max-width: 800px) {
    .sticky,
    .sticky-glass,
    .sticky-solid,
    .sticky-dark {
        padding: 10px 0;
        font-size: 0.9rem;
    }
}

/* Mobile adjustments */
@media (max-width: 800px) {
    .drop-cap::first-letter,
    .drop-cap-editorial::first-letter,
    .drop-cap-serif::first-letter {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        padding-right: 6px;
        padding-top: 2px;
    }
}

/*  Custom  sections */

/* Editorial */
section#boards .board {
    font-size: .9rem;
    line-height: 1.6rem;
}

section#boards table, 
#packages table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: "IBM Plex Sans", serif;
    border:none;
    font-size: 12px;
}

section#boards tr,
#packages tr {
    border: none
}
section#boards td{
    padding: 2px;
}
section#boards tr:nth-child(even),
.package table tr:nth-child(even) {
    background: none;
}

section#boards td:first-child{
    font-weight: bold;
}

.package{
    border: 1px solid #eee;
    margin: 10px ;
    padding: 20px 10px 10px 10px;
    background: #fff;
    height: 90%;

}

.package .medium{
    font-size: 2rem;
    line-height: 1;
    padding:0 20%;
    font-weight: 600;
    margin-bottom: 10px !important;
}

/* Add cursor pointer to clickable photos with resize icon on hover */
.photo.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.photo.gallery-item:hover {
    /* transform: scale(1.02); */
    cursor:zoom-in
}

/* Resize icon on hover - CSS only */
.photo.gallery-item::after {
    content: "⛶";
    position: absolute;
    top: 10px;
    right: 10px;
    /* background: rgba(0, 0, 0, 0.7); */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.photo.gallery-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Alternative with expand arrows icon */
.photo.gallery-item.expand-arrows::after {
    content: "⤢";
    font-size: 16px;
}

/* Alternative with maximize icon */
.photo.gallery-item.maximize::after {
    content: "⛶";
    font-size: 16px;
}

/* Alternative with search plus icon */
.photo.gallery-item.search-plus::after {
    content: "🔍";
    font-size: 16px;
}



/* Mobile Responsive */

@media (max-width: 800px) {

    .big{
      font-size: clamp(2rem, 4vw, 4rem);   
    }

    .medium{
      font-size: clamp(1.2rem, 5vw, 4rem);   
    }

.col-pad-xs { padding: 4px !important; box-sizing: border-box}
.col-pad-s  { padding: 12px !important; box-sizing: border-box}
.col-pad-m  { padding: 24px !important; box-sizing: border-box}
.col-pad-l  { padding: 60px 40px !important; box-sizing: border-box; }
.col-pad-xl { padding: 4rem !important; box-sizing: border-box; }

.col-pad-text { padding: 2rem 4rem !important; box-sizing: border-box; }



  aside {
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(.77,0,.18,1);
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 1000;
  }
  aside.open {
    transform: translateX(0);
  }
  #sidebar-toggle {
    display: block;
  }
  main {
    margin-left: 0 !important;
    font-size: .9rem;
  }
    
    /* Responsive stacking on small screens */

   .col-1-2, .col-1-3, .col-2-3, .col-1-4, .col-3-4, .col-1-5, .col-2-5, .col-3-5, .col-4-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Mobile-specific grid classes for more control */
    .col-mobile-1-2 { flex: 0 0 50% !important; max-width: 50% !important; }
    .col-mobile-1-3 { flex: 0 0 33.3333% !important; max-width: 33.3333% !important; }
    .col-mobile-2-3 { flex: 0 0 66.6667% !important; max-width: 66.6667% !important; }
    .col-mobile-1-4 { flex: 0 0 25% !important; max-width: 25% !important; }
    .col-mobile-3-4 { flex: 0 0 75% !important; max-width: 75% !important; }
    .col-mobile-full { flex: 0 0 100% !important; max-width: 100% !important; }

    /* Force stacking on mobile (override any mobile-specific classes) */
    .col-mobile-stack { flex: 0 0 100% !important; max-width: 100% !important; }
}
