/* ========================================
   DENTAL CLINIC WEBSITE - MODERN STYLES
   ======================================== */

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === CONTAINER & LAYOUT === */
.diyw {
    max-width: 100%;
    margin: 0 auto;
}

.diywebContainer {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.diywebLiveArea {
    width: 100%;
}

.diywebGutter {
    padding: 0 20px;
}

/* === EMOTION HEADER (TOP BANNER) === */
.diywebEmotionHeader {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 400px;
    overflow: hidden;
}

#emotion-header {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

#emotion-header img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#emotion-header-logo {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 120px !important;
    height: auto !important;
    border: 4px solid #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

#emotion-header-title-bg {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#emotion-header-title {
    position: absolute;
    padding: 30px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: bold;
    color: #051972;
    text-align: center;
    z-index: 5;
}

/* === NAVIGATION === */
.diywebNav {
    background: linear-gradient(to right, #051972, #0a2fb5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.webnavigation {
    display: block;
}

.mainNav1 {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.mainNav1 > li {
    position: relative;
}

.mainNav1 > li > a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.mainNav1 > li > a:hover,
.mainNav1 > li > a.current {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #73c606;
}

/* === MOBILE NAVIGATION === */
.diyfeMobileNav {
    display: none;
    background: #051972;
}

#diyfeMobileNav {
    position: relative;
}

#diyfeMobileNav > a {
    display: block;
    padding: 15px 20px;
    background: #051972;
    color: #fff;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

#diyfeMobileNav > a::after {
    content: '☰';
    float: right;
    font-size: 24px;
}

#diyfeMobileNav.active > a::after {
    content: '✕';
}

#diyfeMobileNav ul {
    display: none;
    list-style: none;
    background: #0a2fb5;
}

#diyfeMobileNav.active ul {
    display: block;
}

#diyfeMobileNav ul li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#diyfeMobileNav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.diyfeDropDownSubOpener {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    float: right;
}

.diyfeDropDownSubList {
    display: none;
}

.mainNav2 {
    list-style: none;
    background: rgba(0, 0, 0, 0.1);
}

.mainNav2 li a {
    padding-left: 40px !important;
}

/* === MAIN CONTENT AREA === */
.diywebContent {
    padding: 40px 0;
}

.diywebMain {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

#content_area {
    flex: 1;
    min-width: 0;
    padding: 20px;
}

/* === MATRIX BLOCKS === */
.sortable-matrix {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.diyfeLiveArea {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* === HEADINGS === */
h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: bold;
}

h1 span {
    display: inline-block;
}

/* === TEXT STYLES === */
p {
    margin-bottom: 15px;
    line-height: 1.8;
}

strong {
    font-weight: bold;
    color: #051972;
}

/* === IMAGES === */
.imageSubtitle {
    margin: 20px 0;
}

.align-container {
    display: flex;
    margin: 0 auto;
}

.align-center {
    justify-content: center;
    text-align: center;
}

.align-left {
    justify-content: flex-start;
}

.imagewrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.imagewrapper img {
    width: 100%;
    height: auto;
}

.caption {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* === SIDEBAR === */
.diywebSecondary {
    width: 100%;
    max-width: 350px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.diywebSidebar {
    padding: 20px;
}

.diywebSidebar .diyfeLiveArea {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #73c606;
}

.diywebSidebar p {
    font-size: 14px;
    margin-bottom: 10px;
}

.diywebSidebar strong {
    color: #051972;
    font-size: 16px;
}

/* === DOWNLOADS === */
.clearover {
    overflow: hidden;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.clearover:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.leftDownload {
    flex-shrink: 0;
}

.leftDownload img {
    width: 40px;
    height: 40px;
}

.rightDownload {
    flex: 1;
}

.rightDownload a {
    color: #051972;
    font-weight: bold;
    text-decoration: underline;
}

.rightDownload a:hover {
    color: #73c606;
}

/* === SOCIAL BOOKMARKS === */
.remote-social-networks-container {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.remote-social-networks-container p {
    font-weight: bold;
    margin-bottom: 15px;
    color: #051972;
}

.remote-social-networks {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.remote-social-networks-link {
    display: block;
    width: 40px;
    height: 40px;
    background-size: cover !important;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remote-social-networks-link:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* === FOOTER === */
.diywebFooter {
    background: #051972;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
}

#contentfooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.leftrow,
.rightrow {
    color: #fff;
}

.leftrow a,
.rightrow a {
    color: #fff;
    margin: 0 10px;
}

.leftrow a:hover,
.rightrow a:hover {
    color: #73c606;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

/* === MARQUEE (Alert Banner) === */
marquee {
    display: block;
    padding: 15px;
    background: #dc3545;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin: 20px 0;
}

/* === SPECIAL COLORS === */
.diyfeLiveArea span[style*="color:#73c606"],
.diyfeLiveArea span[style*="color: #73c606"] {
    color: #73c606 !important;
}

.diyfeLiveArea span[style*="color:#f957fb"],
.diyfeLiveArea span[style*="color: #f957fb"] {
    color: #051972 !important;
}

.diyfeLiveArea span[style*="color:#fd040a"],
.diyfeLiveArea span[style*="color: #fd040a"],
.diyfeLiveArea span[style*="color: #fd040a"] {
    color: #dc3545 !important;
}

.diyfeLiveArea span[style*="color:#02fd02"],
.diyfeLiveArea span[style*="color: #02fd02"] {
    color: #28a745 !important;
}

/* === HR === */
.hr {
    height: 2px;
    background: linear-gradient(to right, transparent, #73c606, transparent);
    margin: 20px 0;
    border: none;
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 1024px) {
    .diywebMain {
        flex-direction: column;
    }
    
    .diywebSecondary {
        max-width: 100%;
    }
    
    .mainNav1 {
        font-size: 13px;
    }
    
    .mainNav1 > li > a {
        padding: 12px 15px;
    }
    
    #emotion-header-title {
        font-size: 22px;
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* Hide desktop navigation */
    .diywebNav.diywebNav123 {
        display: none;
    }
    
    /* Show mobile navigation */
    .diyfeMobileNav {
        display: block;
    }
    
    .diywebGutter {
        padding: 0 15px;
    }
    
    #emotion-header-logo {
        width: 80px !important;
        left: 10px;
        top: 10px;
    }
    
    #emotion-header-title {
        font-size: 18px;
        padding: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .diywebContent {
        padding: 20px 0;
    }
    
    #content_area {
        padding: 10px;
    }
    
    .diyfeLiveArea {
        padding: 15px;
    }
    
    #contentfooter {
        flex-direction: column;
        text-align: center;
    }
    
    .leftrow,
    .rightrow {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    #emotion-header-title {
        font-size: 16px;
        padding: 10px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .mainNav1 > li > a {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    marquee {
        font-size: 12px;
        padding: 10px;
    }
}

/* === ACCESSIBILITY === */
a:focus,
button:focus {
    outline: 2px solid #73c606;
    outline-offset: 2px;
}

/* === PRINT STYLES === */
@media print {
    .diywebNav,
    .diyfeMobileNav,
    .diywebFooter,
    .remote-social-networks-container {
        display: none;
    }
}

/* === UTILITIES === */
.hidden {
    display: none !important;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
