/* Font Face Declarations */
@font-face {
    font-family: 'Proforma';
    src: url('fonts/Proforma/Proforma-Regular+.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Proforma';
    src: url('fonts/Proforma/Proforma-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Proforma';
    src: url('fonts/Proforma/Proforma-Bold+.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Proforma';
    src: url('fonts/Proforma/Proforma-BoldItalic+.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Proforma', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #fff;
    font-size: 1.1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.15rem;
    margin-top: 0.35rem;
    font-weight: 400;
    line-height: 1.4;
}

h1 { font-size: 2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

.chevron {
  --s: 25%; /* control the shape (can be percentage) */

  height: 20px;
  aspect-ratio: 3/6;
  transform: rotate(90deg);
  clip-path: polygon(0 0,var(--s) 0,100% 50%,var(--s) 100%,0 100%,calc(100% - var(--s)) 50%);
  background: #000000;
}

.cross {
  --c: #000000;
  
  height: 20px;
  aspect-ratio: 1;
  box-shadow: 0 0 0 2px inset var(--c);
  border-image: conic-gradient(var(--c) 0 0) 50%/calc(50% - 1px);
  clip-path: circle(); /* remove this if you don't want a rounded shape */
  rotate: 45deg;
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Media */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


button {
    background-color: #0066cc;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #004499;
}


/* Semantic Elements */
header, nav, main, section, article, aside, footer {
    display: block;
}

header {
    padding: 2rem 0;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 1.5rem;
}

main {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    padding: 0rem 0;
    display:flex;
    flex-direction: row;
   
}

footer {
    padding: 2rem 0;
    background-color: #f5f5f5;
    margin-top: 3rem;
}


small {
    font-size: 0.875rem;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}


.column-home {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.column-item {
    height: 100vh;
    flex: 0 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.item-media {
    width: 100%;
    height: 100%;
    position: relative;
}

.column-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.column-item iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 310%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    display: block;
    pointer-events: none;
}

.hello-bubbles-container {
    position: fixed;
    top: 2vw;
    left: 2vw;
    max-width: 29.3vw;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    align-items: flex-start;
}

.hello-bubble {
    position: relative;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    color: rgb(0, 0, 0);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}

.hello-bubble.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    max-height: 0;
    padding: 0 1.5rem;
    margin: 0;
    overflow: hidden;
}

.hello-bubble-closeable {
    padding-right: 3rem;
    width: auto;
}

.hello-bubble-collapsible .hello-bubble-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.hello-bubble-toggle {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    color: rgb(0, 0, 0);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.hello-bubble-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.hello-bubble-collapsible.collapsed .hello-bubble-toggle {
    transform: rotate(-90deg);
}

.hello-bubble-collapsible.collapsed .hello-bubble-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
}

.hello-bubble-close {
    position: absolute;
    top: 0.55rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: rgb(0, 0, 0);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.hello-bubble-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.hello-bubble-content{
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    max-height: 500px;
    overflow: hidden;
}

.hello-bubble h1 {
    margin-bottom: 0.25rem;
}

.hello-bubble p {
    margin-bottom: 0;

}

/* Tablet/Landscape Breakpoint */
@media (max-width: 1024px) {
    main {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .column-home {
        height: 100vh;
        width: 100%;
        flex-shrink: 0;
    }
    
    .column-item {
        position: relative;
        transform: none !important;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .hello-bubbles-container{
        max-width: 50vw;
        margin-right: 2vw;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    html {
        font-size: 1rem;
    }
    
    main {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .column-home {
        height: 100vh;
        width: 100%;
        flex-shrink: 0;
    }
    
    .column-item {
        position: relative;
        transform: none !important;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    nav li {
        margin-right: 1rem;
    }

    .hello-bubbles-container{
        max-width: none;
        margin-right: 2vw;
    }
}