/* ============================================================
   Alexander Design Lab CSS
   Author: Alexander James Olson
   Date: February 24, 2026
   ============================================================ */


/* ============================================================
   RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ============================================================
   BASE STYLES
   ============================================================ */
body {
    font-family: Arial, sans-serif;
    background: #e6eef2;
    color: #3179B8;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
    font-size: 72px;
    font-weight: bold;
    color: #22487A;
    margin: -40px 0 20px 0;
    text-align: center;
}

h2 {
    position: relative;
    padding-bottom: 8px;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #22487A;
    border-radius: 2px;
}
h3 {
    font-size: 24px;
    font-weight: bold;
    color: #22487A;
    text-align: center;
}

.text-effects {
    color: #fff;
    -webkit-text-stroke: 2px #12325c;
    text-shadow:
        0 1px 0 #12325c,
        1px 0 0 #12325c,
        0 -1px 0 #12325c,
       -1px 0 0 #12325c,
        0 2px 6px rgba(0,0,0,0.12);
    -webkit-font-smoothing: antialiased;
}

/* Paragraph Styles */
.p-style-1 { font-size: 16px; line-height: 1.5; margin-bottom: 20px; text-align: center; }
.p-style-2 { font-size: 16px; line-height: 1.5; margin-bottom: 20px; text-align: left; }
.p-style-3 { font-size: 16px; line-height: 1.5; margin: 20px 0; text-align: center; }
.p-style-4 { font-size: 16px; line-height: 1.5; margin-bottom: 20px; text-align: right; }
.p-style-5 { font-size: 24px; font-weight: bold; line-height: 1.5; margin: 20px 0; text-align: left; }
.p-style-6 { font-size: 24px; font-weight: bold; line-height: 1.5; margin: 20px 0; text-align: right; }
.p-style-7 { font-size: 24px; font-weight: bold; line-height: 1.5; text-align: center; }

.label-row-1 {
    display: flex;
    align-items: right;
    width: 100%;
    margin-left: 150px;
    gap: 367px;
}

.label-row-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 250px;
    position: relative;
    z-index: 10;
}

.spacer {
    height: 40px;
}

.spacer-small {
    height: 5px;
}

/* Centers the entire text block inside the section */
#about .about-text {
    margin: 0 auto;      /* centers the block */
    max-width: 75ch;     /* readable width */
}

#about p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    border-left: 4px solid #9BC53D;
    padding-left: 18px;
    background: rgba(155, 197, 61, 0.05); /* soft green tint */
    border-radius: 6px;
}

/* ============================================================
   LINKS & HOVER EFFECTS
   ============================================================ */
a {
    display: inline-block;
    text-decoration: none;
    color: #9BC53D;
    font-weight: 500;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), text-shadow 0.25s ease;
}

a:hover {
    text-shadow: 0.4px 0 0 currentColor, -0.4px 0 0 currentColor;
    transform: translate(8px,-4px) scale(1.07);
}

.no-translate:hover {
    transform: scale(1.07);
}


/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
header {
    background-color: #12325c;
    padding: 20px;
    text-align: center;
}

nav {
    background-color: #12325c;
    padding: 15px 0;
    margin: 0 500px;
}

nav ul {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: #9BC53D;
    padding: 10px 28px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    font-size: 24px;
}

/* Portfolio Navigation */
.portfolio-nav {
    background: transparent;
    margin: 30px auto;
    padding: 0;
}

.portfolio-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    background: #12325c;
    padding: 14px 60px;
    border-radius: 999px;
    width: fit-content;
    margin: 0 auto;
}


/* ============================================================
   SECTIONS
   ============================================================ */
section {
    border-radius: 50px;
    padding: 50px 20px;
    background-color: #fff;
    margin: 0px 200px;
    overflow: visible;
    
}

