/*
Theme Name: Fan Al Tasmeem - Kitchens & Closets
Theme URI: https://fanaltasmeem.com
Author: Fan Al Tasmeem
Author URI: https://fanaltasmeem.com
Description: A premium WordPress theme for kitchens and closets business with bilingual support (Arabic/English)
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fan-al-tasmeem
Tags: business, portfolio, modern, elegant, responsive, rtl-language-support
*/

/* ========================================
   CUSTOM FONTS
======================================== */

/* Elliot Sans Font Family */
@font-face {
    font-family: 'Elliot Sans';
    src: url('assets/fonts/1771281731121_ElliotSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Elliot Sans';
    src: url('assets/fonts/1771281731122_ElliotSans-RegularItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Elliot Sans';
    src: url('assets/fonts/1771281731118_ElliotSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Elliot Sans';
    src: url('assets/fonts/1771281731119_ElliotSans-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Elliot Sans';
    src: url('assets/fonts/1771281731120_ElliotSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Elliot Sans';
    src: url('assets/fonts/1771281731120_ElliotSans-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Elliot Sans';
    src: url('assets/fonts/1771281731116_ElliotSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Elliot Sans';
    src: url('assets/fonts/1771281731117_ElliotSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Helvetica Neue Arabic */
@font-face {
    font-family: 'Helvetica Neue Arabic';
    src: url('assets/fonts/1771281731123_HelveticaNeueLTArabic-Roman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   GLOBAL STYLES
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Elliot Sans', 'Helvetica Neue Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f1e8;
}

/* RTL Support for Arabic */
body.rtl {
    direction: rtl;
    font-family: 'Helvetica Neue Arabic', 'Elliot Sans', Arial, sans-serif;
}

/* LTR Support for English */
body:not(.rtl) {
    direction: ltr;
}

/* ========================================
   HEADER SECTION
======================================== */

.site-header {
    position: relative;
}

/* Layer 1: Dark Bar with Logos */
.header-logos-bar {
    background: #2c2c2c;
    padding: 35px 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-left {
    z-index: 10;
}

.logo-left img {
    height: 75px;
    width: auto;
    /*filter: brightness(0) invert(1);*/
}

.logo-right {
    z-index: 10;
}

.logo-right img {
    height: 75px;
    width: auto;
    /*filter: brightness(0) invert(1);*/
}

/* RTL Adjustments */
body.rtl .header-logos-bar {
    flex-direction: row-reverse;
}

/* Layer 2: Gradient Bar with Title */
.header-title-bar {
    background-image: url('assets/images/grident.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 320px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.header-title-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title-image img {
    max-width: 85%;
    height: auto;
    display: block;
}

/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
    background: #f5f1e8;
    padding: 100px 20px;
}

.container {
    /*max-width: 1400px;*/
    margin: 0 auto;
	padding: 0px 82px;
}

.about-section h2 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #2c2c2c;
    font-weight: 300;
    font-family: 'Elliot Sans', sans-serif;
}

body.rtl .about-section h2 {
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.about-section p,
.about-section .entry-content {
    font-size: 20px;
    line-height: 1.9;
    color: #2c2c2c;
    text-align: justify;
    /*max-width: 900px;*/
}

/* ========================================
   GALLERY SECTION
======================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 80px;
}

.gallery-item {
    /*aspect-ratio: 1;*/
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ========================================
   LOCATION SECTION
======================================== */

.location-section {
    background: #f5f1e8;
    padding: 100px 20px;
    text-align: center;
}

.location-section h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #2c2c2c;
    font-weight: 300;
    font-family: 'Elliot Sans', sans-serif;
}

body.rtl .location-section h2 {
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.location-section p {
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 50px;
    font-weight: 400;
}

.map-container {
    /*max-width: 1400px;*/
    margin: 0 auto;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6b6b6b 0%, #4a4a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 300;
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact-section {
    background: #f5f1e8;
    padding: 80px 20px 100px;
    text-align: center;
}

.contact-section h2 {
    font-size: 42px;
    margin-bottom: 50px;
    color: #2c2c2c;
    font-weight: 300;
    font-family: 'Elliot Sans', sans-serif;
}

body.rtl .contact-section h2 {
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.social-icon img {
    width: 60px;
    height: 60px;
    filter: none;
    border-radius: 16px;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background: #2c2c2c;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
	
    .header-title-bar h1 {
        font-size: 60px;
    }

    .header-title-bar {
        padding: 80px 30px;
    }

    .about-section h2,
    .location-section h2,
    .contact-section h2 {
        font-size: 36px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
	
	.about-section p, .about-section .entry-content{
		font-size: 16px;
    	line-height: 1.7;
	}
	
	.container{
		padding:0px;
	}
	
    .header-logos-bar {
        padding: 20px;
    }

    .header-title-bar {
        padding: 60px 20px;
    }

    .header-title-bar h1 {
        font-size: 42px;
    }

    .logo-left img {
        height: 45px;
    }

    .logo-right img {
        height: 45px;
    }

    .about-section,
    .location-section,
    .contact-section {
        padding: 60px 20px;
    }

    .about-section h2,
    .location-section h2,
    .contact-section h2 {
        font-size: 32px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 50px;
    }

   /* .social-icon {
        width: 50px;
        height: 50px;
    }*/

   /* .social-icon img {
        width: 24px;
        height: 24px;
    }*/
}

@media (max-width: 480px) {
	.about-section p, .about-section .entry-content{
		font-size: 14px;
    	line-height: 1.5;
	}
	.container{
		padding:0px;
	}
    .header-title-bar {
        padding: 50px 15px;
    }

    .header-title-bar h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .logo-left img {
        height: 40px;
    }

    .logo-right img {
        height: 40px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .about-section h2,
    .location-section h2,
    .contact-section h2 {
        font-size: 28px;
    }
}

/* ========================================
   WORDPRESS CORE STYLES
======================================== */

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* WordPress Admin Bar Fix */
body.admin-bar .site-header {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        margin-top: 46px;
    }
}

/* ========================================
   NAVIGATION MENU
======================================== */

.main-navigation {
    background: #2c2c2c;
    padding: 20px 0;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    transition: color 0.3s ease;
    font-family: 'Elliot Sans', sans-serif;
}

body.rtl .main-navigation a {
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.main-navigation a:hover {
    color: #f5f1e8;
}

/* ========================================
   PAGES & POSTS
======================================== */

.entry-content {
    margin-top: 30px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-title {
    font-family: 'Elliot Sans', sans-serif;
    font-weight: 300;
}

body.rtl .entry-title {
    font-family: 'Helvetica Neue Arabic', sans-serif;
}
