/*
Theme Name: Nayana Portfolio
Author: Nayana Poomalil Hiranbose
Description: Architectural Portfolio Theme
Version: 1.0
*/

/* Base Reset & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 300;
}

/* Navigation Header */
header.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}
.site-header .logo {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
}
.site-header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.site-header nav ul li a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.site-header nav ul li a:hover, .site-header nav ul li a.active {
    color: #000;
    font-weight: 500;
}

/* Page Titles (Hero/Header replacements for inner pages) */
.page-title-section {
    background-color: #ffffff;
    text-align: center;
    padding: 4rem 2rem 3rem;
    border-bottom: 1px solid #eaeaea;
}
.page-title-section h1 {
    font-size: 2.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #111;
}
.page-title-section .subtitle, .page-title-section p {
    font-size: 1.1rem;
    color: #666;
    letter-spacing: 1px;
}
.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.project-meta span {
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    background: #fff;
}

/* Main Container */
.container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* General Typography */
h2 {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #222;
}
p {
    margin-bottom: 1.5rem;
    color: #444;
    text-align: justify;
}
ul, ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    color: #444;
}
li {
    margin-bottom: 0.5rem;
}

/* Image Placeholders */
.placeholder {
    width: 100%;
    background-color: #efefef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
    border: 1px dashed #ccc;
    margin: 2.5rem 0;
    padding: 2rem;
    text-align: center;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}
.placeholder:hover {
    background-color: #e5e5e5;
}
.placeholder strong {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-style: normal;
}
.placeholder-xlarge { height: 600px; }
.placeholder-large { height: 500px; }
.placeholder-medium { height: 350px; }
.placeholder-small { height: 250px; }

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 0.95rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
th, td {
    padding: 1.25rem;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
    vertical-align: top;
}
th {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
    background-color: #f9f9f9;
}

/* ASCII Diagram */
pre.diagram {
    background-color: #fff;
    padding: 3rem 2rem;
    border: 1px solid #eaeaea;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #555;
    overflow-x: auto;
    text-align: center;
    line-height: 1.2;
    margin: 2.5rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Grids & Cards */
.stats-grid, .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.card, .stat-card {
    background: #fff;
    padding: 2rem;
    border: 1px solid #eaeaea;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.card { border-left: 3px solid #333; }
.card h4, .stat-card h4 {
    margin-bottom: 1rem;
    font-weight: 500;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.stat-card ul {
    list-style-type: none;
    margin-left: 0;
}
.stat-card ul li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 0.25rem;
}
.stat-highlight { font-weight: 600; color: #27ae60; }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.gallery-item { height: 300px; background-color: #efefef; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; color: #888; font-style: italic; padding: 2rem; text-align: center;}
.gallery-item-full { grid-column: 1 / -1; height: 450px; background-color: #efefef; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; color: #888; font-style: italic; padding: 2rem; text-align: center;}
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.image-gallery .gallery-item { 
    height: auto; 
    border-style: solid;
    padding: 0;
}
.image-gallery img { width: 100%; height: auto; display: block; }

/* Blockquote */
blockquote {
    font-style: italic;
    color: #555;
    padding: 1.5rem 2rem;
    background: #fff;
    border-left: 4px solid #333;
    margin: 2rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Footer */
footer.site-footer {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #fff;
    border-top: 1px solid #eaeaea;
    font-size: 0.85rem;
    color: #777;
    margin-top: 4rem;
}
footer.site-footer a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
footer.site-footer a:hover { color: #000; }

/* Responsive Design */
@media (max-width: 768px) {
    header.site-header { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
    .site-header nav ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .gallery-grid { grid-template-columns: 1fr; }
}