.section-with-border-1,
.section-with-border-2 {
    background: #ffffff;
    border-radius: 40px;
    padding: 60px 40px;
    margin: 80px 200px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);

    /* Modern accent border */
    border: 6px solid #22487A; /* blue outer border */
    outline: 10px solid #9BC53D; /* green halo */
    outline-offset: -20px;
}
.section-with-border-1,
.section-with-border-2 {
    background: #ffffff;
    border-radius: 40px;
    padding: 60px 40px;
    margin: 80px 200px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border: 6px solid #22487A; /* blue outer border */
    outline: 10px solid #9BC53D; /* green halo */
    outline-offset: -20px;
}
.inner-box {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    border: 6px solid #9BC53D; /* clean white buffer */
    box-shadow: 0 0 0 6px #22487A; /* thin blue border */
    margin: 20px 0;
}
.section-with-border-3 {
    background: #ffffff;
    border-radius: 40px;
    padding: 60px 40px;
    margin: 80px 200px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    position: relative;
    
}

.section-with-border-3::before,
.section-with-border-3::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border: 4px solid #9BC53D;
}

.section-with-border-3::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.section-with-border-3::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}
#portfolio.section-with-border-1 {
    background-color: transparent;
}

.two-column {
    display: flex;
    width: 100%;         
    align-items: flex-start;
}

.two-column section {
    margin: 50px; 
    flex: 1;
}

/* ============================================================
   PORTFOLIO ARTICLES
   ============================================================ */
#portfolio article {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 22px;
    margin: 18px 0 50px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: visible;
}

#portfolio article .image-grid-2,
#portfolio article .image-grid-3,
#portfolio article .image-grid-4 {
    margin-top: 12px;
}


/* ============================================================
   IMAGE GRIDS & GALLERIES
   ============================================================ */
.hover-zoom {
    cursor: pointer;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.2);
    z-index: 1;
    position: relative;
}

.image-grid-2,
.image-grid-3,
.image-grid-4 {
    display: grid;
    justify-items: center;
    align-items: center;
    margin: 20px auto;
    padding: 10px;
    background-color: transparent;
    border-radius: 50px;
    overflow: visible;
}

.image-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.image-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.image-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; max-width: 1000px; }

.image-grid-2 img,
.image-grid-3 img,
.image-grid-4 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-grid-2 img:hover,
.image-grid-3 img:hover,
.image-grid-4 img:hover {
    transform: scale(1.2);
    z-index: 1;
    position: relative;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 10px;
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0 !important;
}

.mini-gallery {
    display: flex;
    gap: 40px;
    margin-top: -10px;
    justify-content: center;
}

.mini-gallery img {
    width: 100px;      /* adjust size as needed */
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}




/* ============================================================
   CONTAINERS & LAYOUT HELPERS
   ============================================================ */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spacer {
    height: 40px;
}


/* ============================================================
   VIDEOS & ANIMATION
   ============================================================ */
.logo-anim-1 { width: 600px; }
.logo-anim-2 { width: 350px; margin: 20px auto; border-radius: 8px; }

.video-row {
    display: flex;
    align-items: center;
    gap: 100px;
    overflow: visible;
}

.video-small { width: 200px; }
.video-large { width: 400px; }

.raise { margin-top: -50px; }
.lower { margin-top: 40px; }

.gap-right { margin-right: 20px; }
.gap-less-right { margin-right: -40px; }
.gap-left { margin-left: 125px; }
.gap-less-left { margin-left: -40px; }

.flour-sack-left {
    margin-left: -80px; /* adjust until it fits perfectly */
}

.red-ball-shift {
    margin-left: 50px; /* adjust if you want more or less */
}

.video-wrapper {
    position: relative;
    width: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-text {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 0 8px black;
    z-index: 10;
}

/* ============================================================
   SWIPE GALLERY
   ============================================================ */
.swipe-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.swipe-gallery::-webkit-scrollbar {
    display: none;
}

.swipe-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.swipe-item img {
    width: 100%;
    height: auto;
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background-color: #12325c;
    color: #fff;
    padding: 20px;
    text-align: center;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 600px) {
    .image-grid-2,
    .image-grid-3,
    .image-grid-4 {
        max-width: 300px;
        margin: 15px auto;
    }

    .image-grid-2 img,
    .image-grid-3 img,
    .image-grid-4 img {
        max-width: 300px;
    }
}
