/*
Theme Name: Portray Interiors Redesign
Theme URI: https://www.portrayinteriors.com/
Author: GitHub Copilot
Author URI: https://www.portrayinteriors.com/
Description: A custom theme for Portray Interiors inspired by the design of ferrisrafauli.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portray-redesign
*/

/* Global Styles - Inspired by ferrisrafauli.com */
:root {
    --main-bg-color: #ffffff;
    --text-color: #333333;
    --accent-color: #9a8a78;
    --secondary-color: #f5f5f5;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--main-bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 400;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.main-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-menu a:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Portfolio Grid */
.portfolio-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.about-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 0 0 50%;
    padding: 0 15px;
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content {
    flex: 0 0 50%;
    padding: 0 15px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.service-item {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.contact-inner {
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 0 0 40%;
    padding: 0 15px;
}

.contact-form {
    flex: 0 0 60%;
    padding: 0 15px;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.contact-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: var(--font-primary);
    font-size: 1rem;
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.submit-btn {
    background-color: var(--text-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Footer */
.site-footer {
    padding: 60px 0 30px;
    background-color: #222;
    color: #fff;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #aaa;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #aaa;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .portfolio-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-image,
    .about-content {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .contact-info,
    .contact-form {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .main-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        flex: 0 0 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}
