/* ========== SHARED SDC MENU STYLES (ALL PAGES) ========== */

/* --- Blank overlays (spacer area above banner) --- */

div.PC-blank-Cnt {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100vw;
    height: 11vw;
    display: block;
}

img.blank-size {
    width: 100vw;
    height: auto;
}

div.MP-blank-Cnt {
    position: fixed;
    display: none;
}

/* --- Floating bar (desktop & base) --- */

div.Menu-float-bar {
    position: fixed;
    z-index: 13;
    top: 1.75vw;        /* distance from top of page */
    left: 0;
    width: 100vw;
    transform: translateY(-20px);
    display: flex;
    align-items: center;
    background-color: transparent;
  	box-shadow: none;
}

/* --- Logos --- */
div.sdc-logo {
  padding-left: 1.75vw;
  padding-top: 1.0vw;              
  width: 15.5vw;
  height: auto;
}

div.sdc-logo img.sdclogo-size {
    width: 100%;
    height: auto;
    display: block;
}

/* 3. PC Logos semi-transparent with rounded corners & soft shadow */
.sdclogo-size,
.ballyqz-size {
  max-width: 95%;
  height: auto;
  padding: 0.75vw 1.125vw;                /* white padding */
  background-color: rgba(255, 255, 255, 1);   /* semi-transparent white */
  border-radius: 25px;                   /* large radius */
  opacity: 1;
  box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.5);
}

div.sdc-logo:hover .sdclogo-size {
  box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.1);	/* fad shadow  */
}

/* --- Text blocks above banner (per product) --- */
/* Base: hide all, shared styling. 
   Individual product nav CSS will turn the needed one(s) to display:block. */

div.Bally-Quart-Slab,
div.Quartz-Countertop,
div.Granite-Countertop,
div.Construction-Stone,
div.Gardening-Stone,
div.Wooden-Cabinet	{
	display: none;					/* hiden the text */
	margin-left: 4.5vw;               /* space to the right of SDC logo */
	margin-top: 1.35vw;             /* tweak vertical alignment */
	padding: 0.75vw 1.5vw;          /* inner spacing around text */
	font-size: 1.65vw;               /* adjust size to taste */
	color: #303030;					/* Dark Grey Color text on Menu Bar */				
  	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	background-color: #ffff40;		/* Yellow background color for text on menu bar - custom color  */  
	font-weight: bold;
	font-style: italic;
	font-family: "Arial", "Helvetica", "sans-serif";
	line-height: 1.2;	
  	border-radius: 1.1vw;
  	box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.5);
  	transition: background-color 1s ease, transform 1s ease, opacity 1s ease;
}

div.Bally-Quartz-Slab-MP,
div.Quartz-Countertop-MP
div.Granite-Countertop-MP,
div.Construction-Stone-MP,
div.Gardening-Stone-MP,
div.Wooden-Cabinet-MP {
    display: none;                 /* default hidden */
    margin-left: 1vw;
    margin-top: 1.35vw;
    padding: 0.75vw 1.2vw;
    font-size: 1.65vw;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    background-color: #ffff40;     /* yellow badge */
    font-weight: bold;
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    border-radius: 1.1vw;
    box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.5);
}

/* --- Desktop navigation --- */

nav.nav-menu {
    display: flex;
    margin-left: auto;
    padding-right: 6vw;    /* move buttons away from right edge */
    gap: 2vw;
    font-family: Arial, sans-serif;
    font-size: 1vw;
}

/* Buttons (Products, About us, etc.) */

.menu-button,
div.Products-but,
div.About-but {
    padding: 0.3vw 0.3vw;
    margin-top: 1.1vw;
    background-color: #ffff40;      /* yellow buttons */
    color: #303030;                 /* dark text */
    border-radius: 8px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.9vw;
    opacity: 1;
    box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.35);
    cursor: pointer;
    user-select: none;
}

/* Hover states */

.menu-button:hover,
.dropdown:hover .menu-button {
    background-color: #ffff60;      /* brighter yellow */
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.05);
}

/* Dropdown wrapper */

.dropdown {
    position: relative;
}

/* Dropdown content (the <ul>) */

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1rem;
    display: none;
    flex-direction: column;
    z-index: 100;
    list-style: none;
    margin: 0;
}

/* Show dropdown on hover (desktop) */

.dropdown:hover > .dropdown-content {
    display: flex;
}

/* Items inside dropdown */

.dropdown-content li {
    margin: 0;
    padding: 0;
}

.dropdown-content li a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 0.25rem 0;
    white-space: nowrap;
}

