/**
 * Hiliaridis Theme Custom Styles
 */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
}

/* Header */
.site-header {
    background-color: #fef7ec;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Header Left - Mobile Only */
.header-left {
    display: none;
}

.icon-link {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.icon-link:hover {
    color: #b8956a;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
    text-align: left;
}

.site-logo a {
    display: block;
    text-decoration: none;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-logo .tagline {
    margin: 5px 0 0 0;
    font-size: 10px;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Desktop Menu */
.desktop-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.desktop-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.desktop-menu ul li {
    margin: 0;
}

.desktop-menu a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.desktop-menu a:hover {
    color: #b8956a;
}

/* Header Right - Desktop */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.desktop-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.desktop-phone:hover {
    color: #b8956a;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #2c2c2c;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu.active {
    max-height: 500px;
    margin-top: 20px;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    background-color: #fef7ec;
    border-radius: 10px;
}

.mobile-menu ul li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: 12px 15px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.mobile-menu a:hover {
    background-color: rgba(184, 149, 106, 0.1);
    color: #b8956a;
}

/* Main Content */
.site-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.site-main {
    padding: 20px 0;
}

.entry-content {
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.site-footer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Mobile: Show left icons */
    .header-left {
        display: flex;
        gap: 10px;
        order: 1;
    }
    
    /* Mobile: Center logo */
    .site-logo {
        flex: 1;
        text-align: center;
        order: 2;
    }
    
    .site-logo img {
        max-height: 40px;
        margin: 0 auto;
    }
    
    .site-logo .tagline {
        font-size: 8px;
    }
    
    /* Mobile: Hide desktop menu and right section */
    .desktop-menu,
    .header-right {
        display: none;
    }
    
    /* Mobile: Show toggle button */
    .menu-toggle {
        display: flex;
        order: 3;
    }
    
    /* Mobile: Enable mobile menu */
    .mobile-menu {
        display: block;
    }
    
    /* Adjust container padding */
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .site-logo img {
        max-height: 35px;
    }
    
    .site-logo .tagline {
        font-size: 7px;
    }
    
    .header-left {
        gap: 8px;
    }
    
    .icon-link svg {
        width: 20px;
        height: 20px;
    }
}



/* FRONT PAGE */

/* Hero Section - ΜΕ ΕΙΚΟΝΑ BACKGROUND */
.hero-section {
    padding: 100px 0;
    background-image: url('../assets/images/arxitect.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(254, 247, 236, 0.85);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-text {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    border-bottom: 3px solid #b8956a;
    padding-bottom: 15px;
}

.hero-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 15px;
}

/* Portfolio Section - ΜΕ ΕΙΚΟΝΑ BACKGROUND */
.portfolio-section {
    padding: 100px 0;
    background-image: url('../assets/images/arxitect.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.88);
    z-index: 0;
}

.portfolio-section .container {
    position: relative;
    z-index: 1;
}

.portfolio-section h2 {
    font-size: 42px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Portfolio Box - ΚΕΙΜΕΝΑ ΠΑΝΤΑ ΟΡΑΤΑ */
.portfolio-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.portfolio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

/* ΚΕΙΜΕΝΟ ΠΑΝΤΑ ΠΑΝΩ ΣΤΗΝ ΕΙΚΟΝΑ */
.portfolio-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    color: #fff;
    padding: 35px 30px;
    z-index: 2;
}

.portfolio-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.portfolio-text h4 {
    font-size: 11px;
    color: #b8956a;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.portfolio-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-text {
        padding: 30px 25px;
        margin-top: 30px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .portfolio-section {
        padding: 60px 0;
    }
    
    .portfolio-section h2 {
        font-size: 32px;
    }
    
    .portfolio-text {
        padding: 25px 20px;
    }
    
    .portfolio-text h3 {
        font-size: 18px;
    }
}