/* --- General Reset & Base Styles --- */
:root {
    --primary-color: #333;
    --secondary-color: #f4f4f4;
    --accent-color: #a04040;
    --max-content-width: 1400px;
    --breakpoint-mobile: 600px; /* Used for Nav collapse */
    --breakpoint-stack: 800px; /* Used for layout stacking (overridden by mobile-styles.css) */
}

body {
    font-family: 'Georgia', serif;
    color: var(--primary-color);
    line-height: 1.6;
    margin: 0;
    /* background-color: white;*/
    background:url(../assets/bkgds/canvas.jpg)repeat;
    overflow-y:scroll;  
    overflow-x: hidden; 
}

a  {
    color:green;
    text-decoration: none;
}
a:visited {
    color: dimgray;
}
h1, h2, h3 {
    margin: 0 0 0.5em 0;
}

/* --- 1. Header and Navigation Module Styling (Wide Screen) --- */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--secondary-color);
    max-width: var(--max-content-width);
    margin: 0 auto;
    position: relative; /* Ensure dropdowns are positioned correctly */
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    width: 82px; /* Your specified logo size */
    height: 72px;
    margin-right: 15px;
    text-decoration: none;
}

.logo-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.page-title {
    font-size: 1.5rem;
    font-weight: normal;
    text-transform: uppercase;
}

/* Reusable Nav Module Styling */
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-links > li {
    position: relative;
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s;
    text-transform: lowercase;
     /* NEW: Add transparent border to reserve space for potential hover effect. */
    /* This ensures the padding/margin calculation is fixed regardless of state. */
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .active-link {
    color: var(--accent-color);
     /* NEW: Change the transparent border color on hover */
    border-bottom: 2px solid var(--accent-color);
}

/* Dropdown/Submenu for 'projects' */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 100;
    padding-top: 5px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 8px 16px;
    white-space: nowrap;
}

/* Collapsible Nav (Hidden elements for wide screen) */
.nav-toggle-input {
    display: none; 
}

.nav-toggle-label {
    display: none; /* Hide icon on wide screens */
}


/* --- 2. Portfolio Carousel Layout (Wide Viewport > 800px) --- */

.portfolio-container {
    max-width: var(--max-content-width);
    margin: 2rem auto;
    padding: 0 2rem;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden; 
}

.carousel {
    /* Container for all slides */
    color: inherit;
}

.slide {
    min-width: 100%; 
    box-sizing: border-box;
    display: none; /* Hidden by default */
}

.slide.active-slide {
    display: block; /* Shown when active */
}

.slide-content {
    display: flex; /* Side-by-side layout */
    gap: 30px;
}

.art-image-section {
    flex-basis: 70%; 
    max-width: 70%;
    display: flex;
    justify-content: center; 
    align-items: center; 
    /* background-color: var(--secondary-color); */
    box-sizing: border-box;
    position: relative; /* Anchor for absolute controls */
    padding: 1rem; /* Padding for images */
}

.art-image-section img {
    display: block;
    object-fit: contain; 
    max-width: 70%;
    max-height: 70%;
    border-radius: 5px;
    border: 12px solid #efebeb; 
    margin-bottom:10vh;
}

.landscape img {
    max-height: 70vh; 
    width: auto;
    margin-bottom:10vh;
}

.portrait img {
    max-height: 70vh; 
    width: auto;
}


.art-text-section {
    flex-basis: 30%; 
    max-width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    text-align: right; 
}
.text-top h2 {
    font-size: 2rem;
}
.text-top h3 {
    font-size: 1.2rem;
    font-weight: normal;
    color: #666;
    margin-bottom: 1em;
}
.text-top h4 {
    margin-top:4rem;
    font-weight:normal;
}
.text-top p {
    text-align: left;
    margin-top:6rem;
}
.text-top ul {
    list-style: none; 
}


/* Bottom Card Styling */
.text-bottom-card {
    border-right: 1px solid var(--primary-color);
    padding: 1em;
    margin-top: 2em;
    border-radius: 5px;
}

.text-bottom-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-bottom-card li {
    margin-bottom: 0.5em;
    font-size: 0.9rem;
}

/* --- 3. Carousel Controls (Wide Viewport) --- */

.carousel-controls {
    display: flex;
    justify-content: space-between; /* Push arrows left, thumbnails center/right */
    align-items: center;
    position: absolute; 
    bottom: 10px; 
    left: 15px; 
    width: calc(70% - 30px); /* 70% width minus left/right padding */
    z-index: 20;
}

/* Navigation Arrows */
.arrow-group {
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-arrow {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-arrow:hover {
    background: var(--accent-color);
}

/* Thumbnails */
.thumbnails-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-grow: 1; /* Allow thumbnails to center better */
    z-index: 10;
}

.thumbnail {
    width: 60px;
    height: 40px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    border-radius: 3px;
    overflow: hidden;
}

.thumbnail:hover, .thumbnail.active-thumbnail {
    opacity: 1;
    border-color: var(--accent-color);
}

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


/* --- 4. Footer Styling --- */

.site-footer {
    border-top: 1px solid var(--secondary-color);
    padding: 2rem 2rem;
    margin-top: 4rem;
    background-color: #fcfcfc;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text, .copyright-text {
    font-size: 0.9rem;
    color: #666;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}
.social-links img {
    vertical-align: middle;
    width: 50%;
}


/* individual slide styles */ 

#portfolioBanner, #endSlide {
	border:none;
}

#endSlide > img{
border: 1px solid #000!important;
padding:4rem; 
}