/* Hover row + hover text */

.Menu-float-bar .dropdown-content li:hover {
    background-color: #e0e0e0;
}

.Menu-float-bar .dropdown-content li a:hover {
    color: #000;
    text-decoration: none;
}

/* ========== MOBILE LAYOUT ========== */

@media only screen and (max-width: 580px) {

    /* 1. Switch blank images: hide PC, show mobile */

    div.PC-blank-Cnt {
        display: none;
    }

    div.MP-blank-Cnt {
        position: fixed;
        z-index: 10;
        top: 0;
        left: 0;
        width: 100vw;
        height: 16vw;     /* adjust to your mobile blank image */
        display: block;
    }
	  img.blank-size {
    	width: 100vw;
    	height: auto;
  	}
    /* 2. Floating bar on mobile */

    div.Menu-float-bar {
    	position: fixed;
    	z-index: 13;
        top: 0;
        left: 0;
        width: 100vw;
        display: flex;
        align-items: center;
	    gap: 1.6vw;             /* space between logo / text / buttons */
        justify-content: space-between;
	    padding: 1.5vw 1.75vw;     /* inner padding around content */
        background-color: transparent;
        box-shadow: none;
    }
    /* 3. Logos on mobile */

    div.sdc-logo {
        padding: 0;
        width: 28vw;
        height: auto;
    }

    div.bally-qz-logo {
        padding: 0;
        width: 20.6vw;
        height: auto;
        display: block;
    }

  /* Mobile Logo style: slightly smaller radius & shadow for mobile */
  .sdclogo-size,
  .ballyqz-size {
    max-width: 100%;
    height: auto;
    padding: 0.8vw 1.15vw;                       /* white padding */
    background-color: rgba(255, 255, 255, .8);
    border-radius: 7px;                      /* softer on small screens */
    opacity: 1;
    box-shadow: 0 0.4vw 0.6vw rgba(0, 0, 0, .25);
  }

    /* 4. Hide PC text blocks; mobile text blocks can be controlled per product */

    div.Bally-Quartz-Slab,
    div.Quartz-Countertop,
    div.Granite-Countertop,
    div.Construction-Stone,
    div.Gardening-Stone,
    div.Wooden-Cabinet {
	display:block:none;
	margin-left: 2vw;               /* space to the right of SDC logo */
	margin-top: 1.35vw;             /* tweak vertical alignment */
	padding: 0.75vw 1.5vw;          /* inner spacing around text */
	font-size: 1.65vw;               /* adjust size to taste */
	color: #ffffff;					/* Dark Grey Color text on Menu Bar */				
  	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	background-color: #ffff40;		/* Yellow background color for text on menu bar - custom color  */  
	font-weight: bold;
	font-style: italic;
	font-family: "Arial", "Helvetica", "sans-serif";
	line-height: 1.2;	
  	border-radius: 1.1vw;
  	box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.5);
  	transition: background-color 1s ease, transform 1s ease, opacity 1s ease;
    }

    /* allow *-MP versions to be controlled per product CSS */
    div.Bally-Quartz-Slab-MP,
    div.Quartz-Countertop-MP,
    div.Granite-Countertop-MP,
    div.Construction-Stone-MP,
    div.Gardening-Stone-MP,
    div.Wooden-Cabinet-MP {
	display:none;					/* default turn off */
	margin-left: 1.5vw;
    margin-top: 0;
    padding: 0.5vw 1.0vw;
    font-size: 2.5vw;                           /* readable on mobile */
    color: black;							/*  Black colors buttons text - Custom */
    background-color: #ffff40;   			/*  Yellow buttons- background color - Custom */
    font-weight: bold;
    font-style: italic;
    font-family: "Arial", "Helvetica", "sans-serif";
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, .8);
    border-radius: 1.1vw;
    box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, .5);
    transition: background-color 1s ease, transform 1s ease, opacity 1s ease;
    }

    /* 5. Mobile nav: stack buttons tighter */

    nav.nav-menu {
        padding-right: 3vw;
        gap: 1.5vw;
        font-size: 3vw;
    }

    .menu-button,
    div.Products-but,
    div.About-but {
        margin-top: 0;
        padding: 1.2vw 3vw;
        font-size: 3vw;
        box-shadow: 0 0.4vw 0.8vw rgba(0, 0, 0, 0.25);
    }

    /* Dropdowns still open on tap-by-hover behavior for most mobile browsers */

    .dropdown-content {
        min-width: 52vw;
        padding: 0.5rem 0.75rem;
    }
}
