@import url("font-circe.css");

body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}

html{
    --header-color: #ffffff;
    --main-color: #f5f5f5;
    --text-color: #3a4248;
    --text-hover-color: #b76e3e;
    --footer-color: #5c7b8a;
    --footer-text-color: #f5f5f5;
    --card-bg-color: #ffffff;
    --card-title-color: #5c7b8a;

    --table-text-color: #37474f;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Circe Regular';
    transition: all;
    padding-top: 80px;
    background-color: var(--main-color);
    word-break: normal;
}


header {
    background-color: var(--header-color);
    color: var(--text-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-left, .header-right {
    flex: 1;
}

.header-logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    width: 30px;
    height: 30px;
    position: relative;
    order: -1;
}

.hamburger {
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    left: 2px;
}

.hamburger:nth-child(1) {
    top: 8px;
}

.hamburger:nth-child(2) {
    top: 14px;
}

.hamburger:nth-child(3) {
    top: 20px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--header-color);
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem;
}

.mobile-menu nav ul {
    flex-direction: column;
    gap: 1rem;
}


.logo {
    max-width: 110px;
    width: 110px;
    width: auto;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 2rem;
}

.header-left nav ul {
    justify-content: flex-start;
}

.header-right nav ul {
    justify-content: flex-end;
}

nav a {
    font-size: 17px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: 'Circe Regular';
}

nav .active {
    font-weight: 800;
    color: var(--text-hover-color);
    text-decoration: underline;
}


main {
    flex: 1;
    padding: 2rem 0;
    width: 100%;
    background-color: var(--main-color);
}

u{
    color: var(--text-hover-color);
}

.content {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-family: 'Circe Regular';
    color: var(--text-color);
    padding: 2rem 0;
    overflow-x: hidden;
}

.image-section {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-family: 'Circe Regular';
    color: var(--text-color);
    padding: 2rem 0;
}


.title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 40px;
    margin-bottom: 2rem;
}

.divider{
    background-color: var(--footer-color);
    max-width: 200px;
    height: 4px;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    width: 100%;
}

.paragraph {
    font-size: 1.25em;
    font-weight: 200;
    font-family: 'Circe Regular';
}

/* Base Table Styles */

.table-section{
    padding: 1rem;
}

.custom-table {
    display: table;
    border-collapse: collapse;
}

.table-header-row,
.table-divider-row,
.table-data-row {
    display: table-row;
}

.table-cell {
    display: table-cell;
    padding: 1em;
    vertical-align: top;
}

.table-header-row .table-cell {
    font-weight: 700;
    font-size: 1.25em;
}

.table-title {
    font-size: 2em;
    font-weight: 700;
}

.table-divider {
    height: 4px;
    background: var(--footer-color);
    border-radius: 2px;
    width: 50%;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .custom-table {
        display: flex;
        flex-direction: column;
    }

    .table-header-row,
    .table-divider-row,
    .table-data-row {
        display: contents; /* Makes children behave as if parent doesn't exist */
    }

    .table-cell {
        display: block;
        padding: 0.75em 0;
    }

    /* Create header-cell pairs */
    .table-header-row .table-cell:nth-child(1),
    .table-data-row .table-cell:nth-child(1) {
        order: 1;
    }
    .table-header-row .table-cell:nth-child(2),
    .table-data-row .table-cell:nth-child(2) {
        order: 3;
    }
    .table-header-row .table-cell:nth-child(3),
    .table-data-row .table-cell:nth-child(3) {
        order: 5;
    }

    /* Add spacing between sections */
    .table-data-row .table-cell:not(:last-child)::after {
        content: "";
        display: block;
        height: 1px;
        background: #eee;
        margin: 1em 0;
    }
}


.image-list{
    display: grid;
    justify-content: center;
}

.image-list img {
    border-radius: 15px;
    width: 90%;
    max-width: 960;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
}


.dropcap-container {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    padding: 0 1rem;
}

.dropcap {
    font-size: 1.2em;
    line-height: 1.8;
    position: relative;
    padding-left: 3rem;
    text-indent: 0; 
    overflow: hidden; 
}

.dropcap::first-letter {
    font-size: 5em;
    float: left;
    line-height: 0.8;
    margin-right: 0.2rem;
    margin-bottom: 0.5rem; 
    font-weight: bold;
    padding-right: 0.3rem;
    position: relative;
    left: -1.5rem;
}


.accordion-container {
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    background-color: var(--card-bg-color);
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--card-title-color);
    font-weight: 600;
}

.accordion-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background-color: var(--text-color);
    color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.accordion-item:hover .accordion-icon {
    background-color: var(--main-color);
    color: var(--text-hover-color);
}

.accordion-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.accordion-item.active .accordion-icon svg {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
    text-align: left;
}

.accordion-content p {
    padding: 0 1.5rem;
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1em;
    padding-bottom: 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}


.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    margin-top: 2rem;
    gap: 1.5rem;
    padding: 0 1rem; 
}

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    height: 450px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay h3 {
    color: var(--card-title-color);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Circe Regular';
    transform: translateY(10px);
    transition: transform 0.3s ease 0.1s;
    width: 100%;
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card:hover img {
    transform: scale(1.1);
}


.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0 0.5rem;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color);
    text-decoration: none;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-family: "Circe Light";
    color: var(--text-color);
    opacity: 0.8;
    flex-grow: 1;
}

.service-more {
    display: flex;
    align-items: center;
    color: var(--text-hover-color);
    font-weight: 600;
    margin-top: auto;
}

.service-more svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-more svg {
    transform: translateX(5px);
}


footer {
    background-color: var(--footer-color);
    color: var(--footer-text-color);
    text-align: center;
    padding: 1rem 0;
    height: 4em;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.footer-content{
    padding: 1rem;
}

@media (max-width: 950px) {
    
    .title {
        font-size: 25px;
    }

    .projects-container {
        grid-template-columns: 1fr; 
    }
    
    .project-card {
        height: 300px; 
        margin: 0 0.5rem; 
        border-radius: 8px; 
    }
    
    
    header {
        justify-content: space-between;
        padding: 0 1rem;
    }
    
    .header-left nav ul,
    .header-right nav ul {
        gap: 1rem;
    }
    
    nav a {
        font-size: 14px;
    }
    
    .logo {
        max-width: 80px;
        justify-content: flex-end;
    }

    .services-container {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
        padding: 0 1rem; 
    }
    
    
    .service-card {
        margin: 0 0.5rem; 
        padding: 1.2rem; 
    }
    
    .service-card h3 {
        font-size: 1.3rem; 
        margin-bottom: 1.5rem;
    }
    
    .service-card p {
        font-size: 1rem; 
    }


    .header-left,
    .header-right {
        display: none;
    }
    
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .header-logo {
        justify-content: flex-end; 
    }
    
    header {
        justify-content: space-between;
        padding: 0 1rem;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .menu-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg);
        top: 14px;
    }
    
    .menu-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .menu-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg);
        top: 14px;
    }

}

@media (max-width: 480px) {
    .project-card {
        height: 250px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .paragraph {
        font-size: 1em;
        padding: 0 1rem;
    }
    
    .header-left, 
    .header-right {
        margin: 0.5rem 0;
    }

    .service-card {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}